From 50f8a4f9c45236726ec0e54b5757265827cb87f1 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 20 Aug 2015 17:13:30 +0200 Subject: colibri_t20/vf50/vf61: actually enable mkfs.ubifs' --space-fixup option While we were checking whether the mkfs.ubifs tool has the magic --space-fixup option available we never actually enabled that option to be used when generating our UBIFS root file system images. Thanks Bhuvan for spotting this having actually been in our update scripts for almost two years now! --- recipes/images/files/colibri-vf/update.sh | 2 +- recipes/images/files/library/tegra/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/images/files/colibri-vf/update.sh b/recipes/images/files/colibri-vf/update.sh index a05df47..fdb4d52 100755 --- a/recipes/images/files/colibri-vf/update.sh +++ b/recipes/images/files/colibri-vf/update.sh @@ -165,7 +165,7 @@ fi # Prepare full flashing #build ${IMAGEFILE} if it does not exist -sudo $LOCPATH/mkfs.ubifs -c ${MAXLEB} -e ${BLOCK} -m ${PAGE} -o ${BINARIES}/${IMAGEFILE} -r rootfs/ -v +sudo $LOCPATH/mkfs.ubifs --space-fixup -c ${MAXLEB} -e ${BLOCK} -m ${PAGE} -o ${BINARIES}/${IMAGEFILE} -r rootfs/ -v echo "" echo "UBI image of root file system generated, coping data to target folder..." diff --git a/recipes/images/files/library/tegra/update.sh b/recipes/images/files/library/tegra/update.sh index e765990..2037df3 100755 --- a/recipes/images/files/library/tegra/update.sh +++ b/recipes/images/files/library/tegra/update.sh @@ -319,7 +319,7 @@ if [ "${MODTYPE}" = "colibri-t20" ] ; then # Prepare full flashing #build ${IMAGEFILE} if it does not exist for blocksize in ${BLOCK}; do - sudo $LOCPATH/mkfs.ubifs -c ${MAXLEB} -e ${blocksize} -m ${PAGE} -o ${BINARIES}/${IMAGEFILE}_${blocksize}.img -r rootfs/ -v + sudo $LOCPATH/mkfs.ubifs --space-fixup -c ${MAXLEB} -e ${blocksize} -m ${PAGE} -o ${BINARIES}/${IMAGEFILE}_${blocksize}.img -r rootfs/ -v done echo "" -- cgit v1.2.3