All of lore.kernel.org
 help / color / mirror / Atom feed
* Per image customizations
@ 2016-05-31 16:05 Diego
  2016-05-31 23:57 ` Paul Eggleton
  0 siblings, 1 reply; 22+ messages in thread
From: Diego @ 2016-05-31 16:05 UTC (permalink / raw)
  To: yocto

Hi guys,

I've asked this question on IRC, but haven't received complete enough replies, 
so posting here.

I have my own layer with my recipes and customizations. In my layer I have two 
images, one which is the "regular OS" that runs the product application, and 
one which is the "flash OS", a minimal ramdisk OS that flashes the disks. I want 
the two images to have different fstab and inittab files: what is the correct 
way to do that? I know how to handle machine / arch specific differences, but I 
don't think there's a way to "dress a package depending on the image it gets 
included in", right?

Should I create my own IMAGE_FEATURE and hack my fstab and inittab when rootfs 
is created, sort of how the "read-only-rootfs" feature was done?
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/core-image.bbclass?h=fido#n77

Thanks for any help you'll give.
Diego



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-07-01  9:19 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 16:05 Per image customizations Diego
2016-05-31 23:57 ` Paul Eggleton
2016-06-01 12:25   ` Oleksandr Poznyak
2016-06-01 16:15     ` Diego
2016-06-01 18:57       ` Oleksandr Poznyak
2016-06-03 13:52         ` Diego
2016-06-03 17:56           ` Oleksandr Poznyak
2016-06-06 13:27             ` Diego
2016-06-27  4:11               ` Paul Eggleton
2016-07-01  9:18                 ` Diego
2016-06-06 20:55         ` Edward Wingate
2016-06-06 21:10           ` Oleksandr Poznyak
2016-06-06 22:06             ` Edward Wingate
2016-06-06 23:52               ` Edward Wingate
2016-06-07 10:20             ` Paul Eggleton
2016-06-07 10:51               ` Oleksandr Poznyak
2016-06-07 15:57               ` Edward Wingate
2016-06-07 20:47                 ` Paul Eggleton
2016-06-07 23:07                   ` Edward Wingate
2016-06-07 23:23                     ` Paul Eggleton
2016-06-08  8:58                       ` Oleksandr Poznyak
2016-06-08 18:01                         ` Edward Wingate

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.