diff options
author | California Sullivan <california.l.sullivan@intel.com> | 2018-02-28 18:15:05 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:23:06 -0800 |
commit | db904053e8ee80fb6930c5e7e22287927e0f25e2 (patch) | |
tree | 4dfdc9a6765a1072c87c441297972a79a36dfd3a /scripts | |
parent | d37be17527b354fddb3a5740d0197c590d620f42 (diff) | |
download | openembedded-core-contrib-db904053e8ee80fb6930c5e7e22287927e0f25e2.tar.gz |
wic: add wks file to make use of exclude-path functionality
Using --exclude-path and a wks.in file we can create an image that takes
the /boot/ directory for the boot partition, has an empty /boot/
directory in the rootfs partition. The boot partition gets mounted to
/boot/ after startup.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/canned-wks/efi-bootdisk.wks.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in b/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in new file mode 100644 index 00000000000..7300e65e32d --- /dev/null +++ b/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in @@ -0,0 +1,3 @@ +bootloader --ptable gpt +part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label boot --active --align 1024 --use-uuid --overhead-factor 1.0 +part / --source rootfs --fstype=ext4 --label root --align 1024 --exclude-path boot/ |