aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/live-vm-common.bbclass
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-07-06 11:43:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-17 13:48:53 +0100
commit18b52577484d3b86bc31980a50da04141afda5f9 (patch)
tree5c7dfa13a549df0f767b4c9fad0602d260afc338 /meta/classes/live-vm-common.bbclass
parentaed3cebdfbd4f483644a8c200f27d52b981728a3 (diff)
downloadopenembedded-core-18b52577484d3b86bc31980a50da04141afda5f9.tar.gz
live-vm-common: add MKDOSFS_EXTRAOPTS variable
Sometimes it's needed to create FAT filesystem with specific sector or cluster size, FAT size or to use one of other useful mkdosfs options. Introduced MKDOSFS_EXTRAOPTS variable to set options for mkdosfs. [YOCTO #11709] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/live-vm-common.bbclass')
-rw-r--r--meta/classes/live-vm-common.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/live-vm-common.bbclass b/meta/classes/live-vm-common.bbclass
index 27b137dec6..e1d8b1843b 100644
--- a/meta/classes/live-vm-common.bbclass
+++ b/meta/classes/live-vm-common.bbclass
@@ -15,6 +15,8 @@ EFI = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "1", "0", d)}"
EFI_PROVIDER ?= "grub-efi"
EFI_CLASS = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}", "", d)}"
+MKDOSFS_EXTRAOPTS ??= "-S 512"
+
# Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not
# contain "efi". This way legacy is supported by default if neither is
# specified, maintaining the original behavior.