summaryrefslogtreecommitdiff
path: root/scripts/install/install-get-partition
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-01 06:46:10 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-01 06:46:10 -0500
commitf31619dc433d8e955cfe9c7abb6bcddb337e43cd (patch)
treeb02a85bb883a05595e71592bc8e252c77bf59017 /scripts/install/install-get-partition
parent47e2c43533abe96eca65f3906528c8654d5839b4 (diff)
downloadvyatta-cfg-system-f31619dc433d8e955cfe9c7abb6bcddb337e43cd.tar.gz
vyatta-cfg-system-f31619dc433d8e955cfe9c7abb6bcddb337e43cd.zip
Label disk on format and create persistence.conf file to get live-boot
to set the correct persistence.
Diffstat (limited to 'scripts/install/install-get-partition')
-rwxr-xr-xscripts/install/install-get-partition2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index eee0dc73..b238f787 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -652,7 +652,7 @@ make_filesystem () {
lecho "Creating filesystem on /dev/$ldrive..."
progress_indicator start
- output=$(mkfs -t $ROOT_FSTYPE /dev/$ldrive 2>&1)
+ output=$(mkfs -L persistence -t $ROOT_FSTYPE /dev/$ldrive 2>&1)
status=$?
if [ "$status" != 0 ]; then
echo -e "Error: couldn't create the root filesystem.\nSee $INSTALL_LOG for further details.\nExiting..."