Permalink
Browse files

narcissus: add proper UBIfs volumename

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent a2e97eb commit 5e7365e5b2906ee71c862f4cd06443ef3277e43e @koenkooi koenkooi committed Jun 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/assemble-image.sh
View
2 scripts/assemble-image.sh
@@ -176,7 +176,7 @@ function do_ubifs()
echo image=${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubifs >> ubinize.cfg
echo vol_id=0 >> ubinize.cfg
echo vol_type=dynamic >> ubinize.cfg
- echo vol_name=${UBI_VOLNAME} >> ubinize.cfg
+ echo vol_name=${MACHINE}-rootfs >> ubinize.cfg
echo vol_flags=autoresize >> ubinize.cfg
echo "running: mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubifs ${MKUBIFS_ARGS} && ubinize -o ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ${UBINIZE_ARGS} ubinize.cfg"
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubifs ${MKUBIFS_ARGS} && ubinize -o ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ${UBINIZE_ARGS} ubinize.cfg )

0 comments on commit 5e7365e

Please sign in to comment.