Skip to contentSkip to conversation

How do I "remove" my application from ROOTFS and add it to INITRD ?

DISCUSSION Lars Larsen 1 participant 1 message Oct 31, 2016

lore
Share & tools
lore
#0 lore raw

I have a recipie that builds and work fine.

It producue a rootfs.img and an initrd, all nicely wrapped in bootable ISO and hdd images

It all ends in rootfs.img , but I would like it to end in initrd.
(this would makes my update procedure towards costumers simpler, since we only have handle distribution of the initrd file)

My main recipe uses IMAGE__INSTALL to add my application - that contains a bunch of recipes for compiled modules, and a directory structure with a number of scripts.

So after analyzing bootimg.bbclass I can see, that I need to add a cpio.gz image of my application to get the INITRD variable, and remove it from ROOTFS

But how do I achieve this, in a compatible manor ?

-Lars

Signature · 9 lines
Best Regards
Lars Larsen

F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
www.visionweeding.com