[OE-core] [wic][PATCH] wic: Implement --build-rootfs command line option
Ed Bartosh
ed.bartosh at linux.intel.com
Fri Apr 10 09:16:56 UTC 2015
On Thu, Apr 09, 2015 at 07:24:16PM -0300, João Henrique Ferreira de Freitas wrote:
>
> >>- What will be the behavior if: wic create test-image-4Gb -e
> >>test-image --rootfs rootfs1=test-image --rootfs
> >>rootfs2=bringup-image -f. A believed that only 'test-image' will be
> >>build. Right?
> >>
> >I don't fully understand command line options in your example, but generally you're right.
> >wic will take image name from -e option and run "bitbake test-image" in this case.
>
> This thread explain the above command line options: http://lists.openembedded.org/pipermail/openembedded-core/2014-March/091185.html
>
> Usually I run this sequence:
>
> bitbake test-image
> bitbate bringup-image
>
> wic create test-image-4Gb -e test-image --rootfs rootfs1=test-image --rootfs rootfs2=bringup-image
>
> So wic will create a directdisk with two images where each one will
> be place on specific partition.
>
> I guess if '-f' is used, wic could call bitbake to 'test-image' and
> 'bringup-image'.
Thank you for explanations. I missed your patches somehow.
Can we do the same by implementing handling of multiple -e/--image-name options in command line and .wks?
e.g. wic create directdisk-multi-rootfs.wks -e core-image-minimal -e core-image-minimal-dev
directdisk-multi-rootfs.wks:
part / --image-name core-image-minimal --ondisk sda --fstype=ext3 --label primary --align 1024
part /standby --image-name core-image-minimal-dev --ondisk sda --fstype=ext3 --label secondary --align 1024
--
Regards,
Ed
More information about the Openembedded-core
mailing list