summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-08-20 17:13:30 +0200
committerMax Krummenacher <max.oss.09@gmail.com>2015-10-12 15:36:39 +0200
commit50f8a4f9c45236726ec0e54b5757265827cb87f1 (patch)
tree7b94ee62210289cfc3c793841d7de8feb39677b1 /recipes
parentfa936a5a73041715c90f39df64f5694fe5cb12cf (diff)
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!
Diffstat (limited to 'recipes')
-rwxr-xr-xrecipes/images/files/colibri-vf/update.sh2
-rwxr-xr-xrecipes/images/files/library/tegra/update.sh2
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 ""