[prev in list] [next in list] [prev in thread] [next in thread] 

List:       voyage-linux
Subject:    [Voyage-linux] [PATCH 2/4] voyage-install: set ROOT_LBL=VOYAGE_FS
From:       Jim Cromie <jim.cromie () gmail ! com>
Date:       2012-09-22 17:19:16
Message-ID: 1348334358-23093-3-git-send-email-jim.cromie () gmail ! com
[Download RAW message or body]

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@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic