summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-vm.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 14:01:37 +0100
commit223d3b44c08c3522ef7c1d2f67f170e819b27c99 (patch)
tree8b83d0a76e382e7fea65e33478806b6aedcd0a26 /meta/classes/image-vm.bbclass
parente7a25d310569a0bd297f66745dcfec56923969bc (diff)
downloadpoky-223d3b44c08c3522ef7c1d2f67f170e819b27c99.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] (From OE-Core rev: 18b52577484d3b86bc31980a50da04141afda5f9) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-vm.bbclass')
-rw-r--r--meta/classes/image-vm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass
index 98bd92000e..b52df9fbf5 100644
--- a/meta/classes/image-vm.bbclass
+++ b/meta/classes/image-vm.bbclass
@@ -68,7 +68,7 @@ build_boot_dd() {
68 68
69 # Remove it since mkdosfs would fail when it exists 69 # Remove it since mkdosfs would fail when it exists
70 rm -f $HDDIMG 70 rm -f $HDDIMG
71 mkdosfs -n ${BOOTDD_VOLUME_ID} -S 512 -C $HDDIMG $BLOCKS 71 mkdosfs -n ${BOOTDD_VOLUME_ID} ${MKDOSFS_EXTRAOPTS} -C $HDDIMG $BLOCKS
72 mcopy -i $HDDIMG -s $HDDDIR/* ::/ 72 mcopy -i $HDDIMG -s $HDDDIR/* ::/
73 73
74 if [ "${PCBIOS}" = "1" ]; then 74 if [ "${PCBIOS}" = "1" ]; then