diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:02 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:25 +0100 |
| commit | 7d4bb40905fab38fb3db1d0e17afbc803622f00c (patch) | |
| tree | fea3791bf21dce5d7693ce0a695e49a5579b25b4 /scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks | |
| parent | 77561e719181d58289687373eebadce764f838a7 (diff) | |
| download | poky-7d4bb40905fab38fb3db1d0e17afbc803622f00c.tar.gz | |
wic: get rid of scripts/lib/image
Moved content of scripts/lib/image/ to scripts/lib/wic as
one directory with the same name as a tool is self-explanatory
and less confusing than two.
(From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks')
| -rw-r--r-- | scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks b/scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks new file mode 100644 index 0000000000..8a81f8f519 --- /dev/null +++ b/scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # short-description: Create multi rootfs image using rootfs plugin | ||
| 2 | # long-description: Creates a partitioned disk image with two rootfs partitions | ||
| 3 | # using rootfs plugin. | ||
| 4 | # | ||
| 5 | # Partitions can use either | ||
| 6 | # - indirect rootfs references to image recipe(s): | ||
| 7 | # wic create directdisk-multi-indirect-recipes -e core-image-minimal \ | ||
| 8 | # --rootfs-dir rootfs1=core-image-minimal | ||
| 9 | # --rootfs-dir rootfs2=core-image-minimal-dev | ||
| 10 | # | ||
| 11 | # - or paths to rootfs directories: | ||
| 12 | # wic create directdisk-multi-rootfs \ | ||
| 13 | # --rootfs-dir rootfs1=tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/ | ||
| 14 | # --rootfs-dir rootfs2=tmp/work/qemux86_64-poky-linux/core-image-minimal-dev/1.0-r0/rootfs/ | ||
| 15 | # | ||
| 16 | # - or any combinations of -r and --rootfs command line options | ||
| 17 | |||
| 18 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | ||
| 19 | part / --source rootfs --rootfs-dir=rootfs1 --ondisk sda --fstype=ext4 --label platform --align 1024 | ||
| 20 | part /rescue --source rootfs --rootfs-dir=rootfs2 --ondisk sda --fstype=ext4 --label secondary --align 1024 | ||
| 21 | |||
| 22 | bootloader --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0" | ||
| 23 | |||
