summaryrefslogtreecommitdiff
path: root/export-image
diff options
context:
space:
mode:
authorXECDesign <XECDesign@users.noreply.github.com>2017-11-06 10:53:05 +0000
committerGitHub <noreply@github.com>2017-11-06 10:53:05 +0000
commit90adfb155185909d4555dce673fafc260f33f2ab (patch)
treecac05bd110fddffcd1c02ea175cb2ed0b8be36b0 /export-image
parent9f2941954f64d70c0df0de1923c57bf0ef96ceca (diff)
Label root partition
Fixes #131
Diffstat (limited to 'export-image')
-rwxr-xr-xexport-image/prerun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/export-image/prerun.sh b/export-image/prerun.sh
index f687785..e2979cf 100755
--- a/export-image/prerun.sh
+++ b/export-image/prerun.sh
@@ -58,7 +58,7 @@ for FEATURE in metadata_csum 64bit; do
fi
done
mkdosfs -n boot -F 32 -v $BOOT_DEV > /dev/null
-mkfs.ext4 -O $ROOT_FEATURES $ROOT_DEV > /dev/null
+mkfs.ext4 -L rootfs-O $ROOT_FEATURES $ROOT_DEV > /dev/null
mount -v $ROOT_DEV ${ROOTFS_DIR} -t ext4
mkdir -p ${ROOTFS_DIR}/boot