diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-06 11:43:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-17 14:01:37 +0100 |
commit | 223d3b44c08c3522ef7c1d2f67f170e819b27c99 (patch) | |
tree | 8b83d0a76e382e7fea65e33478806b6aedcd0a26 /meta/classes/image-live.bbclass | |
parent | e7a25d310569a0bd297f66745dcfec56923969bc (diff) | |
download | poky-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-live.bbclass')
-rw-r--r-- | meta/classes/image-live.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index 3a6e5f0e5b..c1862b1319 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass | |||
@@ -217,10 +217,10 @@ build_fat_img() { | |||
217 | fi | 217 | fi |
218 | 218 | ||
219 | if [ -z "${HDDIMG_ID}" ]; then | 219 | if [ -z "${HDDIMG_ID}" ]; then |
220 | mkdosfs ${FATSIZE} -n ${BOOTIMG_VOLUME_ID} -S 512 -C ${FATIMG} \ | 220 | mkdosfs ${FATSIZE} -n ${BOOTIMG_VOLUME_ID} ${MKDOSFS_EXTRAOPTS} -C ${FATIMG} \ |
221 | ${BLOCKS} | 221 | ${BLOCKS} |
222 | else | 222 | else |
223 | mkdosfs ${FATSIZE} -n ${BOOTIMG_VOLUME_ID} -S 512 -C ${FATIMG} \ | 223 | mkdosfs ${FATSIZE} -n ${BOOTIMG_VOLUME_ID} ${MKDOSFS_EXTRAOPTS} -C ${FATIMG} \ |
224 | ${BLOCKS} -i ${HDDIMG_ID} | 224 | ${BLOCKS} -i ${HDDIMG_ID} |
225 | fi | 225 | fi |
226 | 226 | ||