Skip to contentSkip to conversation

initramfs image with secondary cramfs inside

DISCUSSION Roman I Khimov 1 participant 1 message Feb 9, 2010

lore
Share & tools
lore
#0 lore raw

В сообщении от Вторник 09 февраля 2010 03:37:21 автор John Van Horne (vanhorj) написал:

Quoted 5 lines

My approach to this was to have a recipe for the cramfs image and a recipe for the initramfs image, and to list the cramfs image as a dependency of the initramfs recipe. Both of these recipes inherit the image class. However, running bitbake on the initramfs recipe fails because the cramfs do_rootfs and do_deploy_to tasks have not run.

See this:
http://article.gmane.org/gmane.comp.handhelds.openembedded/22164

and this (starting with "23 Jul 00:24 Richard Purdie"):
http://thread.gmane.org/gmane.comp.handhelds.openembedded/25382

the first one was reverted after discussion in second thread so, in short, you have to do something like this in your initramfs:

do_rootfs[depends] += "cramfs_image:do_rootfs"

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3