[OE-core] [PATCH 0/5] wic: Add --rootfs option to --source param

João Henrique Freitas joaohf at gmail.com
Mon Mar 31 16:29:56 UTC 2014


Hi,

On Mon, Mar 31, 2014 at 11:39 AM, Tom Zanussi
<tom.zanussi at linux.intel.com>wrote:

>
> But I think you could accomplish the same thing by just allowing the
> indirect string e.g. rootfs2 to resolve to either a full path, or as an
> image name, which would be treated as an instance of '-e image-name' for
> that partition.
>
> For example, we have the unmodified parttion in the .wks file as usual:
>
>   part /standby --source rootfs --rootfs-dir=rootfs2 --ondisk sda
> --fstype=ext3 --label secondary --align 1024
>
> Which could be resolved as either a full path to the rootfs dir:
>
>   wic create directdisk-multi-indirect-both --rootfs-dir
> rootfs2=/home/trz/yocto/master-cur/build/tmp/work/crownbay-poky-linux/core-image-minimal
>
> Or extracted from the '-e' ROOTFS_DIR output from the 'core-image-minimal'
> image:
>
>   wic create directdisk-multi-indirect-both --rootfs-dir
> rootfs2=core-image-minimal
>
> Does that make sense for this?
>
>

Yes. I think that is the point.


-- 
João Henrique Ferreira de Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140331/bb251902/attachment-0002.html>


More information about the Openembedded-core mailing list