Re: [yocto] questions about writing a recipe

2012-11-15 Thread Joshua Immanuel
make sure that the recipe B gets executed after recipe A. Also remember, if you have specified INHERIT = rm_work in your local.conf then the work dir will be removed after the tasks of a package are completed. IMHO, depending on files from another package's workdir is a bad idea. -- Joshua

[yocto] forcing to run a task that has been disabled by image.bbclass

2012-11-05 Thread Joshua Immanuel
before the inheritance. Is there any other alternative other than extending the image.bbclass in my layer? Please guide me. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] how to add a task via anonymous python function

2012-11-02 Thread Joshua Immanuel
Hello, On Thu, 2012-11-01 at 13:16 +0530, Joshua Immanuel wrote: I want to do the following in anonymous python function addtask some_task after do_compile before do_install Getting some clue from externalsrc.bbclass I did the following python __anonymous

Re: [yocto] Multiple partitions in drive image

2012-10-16 Thread Joshua Immanuel
layer contains parts which I cannot put on the Internet. Give me a few days I'll split out those parts, make an usable example and put them up somewhere. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] Multiple partitions in drive image

2012-10-15 Thread Joshua Immanuel
partitions. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] default variables in a python task/function

2012-06-20 Thread Joshua Immanuel
? In bitbake manual, example of global python functions are shown as accepting 'bb' and 'd' variables as its parameters. Can someone explain the right way of doing this. Thank you -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally

[yocto] python-pygobject fails to find python-dev package

2012-05-20 Thread Joshua Immanuel
+= python-dev bitbake complains for Missing or unbuildable dependency chain. Specifying DEPENDS as just python doesn't solve the missing Python header error for python-pygobject. How do I address this issue? Maybe I am missing something trivial. Please enlighten me. Regards -- Joshua

Re: [yocto] Build time data

2012-04-19 Thread Joshua Immanuel
. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Build time data

2012-04-12 Thread Joshua Immanuel
kernel. I can build core-image-minimal in 30 minutes and core-image-sato in 50 minutes from scratch. wow. Can I get a shell? :D -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] Build time data

2012-04-12 Thread Joshua Immanuel
, temperature peeks to 87 degree Celsius. Hoping that my HDD should not die. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] build error on core-image-sato-sdk

2012-04-10 Thread Joshua Immanuel
am familiar with this error ;) I have mentioned this in the comments section of bug #2138. https://bugzilla.yoctoproject.org/show_bug.cgi?id=2138#c26 Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message

Re: [yocto] syslinux filesystem size limitation

2012-03-26 Thread Joshua Immanuel
Hello, On Thu, 2012-03-15 at 18:37 +0530, Joshua Immanuel wrote: In yocto I find that the live image (hddimg) is generated using syslinux (in bootimg.bbclass). But, I find there has been no check enforced to find whether the filesystem size exceeds 1 GB. The image will not boot

Re: [yocto] syslinux filesystem size limitation

2012-03-19 Thread Joshua Immanuel
-- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] syslinux filesystem size limitation

2012-03-15 Thread Joshua Immanuel
in syslinux. How to address this issue? Is there any other alternate solution for this? Should I file a bug report for this? Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

[yocto] overriding the bbappend behavior of recipes

2012-03-14 Thread Joshua Immanuel
on it (due to sstate). It just copies the already built package's files to sysroot. I guess, the only possible hack to do this would be to add a IMAGE_PREPROCESS_COMMAND in the image recipe. Is there any other better way of doing this? Please guide me. Regards -- Joshua Immanuel HiPro IT Solutions

[yocto] missing mouse cursor in X11

2012-03-08 Thread Joshua Immanuel
-- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Documentation: Default FILESDIR

2012-03-05 Thread Joshua Immanuel
an extra file but trying to replace the default file of the recipe, should I manipulate the FILESPATH variable? I am asking this because Paul mentioned that we should not modify the FILESPATH directly. Please guide me. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http

Re: [yocto] initramfs support in Yocto

2012-03-04 Thread Joshua Immanuel
configuration. It can be cpio, cpio.gz, cpio.xz or cpio.lzma This is what I inferred from the existing code. Am I completely in the wrong direction? Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message

Re: [yocto] do_qa_cofigure error message: host include and/or library paths while determining system capabilities

2012-03-01 Thread Joshua Immanuel
the config.log file for the strings like 'CROSS COMPILE Badness:', 'is unsafe for cross-compilation' to check for host contamination. If it finds any, it throws an error. So, you can check for yourself the config.log file and find the culprit :) Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private

Re: [yocto] missing kernel in rootfs image

2012-02-24 Thread Joshua Immanuel
On Tue, 2012-02-21 at 15:10 +0530, Joshua Immanuel wrote: While trying to generate my custom rootfs image, I added the linux_yocto_3.0.bbappend file to my custom layer and specified the KMACHINE, SRCREV and COMPATIBLE_MACHINE variables. I find the generated kernel image (bzImage

[yocto] how do I find the filename of the kernel

2012-02-24 Thread Joshua Immanuel
-- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] how do I find the filename of the kernel

2012-02-24 Thread Joshua Immanuel
Hello all, On Fri, 2012-02-24 at 14:56 +0530, Joshua Immanuel wrote: I find in kernel.bbclass that the kernel file name is constructed from ${KERNEL_IMAGETYPE}-${KERNEL_VERSION}. And the KERNEL_VERSION is filled from the 'get_kernelversion' method in linux-kernel-base.bbclass, which

[yocto] how do I contribute to yocto

2012-02-20 Thread Joshua Immanuel
, how do I contribute these new recipes? Read the wiki https://wiki.yoctoproject.org/wiki/Contribution_Guidelines it doesn't mention about the branch to use etc. Can someone guide me. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc

