aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/lib/wic
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/lib/wic')
-rw-r--r--common/scripts/lib/wic/canned-wks/amd-usbimage.wks5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/scripts/lib/wic/canned-wks/amd-usbimage.wks b/common/scripts/lib/wic/canned-wks/amd-usbimage.wks
new file mode 100644
index 00000000..96ce8c75
--- /dev/null
+++ b/common/scripts/lib/wic/canned-wks/amd-usbimage.wks
@@ -0,0 +1,5 @@
+# short-description: Create USB image with files from var IMAGE_BOOT_FILES
+# long-description: Creates a USB image with all files in the IMAGE_BOOT_FILES
+# var e.g. bootloader, initrd, kernel & rootfs.img.
+
+part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --overhead-factor 1.0 --active --align 1024