live-boot-grml.git
12 years agoMake trim_path() handle "/", and arbitrarily many consecutive /:es.
Tails developers [Tue, 20 Mar 2012 16:36:18 +0000 (17:36 +0100)]
Make trim_path() handle "/", and arbitrarily many consecutive /:es.

12 years agoGreatly simplify live.persist syntax to "DIR [OPTIONS...]".
Tails developers [Mon, 19 Mar 2012 22:44:17 +0000 (23:44 +0100)]
Greatly simplify live.persist syntax to "DIR [OPTIONS...]".

The previous syntax was convoluted by allowing both optional columns and
a list of options, when all really can be done in the options list. A
new option 'source=$path' was added as a replacement for the removed
SOURCE column, and DIR in the new syntax is pretty much the old DEST.

12 years agoAdd a note about a potential, future code simplification.
Tails developers [Mon, 19 Mar 2012 22:42:14 +0000 (23:42 +0100)]
Add a note about a potential, future code simplification.

12 years agoDo not allow mutually exclusive custom mount options.
Tails developers [Mon, 19 Mar 2012 22:41:26 +0000 (23:41 +0100)]
Do not allow mutually exclusive custom mount options.

12 years agoFix ownership/perms for created union/linkfiles source dirs.
Tails developers [Mon, 19 Mar 2012 22:06:13 +0000 (23:06 +0100)]
Fix ownership/perms for created union/linkfiles source dirs.

12 years agoCreate the source dir for custom mounts using the 'linkfiles' option.
Tails developers [Mon, 19 Mar 2012 22:04:41 +0000 (23:04 +0100)]
Create the source dir for custom mounts using the 'linkfiles' option.

We can't bootstrap it, but creating it so the user doesn't have to
(and maybe can't due to permissions) is a still convenient.

12 years agoRefactor closing of persistent devices upon failure.
Tails developers [Fri, 2 Mar 2012 14:26:03 +0000 (15:26 +0100)]
Refactor closing of persistent devices upon failure.

Errors can occur at various places so it's best to just do it once in
a consistent manner.

12 years agoChange live.persist syntax to "SOURCE [DEST [OPTIONS...]]".
Tails developers [Thu, 1 Mar 2012 13:53:48 +0000 (14:53 +0100)]
Change live.persist syntax to "SOURCE [DEST [OPTIONS...]]".

12 years agoCopy ownership/perms from source to rw-branch in read-only mode.
Tails developers [Wed, 29 Feb 2012 15:03:32 +0000 (16:03 +0100)]
Copy ownership/perms from source to rw-branch in read-only mode.

The union mountpoint inherits ownership/permissions from the rw-branch,
which in this case is a directory created by root, and not the source,
which has the correct ownership/perms.

12 years agoHandle list arguments better in get_custom_mounts().
Tails developers [Fri, 24 Feb 2012 13:41:30 +0000 (14:41 +0100)]
Handle list arguments better in get_custom_mounts().

12 years agoMake handling of LUKS encrypted GPT partitions more sane.
Tails developers [Thu, 23 Feb 2012 16:33:45 +0000 (17:33 +0100)]
Make handling of LUKS encrypted GPT partitions more sane.

12 years agoUse trim_path when we compare paths.
Tails developers [Mon, 20 Feb 2012 10:51:14 +0000 (11:51 +0100)]
Use trim_path when we compare paths.

12 years agoDon't allow . or .. in live.persist paths.
Tails developers [Mon, 20 Feb 2012 10:44:04 +0000 (11:44 +0100)]
Don't allow . or .. in live.persist paths.

Allowing it could cause serious breakage, and there's absolutely no
need for it.

12 years agoRemove two FIXME:s that are not really relevant.
Tails developers [Fri, 17 Feb 2012 15:35:43 +0000 (16:35 +0100)]
Remove two FIXME:s that are not really relevant.

We could handle those cases, but it wouldn't give us anything; the
sort-by-destination we do later makes it work just fine.

12 years agoCleanup.
Tails developers [Fri, 17 Feb 2012 15:34:44 +0000 (16:34 +0100)]
Cleanup.

12 years agoRefactor mounting of persistent storage media.
Tails developers [Thu, 16 Feb 2012 14:37:35 +0000 (15:37 +0100)]
Refactor mounting of persistent storage media.

This also fixes a bug where for home-rw image files: they were mounted
in ${rootmnt}/live before ${rootmnt} was mounted, hence "hiding" the
mount point.

12 years agoFixup some style issues.
Tails developers [Wed, 15 Feb 2012 12:05:33 +0000 (13:05 +0100)]
Fixup some style issues.

12 years agoCheck if luks device is already open before trying to open it.
Tails developers [Wed, 15 Feb 2012 11:10:06 +0000 (12:10 +0100)]
Check if luks device is already open before trying to open it.

12 years agoWe don't black list storage devices any more.
Tails developers [Wed, 15 Feb 2012 11:03:56 +0000 (12:03 +0100)]
We don't black list storage devices any more.

12 years agoAdd backwards compatibility for old labels: live-{rw,sn} and home-rw.
Tails developers [Wed, 15 Feb 2012 11:00:51 +0000 (12:00 +0100)]
Add backwards compatibility for old labels: live-{rw,sn} and home-rw.

For home-rw we create a live.persist file which make old volumes
completely compatible with the custom mounts system.

12 years agoHandle already mounted devices and closing of unused luks devices better.
Tails developers [Tue, 14 Feb 2012 15:48:52 +0000 (16:48 +0100)]
Handle already mounted devices and closing of unused luks devices better.

12 years agoSome minor cleanups.
Tails developers [Tue, 14 Feb 2012 15:45:14 +0000 (16:45 +0100)]
Some minor cleanups.

12 years agoAdd support for probing partitions' GPT name just like filesystem labels.
Tails developers [Tue, 14 Feb 2012 15:42:47 +0000 (16:42 +0100)]
Add support for probing partitions' GPT name just like filesystem labels.

12 years agoRefactor find_persistent_media().
Tails developers [Tue, 14 Feb 2012 15:39:13 +0000 (16:39 +0100)]
Refactor find_persistent_media().

12 years agoRefactor some global variables from live into live-helpers.
Tails developers [Tue, 14 Feb 2012 15:35:52 +0000 (16:35 +0100)]
Refactor some global variables from live into live-helpers.

12 years agoRefactor live-boot argument parser from live into live-helpers.
Tails developers [Mon, 13 Feb 2012 09:35:58 +0000 (10:35 +0100)]
Refactor live-boot argument parser from live into live-helpers.

This will be useful for making it possible to enable persistent during
user-space.

12 years agoAdjusting mount calls when using nfs options (Closes: #667435).
Daniel Baumann [Wed, 4 Apr 2012 08:50:11 +0000 (10:50 +0200)]
Adjusting mount calls when using nfs options (Closes: #667435).

12 years agoClose unused LUKS devices in all cases.
Tails developers [Sat, 11 Feb 2012 20:35:35 +0000 (21:35 +0100)]
Close unused LUKS devices in all cases.

Previously LUKS partitions whose fs had the incorrect partition label
would be left open when using persistent-storage=partition.

12 years agoUse same device backing path as used in other places.
Tails developers [Sat, 11 Feb 2012 20:30:53 +0000 (21:30 +0100)]
Use same device backing path as used in other places.

12 years agoAccept using several persistent media with custom-ov label.
Tails developers [Sat, 11 Feb 2012 20:27:48 +0000 (21:27 +0100)]
Accept using several persistent media with custom-ov label.

We didn't want this before with live-{rw,sn} and home-{rw,sn} style
persistence, so this was just a left-over. But we still can only allow
one each of root-ov, root-sn and home-sn.

12 years agoRefactor persistent custom mounting from live into live-helpers.
Tails developers [Thu, 9 Feb 2012 17:13:25 +0000 (18:13 +0100)]
Refactor persistent custom mounting from live into live-helpers.

This will be useful for making it possible to enable persistent during
user-space.

12 years agoCorrecting syntax when using if constructs in links_files().
Daniel Baumann [Sun, 1 Apr 2012 20:10:13 +0000 (22:10 +0200)]
Correcting syntax when using if constructs in links_files().

12 years agoFix mask usage in links_files().
Tails developers [Thu, 9 Feb 2012 16:26:31 +0000 (17:26 +0100)]
Fix mask usage in links_files().

12 years agoOptionally mount custom mounts as unions.
Tails developers [Thu, 9 Feb 2012 11:18:56 +0000 (12:18 +0100)]
Optionally mount custom mounts as unions.

This can potentially save a lot of space, and this type of persistence
doesn't hide changes to the read-only filesystem which can be both
good and bad.

12 years agoRemove the correct file.
Tails developers [Thu, 9 Feb 2012 11:18:10 +0000 (12:18 +0100)]
Remove the correct file.

12 years agoIgnore empty lines in live.persist.
Tails developers [Thu, 9 Feb 2012 11:16:56 +0000 (12:16 +0100)]
Ignore empty lines in live.persist.

Otherwise they're interpreted as / which isn't good.

12 years agoMake union mounting more sensible and robust.
Tails developers [Thu, 9 Feb 2012 11:16:06 +0000 (12:16 +0100)]
Make union mounting more sensible and robust.

...except that they're broken! But we're getting to that.

12 years agoWorkaround busybox's inability to detect symlinks with [ -e ].
Tails developers [Thu, 9 Feb 2012 11:08:58 +0000 (12:08 +0100)]
Workaround busybox's inability to detect symlinks with [ -e ].

link_files() won't remove symlinks at the destination, which could
cause trouble.

12 years agoRefactor union mounting into its own function.
Tails developers [Wed, 8 Feb 2012 15:26:39 +0000 (16:26 +0100)]
Refactor union mounting into its own function.

12 years agoContinue the correct for-loop so incorrect custom mount is skipped.
Tails developers [Wed, 8 Feb 2012 15:16:11 +0000 (16:16 +0100)]
Continue the correct for-loop so incorrect custom mount is skipped.

12 years agoHandle custom mounts options a bit more beautifully.
Tails developers [Wed, 8 Feb 2012 11:49:40 +0000 (12:49 +0100)]
Handle custom mounts options a bit more beautifully.

12 years agoCalling rm without -f when removing some temporary custom mount related files to...
Daniel Baumann [Sun, 1 Apr 2012 20:04:06 +0000 (22:04 +0200)]
Calling rm without -f when removing some temporary custom mount related files to ensure non-interactivity.

12 years agoRemove some temporary custom mount related files after they're used.
Tails developers [Wed, 8 Feb 2012 11:44:30 +0000 (12:44 +0100)]
Remove some temporary custom mount related files after they're used.

12 years agoSeparate overlay labels for full and custom persistence.
Tails developers [Tue, 7 Feb 2012 17:05:42 +0000 (18:05 +0100)]
Separate overlay labels for full and custom persistence.

Full root persistence through overlays is specified with "full-ov",
and custom persistent mounts with "custom-ov". Previously they used
the same label ("live-rw") and the existence of live.persist
determined whether it should be used for full persistence or custom
mounts. That was a bit dangerous since a misspelled live.persist could
cause data loss etc.

12 years agoOptionally symlink files from persistent source instead of mount it.
Tails developers [Tue, 7 Feb 2012 14:00:04 +0000 (15:00 +0100)]
Optionally symlink files from persistent source instead of mount it.

This is done by passing the option "linkfiles" to a live.persist
entry. That option is very useful when you only want certain files
to be persistent, not the whole directory they are in, like dot-files
in $home.

12 years agoPrevent custom mounting in /live.
Tails developers [Mon, 6 Feb 2012 10:22:05 +0000 (11:22 +0100)]
Prevent custom mounting in /live.

12 years agoAvoid '==' bashism in initial work on a custom mounts system to ensure posix compatib...
Daniel Baumann [Sun, 1 Apr 2012 19:58:21 +0000 (21:58 +0200)]
Avoid '==' bashism in initial work on a custom mounts system to ensure posix compatiblity.

12 years agoAvoid calling rm without -f in initial work on a custom mounts system to ensure non...
Daniel Baumann [Sun, 1 Apr 2012 19:57:19 +0000 (21:57 +0200)]
Avoid calling rm without -f in initial work on a custom mounts system to ensure non-interactivity.

12 years agoCorrecting indenting initial work on a custom mounts system to ensure consistency.
Daniel Baumann [Sun, 1 Apr 2012 19:56:28 +0000 (21:56 +0200)]
Correcting indenting initial work on a custom mounts system to ensure consistency.

12 years agoAdding initial work on a custom mounts system.
Tails developers [Mon, 16 Jan 2012 11:12:18 +0000 (12:12 +0100)]
Adding initial work on a custom mounts system.

12 years agoRemoving some of the now useless sysvinit specifics from bin/boot.sh.
Daniel Baumann [Fri, 30 Mar 2012 08:06:35 +0000 (10:06 +0200)]
Removing some of the now useless sysvinit specifics from bin/boot.sh.

12 years agoReplacing live-boot initscript with a stub and moving the actual code to /lib/live...
Daniel Baumann [Fri, 30 Mar 2012 07:59:59 +0000 (09:59 +0200)]
Replacing live-boot initscript with a stub and moving the actual code to /lib/live/boot.sh to allow different initsystem support in future.

12 years agoCorrecting log_end_msg usages in connection with verbosity checks in live-boot initsc...
Daniel Baumann [Fri, 30 Mar 2012 07:49:28 +0000 (09:49 +0200)]
Correcting log_end_msg usages in connection with verbosity checks in live-boot initscript, thanks to Pablo Barbachano <pablobarbachano@yahoo.es> (Closes: #665689).

12 years agoQuoting noprompt variable in initscript to avoid syntax errors, thanks to Philip...
Daniel Baumann [Tue, 6 Mar 2012 09:40:41 +0000 (10:40 +0100)]
Quoting noprompt variable in initscript to avoid syntax errors, thanks to Philip Newborough <corenominal@corenominal.org>.

12 years agoUpdating to standards version 3.9.3.
Daniel Baumann [Sun, 26 Feb 2012 20:05:55 +0000 (21:05 +0100)]
Updating to standards version 3.9.3.

12 years agoUpdating copyright file machine-readable format version 1.0.
Daniel Baumann [Sun, 26 Feb 2012 19:59:29 +0000 (20:59 +0100)]
Updating copyright file machine-readable format version 1.0.

12 years agoUpdating year in copyright.
Daniel Baumann [Tue, 7 Feb 2012 12:33:51 +0000 (13:33 +0100)]
Updating year in copyright.

12 years agoReleasing debian version 3.0~a25-1. debian/3.0_a25-1
Daniel Baumann [Mon, 6 Feb 2012 22:27:53 +0000 (23:27 +0100)]
Releasing debian version 3.0~a25-1.

12 years agoAdd overlayfs support (Closes: #658265).
Michal Suchanek [Fri, 15 Apr 2011 09:36:00 +0000 (11:36 +0200)]
Add overlayfs support (Closes: #658265).

12 years agoUpdating to debhelper version 9.
Daniel Baumann [Sun, 15 Jan 2012 19:45:38 +0000 (20:45 +0100)]
Updating to debhelper version 9.

12 years agoRelease new 3.0~a24-1+grml.2 v3.0_a24-1+grml.2
Michael Prokop [Wed, 4 Jan 2012 15:48:51 +0000 (16:48 +0100)]
Release new 3.0~a24-1+grml.2

12 years agoAdd genext2fs to depends [Closes: issue1126]
Michael Prokop [Wed, 4 Jan 2012 15:46:39 +0000 (16:46 +0100)]
Add genext2fs to depends [Closes: issue1126]

/sbin/live-snapshot uses genext2fs, but genext2fs is missing
by default.

Thanks: Charles A. Hewson for the bugreport

12 years agoAppend nameservers provided via dns bootoption into initramfs resolv.conf
Ulrich Dangel [Sun, 1 Jan 2012 18:28:59 +0000 (19:28 +0100)]
Append nameservers provided via dns bootoption into initramfs resolv.conf

12 years agoRelease new version 3.0~a24-1+grml.1. v3.0_a24-1+grml.1
Christian Hofstaedtler [Tue, 6 Dec 2011 21:28:17 +0000 (22:28 +0100)]
Release new version 3.0~a24-1+grml.1.

12 years agoMerge branch 'debian'
Christian Hofstaedtler [Tue, 6 Dec 2011 21:22:25 +0000 (22:22 +0100)]
Merge branch 'debian'

12 years agoMerge remote-tracking branch 'deb/debian' into debian
Christian Hofstaedtler [Tue, 6 Dec 2011 21:21:05 +0000 (22:21 +0100)]
Merge remote-tracking branch 'deb/debian' into debian

12 years agoTurn d4619b77 into a quilt patch
Christian Hofstaedtler [Tue, 6 Dec 2011 21:17:03 +0000 (22:17 +0100)]
Turn d4619b77 into a quilt patch

Otherwise dpkg-source (rightfully) complains that there are
untracked local changes.

12 years agoAutomatically refresh patches that need it
Christian Hofstaedtler [Tue, 6 Dec 2011 21:11:21 +0000 (22:11 +0100)]
Automatically refresh patches that need it

12 years agoManually refresh 31_package_rename
Christian Hofstaedtler [Tue, 6 Dec 2011 21:09:34 +0000 (22:09 +0100)]
Manually refresh 31_package_rename

12 years ago07_support_findiso: remove upstream-applied parts
Christian Hofstaedtler [Tue, 6 Dec 2011 21:08:18 +0000 (22:08 +0100)]
07_support_findiso: remove upstream-applied parts

12 years agoDrop upstream-applied patch: 25_support_lvm_for_live-media
Christian Hofstaedtler [Tue, 6 Dec 2011 21:07:00 +0000 (22:07 +0100)]
Drop upstream-applied patch: 25_support_lvm_for_live-media

12 years agoDrop upstream-applied patch: 10_validateroot
Christian Hofstaedtler [Tue, 6 Dec 2011 21:06:38 +0000 (22:06 +0100)]
Drop upstream-applied patch: 10_validateroot

12 years agoDrop upstream-applied patch: 01_fix_output_file
Christian Hofstaedtler [Tue, 6 Dec 2011 21:06:03 +0000 (22:06 +0100)]
Drop upstream-applied patch: 01_fix_output_file

12 years agoMerge branch 'debian'
Christian Hofstaedtler [Tue, 6 Dec 2011 20:40:44 +0000 (21:40 +0100)]
Merge branch 'debian'

Conflicts:
debian/changelog
debian/control
debian/rules

12 years agoMerge remote-tracking branch 'deb/debian' into debian
Christian Hofstaedtler [Tue, 6 Dec 2011 20:33:53 +0000 (21:33 +0100)]
Merge remote-tracking branch 'deb/debian' into debian

12 years agoTry loading phram module twice to fix loading issue.
Michael Prokop [Mon, 11 Jul 2011 10:42:24 +0000 (12:42 +0200)]
Try loading phram module twice to fix loading issue.

phram doesn't work on first modprobe, when loading once again it seems
to work. So let's try it this way.

12 years agoInstall hook instead of specifying modules.d
Ulrich Dangel [Mon, 5 Dec 2011 22:48:51 +0000 (23:48 +0100)]
Install hook instead of specifying modules.d

12 years agoAdd kms modules to initramfs
Ulrich Dangel [Mon, 5 Dec 2011 21:52:47 +0000 (22:52 +0100)]
Add kms modules to initramfs

12 years agoReleasing debian version 3.0~a24-1. debian/3.0_a24-1
Daniel Baumann [Sun, 4 Dec 2011 08:59:19 +0000 (09:59 +0100)]
Releasing debian version 3.0~a24-1.

12 years agoRemoving quotes from udev path_id command to actually execute the command.
Daniel Baumann [Thu, 1 Dec 2011 10:09:53 +0000 (11:09 +0100)]
Removing quotes from udev path_id command to actually execute the command.

12 years agoRelease new version 3.0~a19-1+grml.01. v3.0_a19-1+grml.01
Christian Hofstaedtler [Wed, 30 Nov 2011 12:25:46 +0000 (13:25 +0100)]
Release new version 3.0~a19-1+grml.01.

12 years agoReleasing debian version 3.0~a23-1. debian/3.0_a23-1
Daniel Baumann [Mon, 28 Nov 2011 17:27:29 +0000 (18:27 +0100)]
Releasing debian version 3.0~a23-1.

12 years agoAdding workaround for a busybox bug with grep -w.
Tails developers [Wed, 23 Nov 2011 20:17:23 +0000 (21:17 +0100)]
Adding workaround for a busybox bug with grep -w.

See: https://bugs.busybox.net/show_bug.cgi?id=4520

12 years agoUpdating live-boot man page for persistent-read-only.
Tails developers [Wed, 23 Nov 2011 11:17:06 +0000 (12:17 +0100)]
Updating live-boot man page for persistent-read-only.

12 years agoMaking persistent-read-only work for live-rw overlays.
Tails developers [Wed, 23 Nov 2011 11:08:06 +0000 (12:08 +0100)]
Making persistent-read-only work for live-rw overlays.

12 years agoMaking persistent-read-only work for home-rw overlays.
Tails developers [Wed, 23 Nov 2011 10:16:43 +0000 (11:16 +0100)]
Making persistent-read-only work for home-rw overlays.

12 years agoUpdating and rewording live-boot man page for the persistent option.
Tails developers [Mon, 21 Nov 2011 11:09:40 +0000 (12:09 +0100)]
Updating and rewording live-boot man page for the persistent option.

12 years agoUpdating live-boot man page for persistent-method.
Tails developers [Mon, 21 Nov 2011 10:32:03 +0000 (11:32 +0100)]
Updating live-boot man page for persistent-method.

12 years agoUpdating live-boot man page for persistent-storage.
Tails developers [Mon, 21 Nov 2011 10:25:04 +0000 (11:25 +0100)]
Updating live-boot man page for persistent-storage.

12 years agoUpdating live-boot man page for persistent-encryption.
Tails developers [Mon, 21 Nov 2011 10:12:47 +0000 (11:12 +0100)]
Updating live-boot man page for persistent-encryption.

12 years agoChanging persistent-encryption to accept a list TYPE... instead.
Tails developers [Sat, 12 Nov 2011 04:56:06 +0000 (05:56 +0100)]
Changing persistent-encryption to accept a list TYPE... instead.

The comma-separated list TYPE... specifies which types of encryption
to allow for persistent media, and whether to allow plaintext media.
The possible TYPEs are the old {none, luks}, with default "none". The
only change is that this allow plaintext and encrypted media to be
used simultaneously.

12 years agoAdding persistent-read-only boot parameter.
Tails developers [Thu, 10 Nov 2011 18:24:13 +0000 (19:24 +0100)]
Adding persistent-read-only boot parameter.

It currently only makes snapshots read-only. Support for overlays will
be a bit more complicated to implement.

12 years agoDisabling persistent-encryption=luks if dependencies are unavailable.
Tails developers [Thu, 10 Nov 2011 18:05:00 +0000 (19:05 +0100)]
Disabling persistent-encryption=luks if dependencies are unavailable.

Current dependencies are dm-crypt, cryptsetup and askpass.

12 years agoFixing a "sh: bad number" when $offset is not passed to setup_loop().
Tails developers [Thu, 10 Nov 2011 17:58:04 +0000 (18:58 +0100)]
Fixing a "sh: bad number" when $offset is not passed to setup_loop().

12 years agoRefactoring overlay and snapshot scanning code.
Tails developers [Thu, 10 Nov 2011 17:52:18 +0000 (18:52 +0100)]
Refactoring overlay and snapshot scanning code.

Both overlays and snapshots are now scanned at the same time, and each
device is only mounted once. Passphrases for LUKS volumes are only
asked for once, and unused ones are closed. Also, snapshot files on
encrypted partitions are now supported.

12 years agoMaking use of is_supported_fs in find_cow_devices (like in find_files).
Tails developers [Wed, 9 Nov 2011 19:06:28 +0000 (20:06 +0100)]
Making use of is_supported_fs in find_cow_devices (like in find_files).

12 years agoRefactoring device scanning in find_{cow_device,files}.
Tails developers [Wed, 9 Nov 2011 18:39:11 +0000 (19:39 +0100)]
Refactoring device scanning in find_{cow_device,files}.

12 years agoClarifying what happens when you don't retry decrypting a device.
Tails developers [Wed, 9 Nov 2011 12:27:03 +0000 (13:27 +0100)]
Clarifying what happens when you don't retry decrypting a device.

12 years agoFixing an incorrectly redirected newline.
Tails developers [Wed, 9 Nov 2011 12:13:09 +0000 (13:13 +0100)]
Fixing an incorrectly redirected newline.

Since this newline was written to stdout it both messed up the the
display of errors while entering a LUKS passphrase, and caused
find_cow_device to return a bad string under certain
circumstances. Example: You have home-rw on /dev/sdX1. You'll first
be asked for passphrase for "live-rw on /dev/sdX1", which you skip (a
newline has been written to stdout now). Then you're asked for
"home-rw on /dev/sdX1", which is what you want so you enter it.
Thanks to the spurious newline find_cow_device returns "\n/dev/loopY",
which breaks some tests later.

12 years agoAdding persistent-method=METHOD...
Tails developers [Tue, 8 Nov 2011 20:14:59 +0000 (21:14 +0100)]
Adding persistent-method=METHOD...

The comma-separated list METHOD... specifies which types of persistent
setups we allow. Current possible METHODs are {snapshot, overlay}. The
default value is both, i.e. persistent-method=snapshot,overlay.