Re: [yocto] how do I contribute to yocto

2012-02-20 Thread Joshua Immanuel
to everyone, as it contains recipes for my user space applications too. But, there are certain recipes for some useful packages which are not available in edison and master branch. So, how to go about it? Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in

Re: [yocto] how do I contribute to yocto

2012-02-20 Thread Joshua Immanuel
and add your layer to above index Ok. Will see whether any layer has the recipes that I wrote, if not I will host them separately. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

[yocto] unable to add a new file to base-files recipe via bbappend

2012-02-17 Thread Joshua Immanuel
'Fetcher failure for URL: 'file://xorg.conf'. Unable to fetch URL file://xorg.conf from any source.' failed I guess, the method that I am following here to add a new source file via the bbappend is wrong. Please guide me. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http

Re: [yocto] unable to add a new file to base-files recipe via bbappend

2012-02-17 Thread Joshua Immanuel
, xorg.conf belongs to meta/recipes-graphics/xorg-xserver/xserver-xf86-config/ Oops. Will bbappend to the above mentioned recipe. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
Hello all, On Wed, 2012-02-15 at 12:53 +0530, Joshua Immanuel wrote: While building the custom-image bitbake complains | error: Failed dependencies: | libharu is needed by task-custom-hdb-1.0-r3.ekino How do I fix this issue? On further digging

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
with the help of FILES_${PN} = libharu.so etc. You were right. Thanks for the tip. Adding FILES_${PN} = ${libdir}/lib*.so made bitbake to create an non-empty libharu package thereby fixing the problem. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in

Re: [yocto] RDEPENDS fails to find an existing package

2012-02-15 Thread Joshua Immanuel
Hello, On Thu, 2012-02-16 at 10:26 +0530, Joshua Immanuel wrote: Can you please explain little bit more on what INSANE_SKIP_${PN} = dev-so does. I don't find any documentation on it. I guess, it suppresses the warnings stating that an non-dev package contains symlink. This is the warning I

[yocto] RDEPENDS fails to find an existing package

2012-02-14 Thread Joshua Immanuel
in this regard would be very helpful Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https

[yocto] sysroot and boost.m4 library search path problem

2012-02-08 Thread Joshua Immanuel
to boost.m4 maintainer using '$with-sysroot' variable. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in diff --git a/boost.m4 b/boost.m4 index b1cb1b1..4f1a0d1 100644 --- a/boost.m4 +++ b/boost.m4 @@ -374,13 +374,27 @@ for boost_rtopt_ in $boost_rtopt '' -d

Re: [yocto] sysroot and boost.m4 library search path problem

2012-02-08 Thread Joshua Immanuel
Hello all, On Wed, 2012-02-08 at 18:19 +0530, Joshua Immanuel wrote: To address this problem, I've written a patch for boost.m4 specifically for yocto. I believe this will be helpful to others who are using boost libraries. I guess, I have to send a separate patch to boost.m4 maintainer using

Re: [yocto] sysroot and boost.m4 library search path problem

2012-02-08 Thread Joshua Immanuel
. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] forcing a task to run while building an image

2012-02-03 Thread Joshua Immanuel
Hello, On Wed, 2012-02-01 at 17:12 +0530, Joshua Immanuel wrote: My use-case is such that I need to run a particular task irrespective of the changes in that recipe. By adding the task to do_bootimg[depends] I was able to accomplish that. (I am not sure whether it is the preferred way

Re: [yocto] forcing a task to run while building an image

2012-02-03 Thread Joshua Immanuel
weird? Sorry for bombarding the list over and over again with the same issue. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing

Re: [yocto] creating global variables in a recipes

2012-02-02 Thread Joshua Immanuel
metadata? In which file should I do that? At present as an ugly hack I exported the uuids in the build/conf/local.conf. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] forcing a task to run while building an image

2012-02-01 Thread Joshua Immanuel
to the do_bootimg[depends]. Thats the part that I've to figure out (need help). Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list

Re: [yocto] forcing a task to run while building an image

2012-02-01 Thread Joshua Immanuel
'. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] creating global variables in a recipes

2012-02-01 Thread Joshua Immanuel
Hello all, On Wed, 2012-02-01 at 12:07 +0530, Joshua Immanuel wrote: At present in my custom image recipe I've added the following lines SOME_VARIABLE = Blah do_bootimg[depends] += base-files:do_install But the contents of ${SOME_VARIABLE

Re: [yocto] creating global variables in a recipes

2012-02-01 Thread Joshua Immanuel
. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] forcing a task to run while building an image

2012-01-31 Thread Joshua Immanuel
Hello, On Tue, 2012-01-31 at 12:40 +0530, Joshua Immanuel wrote: At present in my custom image recipe I've added the following lines SOME_VARIABLE = Blah do_bootimg[depends] += base-files:do_install But the contents of ${SOME_VARIABLE} is not available

[yocto] [PATCH] typo mistake in ix86-common file

2012-01-30 Thread Joshua Immanuel
} ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} ac_cv_sizeof_unsigned_char_p=${ac_cv_sizeof_unsigned_char_p=4} ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] New recipes not installing in core-image-minimal

2012-01-30 Thread Joshua Immanuel
suggested I'll use this approach instead of creating a new package. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto

Re: [yocto] New recipes not installing in core-image-minimal

2012-01-27 Thread Joshua Immanuel
-poky-linux/${PN}-${PV}-${PR}/packages-split/${PN}/etc/fstab but not in the final rootfs image. May be I am missing something trivial. Eager to know the solution on this thread. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description

[yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
of the one in my custom layer. How do I force the bitbake to use the modified class file in the custom layer? Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
BBFILE_PRIORITY higher for my layer would be sufficient. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
tune2fs I set the uuid for the generated images. Is there any other better way of doing this? Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part