From: California Sullivan Date: Thu, 1 Mar 2018 02:15:05 +0000 (-0800) Subject: wic: add wks file to make use of exclude-path functionality X-Git-Tag: uninative-1.8~136 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=db904053e8ee80fb6930c5e7e22287927e0f25e2;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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 0000000000..7300e65e32 --- /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/