From a4d9f9d253e372520fd12ca94803de4225b001ca Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Wed, 2 Sep 2009 06:28:23 +0200 Subject: [PATCH] Allow for multiple but unique persistent media. The patch provides a boot parameter to be used in conjunction with persistent and allow for multiple but unique persistent media such as live-sn-subText with boot parameter persistent-subtext=subText. --- scripts/live | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/live b/scripts/live index 2a146d7..db1d355 100755 --- a/scripts/live +++ b/scripts/live @@ -345,6 +345,13 @@ Arguments () export PERSISTENT_PATH ;; + persistent-subtext=*) + root_persistence="${root_persistence}-${ARGUMENT#persistent-subtext=}" + home_persistence="${home_persistence}-${ARGUMENT#persistent-subtext=}" + root_snapshot_label="${root_snapshot_label}-${ARGUMENT#persistent-subtext=}" + home_snapshot_label="${home_snapshot_label}-${ARGUMENT#persistent-subtext=}" + ;; + nopersistent) NOPERSISTENT="Yes" export NOPERSISTENT -- 2.1.4