Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-04-04 20:47:52 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-04-04 20:47:52 (GMT)
commit0d4c7b9c0f0fdace63eff144ab91dd8e0eb1ee20 (patch)
tree8bd0270e8cc5c9a786c2fe55453224b7a9dc46d3
parent2c0ebb037c802eb3e337bca12e2cccac2e74a312 (diff)
ubifs_image: automatically size image (#11094)
As discussed in the thread http://lists.infradead.org/pipermail/linux-mtd/2011-October/038056.html excluding vol_size, and letting the size be calculated automatically (to be resized upon first boot) is a sensible option where the number of bad blocks on the target system is unknown. This should fix boot on systems with a lot of bad blocks.
-rw-r--r--modules/ubifs_image/image.50.makeimg.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/ubifs_image/image.50.makeimg.sh b/modules/ubifs_image/image.50.makeimg.sh
index ce64e93..5122d22 100644
--- a/modules/ubifs_image/image.50.makeimg.sh
+++ b/modules/ubifs_image/image.50.makeimg.sh
@@ -80,7 +80,6 @@ cat > $ubinize_cfg <<EOF
mode=ubi
image=$root_tmp_img
vol_id=0
-vol_size=973312KiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize