summaryrefslogtreecommitdiff
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:15:41 +0200
commitfc19b717407dbf6b4c97b1fdf38005f2cf57f552 (patch)
treec98420a5cdc7e11f0b438519109fa59ebdd3f8dc
parente655828f864671db306a1388af4142ec2e3e471e (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! (cherry picked from commit f8e0b484b1fb36610926c281e7122d1c66236173)
-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 ""