[Voyage-linux] [PATCH 2/4] voyage-install: set ROOT_LBL=VOYAGE_FS

Jim Cromie (spam-protected)
Sun Sep 23 01:19:16 HKT 2012


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.cromie at 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





More information about the Voyage-linux mailing list