diff options
| author | Richard Nelson <unixabg@gmail.com> | 2009-09-02 06:28:23 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:05 +0100 |
| commit | a4d9f9d253e372520fd12ca94803de4225b001ca (patch) | |
| tree | a72fdc9e1788784f0fa4cc0bad5ab7f1855bb7d0 | |
| parent | 27fa9d61e4484d40e8a11fb75ebf88f01d90a6a0 (diff) | |
| download | live-boot-a4d9f9d253e372520fd12ca94803de4225b001ca.tar.gz live-boot-a4d9f9d253e372520fd12ca94803de4225b001ca.zip | |
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.
| -rwxr-xr-x | scripts/live | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
