aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/lib/wic
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2018-11-15 22:11:45 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2018-11-15 22:11:45 +0500
commitdcd178a1063bde92a4604f0f1d9d02cedee17daa (patch)
tree30decdde0598a1254ff2d6119d769be470cd2586 /common/scripts/lib/wic
parent8ed3e125070c4edb426c676c0431ff62d938d9c2 (diff)
downloadmeta-amd-dcd178a1063bde92a4604f0f1d9d02cedee17daa.tar.gz
meta-amd-dcd178a1063bde92a4604f0f1d9d02cedee17daa.tar.bz2
meta-amd-dcd178a1063bde92a4604f0f1d9d02cedee17daa.zip
wic/amd-usbimage.wks: reduce image size
This cuts down the unnecessary free space in the image by setting the --overhead-factor to 1.0, therefore reduces the image size of amd-usbimage.wks & makes it easier to handle while transferring or flashing to a USB etc. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'common/scripts/lib/wic')
-rw-r--r--common/scripts/lib/wic/canned-wks/amd-usbimage.wks2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scripts/lib/wic/canned-wks/amd-usbimage.wks b/common/scripts/lib/wic/canned-wks/amd-usbimage.wks
index da6b1b51..96ce8c75 100644
--- a/common/scripts/lib/wic/canned-wks/amd-usbimage.wks
+++ b/common/scripts/lib/wic/canned-wks/amd-usbimage.wks
@@ -2,4 +2,4 @@
# 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 --active --align 1024
+part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --overhead-factor 1.0 --active --align 1024