Set the label once, in top-level script (perhaps needed in
voyage-update too, deferred for now).

MOUNTPT is "declared", unused for now.  Its a placeholder for later
automation.

Signed-off-by: Jim Cromie <jim.cro...@gmail.com>
---
 usr/local/sbin/voyage-install.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/usr/local/sbin/voyage-install.sh b/usr/local/sbin/voyage-install.sh
index b9d5e4a..1837e40 100755
--- a/usr/local/sbin/voyage-install.sh
+++ b/usr/local/sbin/voyage-install.sh
@@ -19,6 +19,11 @@ if [ "$BOOTARGS" != "" ]; then
        echo "adding bootargs: $BOOTARGS"
 fi
 
+# use distinctive label for partition
+ROOT_LBL=${ROOT_LBL:=VOYAGE_FS}
+export ROOT_LBL
+MOUNTPT=
+
 #
 #      Function select_target_disk
 #      Sets the environment variables TARGET_DISK, TARGET_PART
-- 
1.7.11.4


_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to