No /sbin/init when deriving m7y own image
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb
IMAGE_INSTALL += "omapdrmtest"I have stored it at meta-ti/recipes-graphics/images/core-image-x11-drmtest.bb for now, and am building using:
bitbake -k core-image-x11-drmtest
If I comment out the IMAGE_INSTALL line then everything is fine, but if I leave it in then I am missing files in the filesystem, including /sbin/init.
Can some one please let me know what I am doing wrong?
Thanks in advance,
Hervé
Quoted 5 lines · Herv? Fache
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb IMAGE_INSTALL += "omapdrmtest"
Can you try adding to CORE_IMAGE_EXTRA_INSTALL instead of IMAGE_INSTALL?
Signature · 1 line
Denys
Quoted 17 lines
I have stored it at meta-ti/recipes-graphics/images/core-image-x11-drmtest.bb for now, and am building using:
bitbake -k core-image-x11-drmtestIf I comment out the
IMAGE_INSTALLline then everything is fine, but if I leave it in then I am missing files in the filesystem, including/sbin/init.Can some one please let me know what I am doing wrong?
Thanks in advance,
Herv?
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 8 lines · Denys Dmytriyenko
Quoted 5 lines · Herv? Fache
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb IMAGE_INSTALL += "omapdrmtest"Can you try adding to
CORE_IMAGE_EXTRA_INSTALLinstead ofIMAGE_INSTALL?
Thanks a lot, that did it!
Quoted 10 lines · Herv? Fache
Quoted 8 lines · Denys Dmytriyenko
Quoted 5 lines · Herv? Fache
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb IMAGE_INSTALL += "omapdrmtest"Can you try adding to
CORE_IMAGE_EXTRA_INSTALLinstead ofIMAGE_INSTALL?Thanks a lot, that did it!
I'm glad it worked for you.
But I'm still baffled why IMAGE_INSTALL didn't work. The only 2 reasons I can see for that are:
1. If you made a typo and used '=' instead of '+=', which would re-assign IMAGE_INSTALL, instead of appending to it, losing its current value.
2. Or if you tried to append to IMAGE_INSTALL before loading the base image recipe with 'require' (effectively, swapping the 2 lines of your recipe) - in that case you'd append to an empty IMAGE_INSTALL first and inside the core-image class it uses conditional assignment to pre-set that variable with system defaults. But since you already assigned to it early on, it won't be populated with system defaults...
Other than that, the example you showed above seems to work for me here...
Signature · 1 line
Denys
Quoted 8 lines · Denys Dmytriyenko
Quoted 7 lines · Herv? Fache
Quoted 6 lines · Denys Dmytriyenko
Quoted 5 lines · Herv? Fache
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb IMAGE_INSTALL += "omapdrmtest"
Quoted 8 lines
Quoted 3 lines
Quoted 2 lines
Can you try adding to
CORE_IMAGE_EXTRA_INSTALLinstead ofIMAGE_INSTALL?Thanks a lot, that did it!
I'm glad it worked for you.
But I'm still baffled why
IMAGE_INSTALLdidn't work. The only 2 reasons I can see for that are:
Most likely case is a missing separator. Since += adds no space, omapdrmtest is being glued to whatever is already in that list, making the last two packages go missing. I'll bet that this also works:
IMAGE_INSTALL += " omapdrmtest "
I always add those spaces since they are free :-)
Quoted 13 lines
1. If you made a typo and used '=' instead of '+=', which would re-assign
IMAGE_INSTALL, instead of appending to it, losing its current value.2. Or if you tried to append to
IMAGE_INSTALLbefore loading the base image recipe with 'require' (effectively, swapping the 2 lines of your recipe) - in that case you'd append to an emptyIMAGE_INSTALLfirst and inside the core-image class it uses conditional assignment to pre-set that variable with system defaults. But since you already assigned to it early on, it won't be populated with system defaults...Other than that, the example you showed above seems to work for me here...
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 18 lines · Gary Thomas
Quoted 8 lines · Denys Dmytriyenko
Quoted 7 lines · Herv? Fache
Quoted 6 lines · Denys Dmytriyenko
Quoted 5 lines · Herv? Fache
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb IMAGE_INSTALL += "omapdrmtest"Quoted 8 lines
Quoted 3 lines
Quoted 2 lines
Can you try adding to
CORE_IMAGE_EXTRA_INSTALLinstead ofIMAGE_INSTALL?Thanks a lot, that did it!
I'm glad it worked for you.
But I'm still baffled why
IMAGE_INSTALLdidn't work. The only 2 reasons I can see for that are:
Quoted 6 lines
Most likely case is a missing separator. Since += adds no space, omapdrmtest is being glued to whatever is already in that list, making the last two packages go missing. I'll bet that this also works:
IMAGE_INSTALL+= " omapdrmtest "I always add those spaces since they are free :-)
That's not exactly correct. You are mistaking += and =+ with .= and =. :)
+= and =+ append and prepend with spaces, while .= and =. append and prepend without spaces:
http://docs.openembedded.org/bitbake/html/ch02.html#id397587
Plus, there's plenty of space already in IMAGE_INSTALL, as it is handled as a multi-line assignment with plenty of indentation inside core-image class...
Signature · 1 line
Denys
Quoted 22 lines
Quoted 12 lines
1. If you made a typo and used '=' instead of '+=', which would re-assign
IMAGE_INSTALL, instead of appending to it, losing its current value.2. Or if you tried to append to
IMAGE_INSTALLbefore loading the base image recipe with 'require' (effectively, swapping the 2 lines of your recipe) - in that case you'd append to an emptyIMAGE_INSTALLfirst and inside the core-image class it uses conditional assignment to pre-set that variable with system defaults. But since you already assigned to it early on, it won't be populated with system defaults...Other than that, the example you showed above seems to work for me here...
Signature · 8 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Hello,
Quoted 19 lines · Denys Dmytriyenko
Quoted 10 lines · Herv? Fache
Quoted 8 lines · Denys Dmytriyenko
Quoted 5 lines · Herv? Fache
Hi guys,
I am new to Poky and have created the following recipe:
require recipes-graphics/images/core-image-x11.bb IMAGE_INSTALL += "omapdrmtest"Can you try adding to
CORE_IMAGE_EXTRA_INSTALLinstead ofIMAGE_INSTALL?Thanks a lot, that did it!
I'm glad it worked for you.
But I'm still baffled why
IMAGE_INSTALLdidn't work. The only 2 reasons I can see for that are:1. If you made a typo and used '=' instead of '+=', which would re-assign
IMAGE_INSTALL, instead of appending to it, losing its current value.
Quoted 8 lines
2. Or if you tried to append to
IMAGE_INSTALLbefore loading the base image recipe with 'require' (effectively, swapping the 2 lines of your recipe) - in that case you'd append to an emptyIMAGE_INSTALLfirst and inside the core-image class it uses conditional assignment to pre-set that variable with system defaults. But since you already assigned to it early on, it won't be populated with system defaults...Other than that, the example you showed above seems to work for me here...
Well, I just copied and pasted into the e-mail, so what you see it what I had :-) And FWIW I also tried to add spaces everywhere to no avail!
Hervé