Re: [yocto] questions about writing a recipe

2012-11-15 Thread Joshua Immanuel
ecipe B. But, you should 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 w

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

2012-11-05 Thread Joshua Immanuel
f anonymous python function happens 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

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 > >

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

2012-11-01 Thread Joshua Immanuel
But, the task doesn't gets executed automatically after the do_compile task. Is there anything else that should be done? -- 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] Multiple partitions in drive image

2012-10-15 Thread Joshua Immanuel
h it would be useful. My 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

Re: [yocto] Multiple partitions in drive image

2012-10-15 Thread Joshua Immanuel
way we can generate a custom image with the required 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

Re: [yocto] default variables in a python task/function

2012-06-24 Thread Joshua Immanuel
inline python snippets. > As such, it needs to be passed in by the caller. > > E.g. > > def foo(d): > # do something with d > > FOO = "${@foo(d)}" Thanks for your detailed explanation. IMHO, this information should be added in the main documentati

[yocto] default variables in a python task/function

2012-06-20 Thread Joshua Immanuel
e of DataSmart (i.e the variable 'd') in bbclass differ from that of the recipe which inherited that class? 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 t

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

2012-05-20 Thread Joshua Immanuel
I am missing something trivial. Please enlighten me. Regards -- 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-19 Thread Joshua Immanuel
ss machines. -- 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
shouldn't use the laptop for build purposes. Moreover, every time I build the image in yocto, 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 digitall

Re: [yocto] Build time data

2012-04-12 Thread Joshua Immanuel
the 3.0.0-16-server 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 digitall

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

2012-04-10 Thread Joshua Immanuel
on" blob that prints at the > start of the build - I'm mostly interested in your commit IDs for. I 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 HiPr

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

Re: [yocto] syslinux filesystem size limitation

2012-03-21 Thread Joshua Immanuel
a.yoctoproject.org/show_bug.cgi?id=2138 I guess it would be more appropriate there. Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [yocto] syslinux filesystem size limitation

2012-03-19 Thread Joshua Immanuel
if possible. Regards -- 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
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
n other image which also depends 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. Regard

[yocto] missing mouse cursor in X11

2012-03-08 Thread Joshua Immanuel
used Should I do/install anything else in order to get a visible mouse cursor? 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] Documentation: Default FILESDIR

2012-03-05 Thread Joshua Immanuel
recipe in order to override the default xorg.conf, FILESEXTRAPATHS_prepend doesn't seem to have an effect. As I am not adding 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

Re: [yocto] initramfs support in Yocto

2012-03-04 Thread Joshua Immanuel
d on machine 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 si

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

2012-03-01 Thread Joshua Immanuel
ss greps 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 -- Jo

Re: [yocto] missing kernel in rootfs image

2012-02-24 Thread Joshua Immanuel
o blame. I guess, the only way to rebuild the tasks for custom-image is to remove tmp and sstate-cache directories and build again. $ bitbake -c clean task-* $ bitbake -c clean custom-image The above commands doesn't completely re-build the tasks listed for cust

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 i

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

2012-02-24 Thread Joshua Immanuel
recipes? 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] 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

[yocto] missing kernel in rootfs image

2012-02-21 Thread Joshua Immanuel
rootfs image does not contain the kernel (in /boot directory). My machine configuration file has the following kernel specific lines PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto ?= "3.0%" Am I missing something? Regar

Re: [yocto] how do I contribute to yocto

2012-02-20 Thread Joshua Immanuel
aintain them 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 sign

Re: [yocto] how do I contribute to yocto

2012-02-20 Thread Joshua Immanuel
tire layer won't be useful 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 Li

[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 signatur

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

2012-02-17 Thread Joshua Immanuel
27;re bbappending wrong recipe, 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 i

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

2012-02-17 Thread Joshua Immanuel
> | ERROR: Function '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 -- Josh

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

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

2012-02-15 Thread Joshua Immanuel
about skipping QA tests (in insane.bbclass). > for package in packages.split(): > skip = (bb.data.getVar('INSANE_SKIP_' + package, d, True) or "").split() > if skip: > bb.note("Package %s skipping QA tests: %s" % (package, str(skip))) > ...

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

2012-02-15 Thread Joshua Immanuel
rect package > 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

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?

[yocto] RDEPENDS fails to find an existing package

2012-02-14 Thread Joshua Immanuel
. Any pointers 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@yoctopr

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

2012-02-08 Thread Joshua Immanuel
this patch is for them. 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] 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 > bo

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

2012-02-08 Thread Joshua Immanuel
patch 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 $bo

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

2012-02-03 Thread Joshua Immanuel
oo doesn't look like a piece of cake. Am I trying something too 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 par

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 pref

Re: [yocto] creating global variables in a recipes

2012-02-02 Thread Joshua Immanuel
. Please bear with my ignorance. What do you mean by "generating them in configuration 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:/

Re: [yocto] creating global variables in a recipes

2012-02-01 Thread Joshua Immanuel
the fstab file) and read them back in image_types class. But this process looks messy. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ 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-file

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

2012-02-01 Thread Joshua Immanuel
-image-minimal'. 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-01 Thread Joshua Immanuel
ed 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 ___ yoct

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" > &g

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

2012-01-30 Thread Joshua Immanuel
le defined here to be available in the forced task. 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] New recipes not installing in core-image-minimal

2012-01-30 Thread Joshua Immanuel
n's suggestion. As you 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] [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-27 Thread Joshua Immanuel
PN}-${PV}-${PR}/etc/fstab 2. core2-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 ht

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
mage I try to override the image_types.bbclass and using 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 De

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
that setting 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 maili

[yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
instead 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 me