live-boot.git
21 months agoReleasing debian version 4.0~a14-1. debian/4.0_a14-1
Daniel Baumann [Fri, 13 Sep 2013 12:17:54 +0000 (14:17 +0200)]
Releasing debian version 4.0~a14-1.

21 months agoUpdating debhelper install file to include additional scripts in new location.
Daniel Baumann [Fri, 13 Sep 2013 12:20:51 +0000 (14:20 +0200)]
Updating debhelper install file to include additional scripts in new location.

21 months agoAdd support for persistence-storage type "directory".
Jan Blunck [Tue, 3 Sep 2013 09:22:00 +0000 (11:22 +0200)]
Add support for persistence-storage type "directory".

This adds support for mounting a plain writable directory as the
persistence storage layer. The $PERSISTENCE_PATH and the persistence-label
are taken into account when searching for the persistence.conf file.

21 months agoBlacklist devices used for /live/rootfs/* insted of /live/medium.
Jan Blunck [Tue, 3 Sep 2013 08:41:42 +0000 (10:41 +0200)]
Blacklist devices used for /live/rootfs/* insted of /live/medium.

The path /live/medium is used for probing different devices when searching
for the live rootfs. There is no reason why that device should be banned
from being used for persistence storage. Instead the devices that are
actually used as the backing storage for the live rootfs should be banned.

21 months agoRemount writable when moving the mountpoint of the persistence device.
Jan Blunck [Mon, 2 Sep 2013 15:27:41 +0000 (17:27 +0200)]
Remount writable when moving the mountpoint of the persistence device.

If the persistence device has been mounted before, e.g. for mounting the
rootfs image file, then we should try to remount it writable. This way the
result for both cases, 1. was and 2. was not mounted before, are identical.

21 months agoMove check for block device to mount_persistence_media().
Jan Blunck [Mon, 2 Sep 2013 15:03:42 +0000 (17:03 +0200)]
Move check for block device to mount_persistence_media().

We should only check for the persistence media path being a block device
where it is really required which is the case in mount_persistence_media().

21 months agoUse PERSISTENCE_PATH with a trailing "/".
Jan Blunck [Mon, 2 Sep 2013 14:56:39 +0000 (16:56 +0200)]
Use PERSISTENCE_PATH with a trailing "/".

When using PERSISTENCE_PATH we should prepend and append a pathname
separator as this is done with other user provided paths as well, e.g.
LIVE_MEDIA_PATH.

2 years agoUpdating Spanish translation of man pages.
chals [Tue, 25 Jun 2013 18:43:26 +0000 (20:43 +0200)]
Updating Spanish translation of man pages.

2 years agoUpdating the dates in man pages.
chals [Tue, 25 Jun 2013 18:41:09 +0000 (20:41 +0200)]
Updating the dates in man pages.

2 years agoUpdating indenting in network component.
Daniel Baumann [Mon, 24 Jun 2013 20:19:28 +0000 (22:19 +0200)]
Updating indenting in network component.

2 years agoSimplifying /etc/resolv.conf generation a bit.
Daniel Baumann [Mon, 24 Jun 2013 20:18:05 +0000 (22:18 +0200)]
Simplifying /etc/resolv.conf generation a bit.

2 years agoDropping really_export dead code.
Daniel Baumann [Mon, 24 Jun 2013 20:12:40 +0000 (22:12 +0200)]
Dropping really_export dead code.

2 years agoDropping helper function used in one place only which can be replaced with a simple...
Daniel Baumann [Mon, 24 Jun 2013 20:06:14 +0000 (22:06 +0200)]
Dropping helper function used in one place only which can be replaced with a simple ls call anyway.

2 years agoShortening /etc/mtab conditional creation.
Daniel Baumann [Mon, 24 Jun 2013 20:04:17 +0000 (22:04 +0200)]
Shortening /etc/mtab conditional creation.

2 years agoReplacing variable used in one place only with explicit directory for simplicity.
Daniel Baumann [Mon, 24 Jun 2013 20:03:20 +0000 (22:03 +0200)]
Replacing variable used in one place only with explicit directory for simplicity.

2 years agoDropping old pre-wheezy persistence list handling.
Daniel Baumann [Mon, 24 Jun 2013 19:55:50 +0000 (21:55 +0200)]
Dropping old pre-wheezy persistence list handling.

2 years agoDropping old pre-wheezy udevadm handling.
Daniel Baumann [Mon, 24 Jun 2013 19:54:49 +0000 (21:54 +0200)]
Dropping old pre-wheezy udevadm handling.

2 years agoUpdating code to current coding style in a some locations.
Daniel Baumann [Mon, 24 Jun 2013 19:52:58 +0000 (21:52 +0200)]
Updating code to current coding style in a some locations.

2 years agoReplace various mentionings of scripts with components.
Daniel Baumann [Mon, 24 Jun 2013 19:44:41 +0000 (21:44 +0200)]
Replace various mentionings of scripts with components.

2 years agoReorganizing components in source tree.
Daniel Baumann [Mon, 24 Jun 2013 19:38:08 +0000 (21:38 +0200)]
Reorganizing components in source tree.

2 years agoReorganizing frontend in source tree.
Daniel Baumann [Mon, 24 Jun 2013 19:29:10 +0000 (21:29 +0200)]
Reorganizing frontend in source tree.

2 years agoReorganizing backend in source tree.
Daniel Baumann [Mon, 24 Jun 2013 19:27:15 +0000 (21:27 +0200)]
Reorganizing backend in source tree.

2 years agoCalculating size for the whole media "/live/image/", not only the dir "/live/image...
Steven Shiau [Mon, 24 Jun 2013 12:20:43 +0000 (14:20 +0200)]
Calculating size for the whole media "/live/image/", not only the dir "/live/image/live/" when using toram.

2 years agoUpdating Spanish translation of live-boot man page.
chals [Tue, 28 May 2013 12:05:07 +0000 (14:05 +0200)]
Updating Spanish translation of live-boot man page.

2 years agoAllowing to superseed live-boot cmdline through configuration files.
Daniel Baumann [Tue, 28 May 2013 04:52:33 +0000 (06:52 +0200)]
Allowing to superseed live-boot cmdline through configuration files.

2 years agoCorrecting debug variables through out the code to use the same one.
Daniel Baumann [Tue, 28 May 2013 04:47:34 +0000 (06:47 +0200)]
Correcting debug variables through out the code to use the same one.

2 years agoUpdating note about overlay file image names in live-boot manpage, thanks to Peter...
Daniel Baumann [Tue, 28 May 2013 04:35:42 +0000 (06:35 +0200)]
Updating note about overlay file image names in live-boot manpage, thanks to Peter Schaefer <peter.schaefer@physik.hu-berlin.de> (Closes: #701615).

2 years agoReleasing debian version 4.0~a13-1. debian/4.0_a13-1
Daniel Baumann [Mon, 27 May 2013 14:46:15 +0000 (16:46 +0200)]
Releasing debian version 4.0~a13-1.

2 years agoIncreasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets...
Daniel Baumann [Mon, 27 May 2013 14:36:59 +0000 (16:36 +0200)]
Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets <Vincent.VSmeets@gmail.com> (Closes: #709887).

2 years agoReleasing debian version 4.0~a12-1. debian/4.0_a12-1
Daniel Baumann [Wed, 8 May 2013 06:43:01 +0000 (08:43 +0200)]
Releasing debian version 4.0~a12-1.

2 years agoFurther guarding overwriting of /bin/mount by making it dependent on the existence...
Daniel Baumann [Wed, 8 May 2013 06:39:26 +0000 (08:39 +0200)]
Further guarding overwriting of /bin/mount by making it dependent on the existence of /bin/mount.util-linux.

2 years agoMoving overwriting of /bin/mount with /bin/mount.util-linux for httpfs to make it...
Daniel Baumann [Wed, 8 May 2013 06:38:26 +0000 (08:38 +0200)]
Moving overwriting of /bin/mount with /bin/mount.util-linux for httpfs to make it active (Closes: #707116).

2 years agoUpdating manpage wrt/ quickreboot (Closes: #706686).
Daniel Baumann [Mon, 6 May 2013 18:51:00 +0000 (20:51 +0200)]
Updating manpage wrt/ quickreboot (Closes: #706686).

2 years agoReleasing debian version 4.0~a11-1. debian/4.0_a11-1
Daniel Baumann [Mon, 6 May 2013 12:25:28 +0000 (14:25 +0200)]
Releasing debian version 4.0~a11-1.

2 years agoAlso blacklisting findiso and fromiso devices for luks file persistence.
David Hare [Mon, 6 May 2013 12:22:12 +0000 (14:22 +0200)]
Also blacklisting findiso and fromiso devices for luks file persistence.

2 years agoAdding support for luks persistence with persistence files (Closes: #701614).
Peter Schaefer [Mon, 6 May 2013 12:20:31 +0000 (14:20 +0200)]
Adding support for luks persistence with persistence files (Closes: #701614).

2 years agoDon't quote $CIFSOPTS for mount.cifs (Closes: #703746).
Andrew Jeffery [Mon, 6 May 2013 12:12:35 +0000 (14:12 +0200)]
Don't quote $CIFSOPTS for mount.cifs (Closes: #703746).

Quoting $CIFSOPTS passed the literal string "-o user=root,password=" to
mount.cifs, killing mount.cifs with a SIGSEGV. Rather, -o should be
properly space delimited by passing $CIFSOPTS unquoted for options to be
parsed correctly.

2 years agoSelect BOOTIF device if defined for netboot (Closes: #703744).
Andrew Jeffery [Mon, 6 May 2013 12:07:24 +0000 (14:07 +0200)]
Select BOOTIF device if defined for netboot (Closes: #703744).

Avoid probing all the devices again if we know which device we've booted
from.

2 years agoCorrecting leftovers from old variable handling for BOOTIF, thanks to Andrew Jeffery...
Daniel Baumann [Mon, 6 May 2013 12:04:54 +0000 (14:04 +0200)]
Correcting leftovers from old variable handling for BOOTIF, thanks to Andrew Jeffery <andrewj@avalon.com.au> (Closes: #703743).

2 years agoRenaming main function to live for consistent namespace.
Daniel Baumann [Fri, 26 Apr 2013 07:42:14 +0000 (09:42 +0200)]
Renaming main function to live for consistent namespace.

2 years agoRenumbering the first three early scripts.
Daniel Baumann [Fri, 26 Apr 2013 07:39:47 +0000 (09:39 +0200)]
Renumbering the first three early scripts.

2 years agoFixing the use of one preposition in the Spanish translation of the man pages.
chals [Sat, 13 Apr 2013 20:50:24 +0000 (22:50 +0200)]
Fixing the use of one preposition in the Spanish translation of the man pages.

2 years agoUpdating the Spanish translation of persistence.conf man page.
chals [Sat, 13 Apr 2013 14:58:48 +0000 (16:58 +0200)]
Updating the Spanish translation of persistence.conf man page.

2 years agoUpdating the Spanish translation of live-boot man page.
chals [Sat, 13 Apr 2013 14:58:13 +0000 (16:58 +0200)]
Updating the Spanish translation of live-boot man page.

2 years agoUpdating dates in man pages.
chals [Sat, 13 Apr 2013 14:52:05 +0000 (16:52 +0200)]
Updating dates in man pages.

2 years agoReleasing debian version 4.0~a10-1. debian/4.0_a10-1
Daniel Baumann [Mon, 1 Apr 2013 06:21:09 +0000 (08:21 +0200)]
Releasing debian version 4.0~a10-1.

2 years agoUsing is_live_path() in mount_images_in_directory() to avoid redundant logic.
Michael Stummvoll [Wed, 27 Mar 2013 15:33:17 +0000 (16:33 +0100)]
Using is_live_path() in mount_images_in_directory() to avoid redundant logic.

mount_images_in_directory() had is own logic for checking if this is a live
path which was redundant, so I used is_live_path().

2 years agoFixing a bug with multiple files in is_live_path after the last commit.
Michael Stummvoll [Wed, 27 Mar 2013 15:22:05 +0000 (16:22 +0100)]
Fixing a bug with multiple files in is_live_path after the last commit.

The version in the last commit has a bug handling multiple files in
is_live_path, the fix introduces file_pattern_matches() which checks for $1
only. So even if there are multiple files matching the pattern only the first
one will go into the [ -e ... ] expression.

2 years agoSimplifying if statement in is_live_system function.
Michael Stummvoll [Fri, 22 Mar 2013 09:53:10 +0000 (10:53 +0100)]
Simplifying if statement in is_live_system function.

2 years agoFixing condition for setting rootfs_dest_backing.
Evgeni Golov [Mon, 11 Mar 2013 08:17:58 +0000 (09:17 +0100)]
Fixing condition for setting rootfs_dest_backing.

The fix for the opt_link check in d5ed942 broke the code as it inverted the
meaning. Previously it ran the code iff opt_link was empty, as [ -n ] is
true. In the case opt_link was not empty, the code evaluated to [ -n foo],
which is invalid syntax and thus false. This, however, was almost the expected
behaviour, as rootfs_dest_backing is needed for opt_union and (in read-only
mode) for opt_link.

2 years agoDebranding package for derivatives.
Daniel Baumann [Mon, 11 Mar 2013 08:15:39 +0000 (09:15 +0100)]
Debranding package for derivatives.

2 years agoReleasing debian version 4.0~a9-1. debian/4.0_a9-1
Daniel Baumann [Sun, 10 Mar 2013 21:14:24 +0000 (22:14 +0100)]
Releasing debian version 4.0~a9-1.

2 years agoRemoving all references to my old email address.
Daniel Baumann [Sun, 10 Mar 2013 18:30:30 +0000 (19:30 +0100)]
Removing all references to my old email address.

2 years agoReleasing debian version 4.0~a8-1. debian/4.0_a8-1
Daniel Baumann [Sun, 10 Mar 2013 18:03:23 +0000 (19:03 +0100)]
Releasing debian version 4.0~a8-1.

2 years agoTransforming link targets so they work after the mount was moved (Closes: #702421).
Evgeni Golov [Wed, 6 Mar 2013 14:21:12 +0000 (15:21 +0100)]
Transforming link targets so they work after the mount was moved (Closes: #702421).

2 years agoChecking for ${overlay}, not ${device} when trying to close ${overlay}.
Evgeni Golov [Wed, 6 Mar 2013 14:20:46 +0000 (15:20 +0100)]
Checking for ${overlay}, not ${device} when trying to close ${overlay}.

2 years agoFixing invalid syntax in test for opt_link.
Evgeni Golov [Wed, 6 Mar 2013 14:19:54 +0000 (15:19 +0100)]
Fixing invalid syntax in test for opt_link.

2 years agoCorrecting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>.
Daniel Baumann [Fri, 1 Mar 2013 19:44:41 +0000 (20:44 +0100)]
Correcting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>.

2 years agoDropping conditionals in backend, stuff is either there or not but not nothing in...
Daniel Baumann [Fri, 1 Mar 2013 09:45:44 +0000 (10:45 +0100)]
Dropping conditionals in backend, stuff is either there or not but not nothing in between.

2 years agoDropping pre-squeeze udev conditionals in initramfs-tools hook.
Daniel Baumann [Thu, 28 Feb 2013 21:34:50 +0000 (22:34 +0100)]
Dropping pre-squeeze udev conditionals in initramfs-tools hook.

2 years agoMoving dracut entry-point stub to backends.
Daniel Baumann [Thu, 28 Feb 2013 21:28:36 +0000 (22:28 +0100)]
Moving dracut entry-point stub to backends.

2 years agoMoving initramfs-tools entry-point to backends.
Daniel Baumann [Thu, 28 Feb 2013 21:27:24 +0000 (22:27 +0100)]
Moving initramfs-tools entry-point to backends.

2 years agoReleasing debian version 4.0~a7-1. debian/4.0_a7-1
Daniel Baumann [Tue, 19 Feb 2013 04:49:44 +0000 (05:49 +0100)]
Releasing debian version 4.0~a7-1.

2 years agoMaking loadkeys call quiet in order to not mess-up persistence, thanks to stack ...
Daniel Baumann [Tue, 19 Feb 2013 04:48:32 +0000 (05:48 +0100)]
Making loadkeys call quiet in order to not mess-up persistence, thanks to stack <stack@inventati.org> (Closes: #700902).

2 years agoSilencing unmounting of potentially stray tmpfs on /live/overlay.
Daniel Baumann [Sun, 17 Feb 2013 14:53:53 +0000 (15:53 +0100)]
Silencing unmounting of potentially stray tmpfs on /live/overlay.

2 years agoReleasing debian version 4.0~a6-1. debian/4.0_a6-1
Daniel Baumann [Fri, 15 Feb 2013 07:57:21 +0000 (08:57 +0100)]
Releasing debian version 4.0~a6-1.

2 years agoAdding 3.0.1-1 changelog entries.
Daniel Baumann [Fri, 15 Feb 2013 07:55:26 +0000 (08:55 +0100)]
Adding 3.0.1-1 changelog entries.

2 years agoUpdating Spanish translation of live-boot man page, persistence-label.
chals [Tue, 12 Feb 2013 13:31:03 +0000 (14:31 +0100)]
Updating Spanish translation of live-boot man page, persistence-label.

2 years agoReleasing debian version 4.0~a5-1. debian/4.0_a5-1
Daniel Baumann [Tue, 12 Feb 2013 07:29:39 +0000 (08:29 +0100)]
Releasing debian version 4.0~a5-1.

2 years agoUpdating manpage for persistence-label, thanks to Mike Gach <gach.mqt@gmail.com>...
Daniel Baumann [Tue, 12 Feb 2013 07:28:13 +0000 (08:28 +0100)]
Updating manpage for persistence-label, thanks to Mike Gach <gach.mqt@gmail.com> (Closes: #697873).

2 years agoAdding 3.0.0-1 changelog entries.
Daniel Baumann [Tue, 12 Feb 2013 07:24:14 +0000 (08:24 +0100)]
Adding 3.0.0-1 changelog entries.

2 years agoFixing mounting of rootfs, cow and medium filesystems (Closes: #696495).
Gaudenz Steinlin [Tue, 12 Feb 2013 07:14:17 +0000 (08:14 +0100)]
Fixing mounting of rootfs, cow and medium filesystems (Closes: #696495).

2 years agoFixing support for multiple squashfs images (Closes: #696494).
Gaudenz Steinlin [Tue, 12 Feb 2013 07:12:41 +0000 (08:12 +0100)]
Fixing support for multiple squashfs images (Closes: #696494).

2 years agoRemoving some dead code in netbase parts.
Daniel Baumann [Tue, 12 Feb 2013 07:08:44 +0000 (08:08 +0100)]
Removing some dead code in netbase parts.

2 years agoCalling df with -P to avoid line wraps with overly long mountpoints.
Daniel Baumann [Wed, 23 Jan 2013 22:02:29 +0000 (23:02 +0100)]
Calling df with -P to avoid line wraps with overly long mountpoints.

2 years agoDropping dpkg compression level.
Daniel Baumann [Wed, 23 Jan 2013 13:06:48 +0000 (14:06 +0100)]
Dropping dpkg compression level.

2 years agoUpdating Spanish translation in respect to noeject.
chals [Tue, 8 Jan 2013 13:02:30 +0000 (14:02 +0100)]
Updating Spanish translation in respect to noeject.

2 years agoUpdating noeject description in manpage.
Daniel Baumann [Tue, 8 Jan 2013 06:00:00 +0000 (07:00 +0100)]
Updating noeject description in manpage.

2 years agoReplace noprompt with noeject on manpage.
Richard Nelson [Tue, 8 Jan 2013 02:33:29 +0000 (20:33 -0600)]
Replace noprompt with noeject on manpage.

2 years agoUpdating manpage year handling for 2013.
Daniel Baumann [Wed, 2 Jan 2013 11:51:53 +0000 (12:51 +0100)]
Updating manpage year handling for 2013.

2 years agoReleasing debian version 4.0~a4-1. debian/4.0_a4-1
Daniel Baumann [Wed, 2 Jan 2013 10:37:19 +0000 (11:37 +0100)]
Releasing debian version 4.0~a4-1.

2 years agoAdding 3.0~b11-1 changelog entries.
Daniel Baumann [Wed, 2 Jan 2013 10:36:05 +0000 (11:36 +0100)]
Adding 3.0~b11-1 changelog entries.

2 years agoBy default including sha256sum only in progress-linux, keep md5sum legacy for debian.
Daniel Baumann [Wed, 2 Jan 2013 10:29:26 +0000 (11:29 +0100)]
By default including sha256sum only in progress-linux, keep md5sum legacy for debian.

2 years agoCorrecting legacy filename for checksum files.
Daniel Baumann [Wed, 2 Jan 2013 10:24:28 +0000 (11:24 +0100)]
Correcting legacy filename for checksum files.

2 years agoSupporting legacy filenames for checksums in debian within verify-checksums.
Daniel Baumann [Wed, 2 Jan 2013 09:43:47 +0000 (10:43 +0100)]
Supporting legacy filenames for checksums in debian within verify-checksums.

2 years agoUpdating year in copyright file.
Daniel Baumann [Mon, 31 Dec 2012 23:09:54 +0000 (00:09 +0100)]
Updating year in copyright file.

2 years agoReleasing debian version 4.0~a3-1. debian/4.0_a3-1
Daniel Baumann [Mon, 17 Dec 2012 19:28:01 +0000 (20:28 +0100)]
Releasing debian version 4.0~a3-1.

2 years agoAdding 3.0~b10-1 changelog entries.
Daniel Baumann [Mon, 17 Dec 2012 19:26:39 +0000 (20:26 +0100)]
Adding 3.0~b10-1 changelog entries.

2 years agoCleaning up manpage po files.
Daniel Baumann [Sun, 16 Dec 2012 19:56:17 +0000 (20:56 +0100)]
Cleaning up manpage po files.

2 years agoUpdate manpage information of ip= param to correctly reflect what 9990-netbase.sh...
Richard Nelson [Sun, 16 Dec 2012 03:02:54 +0000 (21:02 -0600)]
Update manpage information of ip= param to correctly reflect what 9990-netbase.sh expects.

2 years agoCorrecting spelling typo in bug script.
Daniel Baumann [Thu, 13 Dec 2012 17:23:40 +0000 (18:23 +0100)]
Correcting spelling typo in bug script.

2 years agoMaking overwriting of /bin/mount within initramfs with mount.util-linux dependent...
Daniel Baumann [Wed, 12 Dec 2012 15:43:21 +0000 (16:43 +0100)]
Making overwriting of /bin/mount within initramfs with mount.util-linux dependent on fuse usage, not on some additional boot parameter.

2 years agoIncluding util-linux mount in initramfs.
Michal Suchanek [Fri, 5 Oct 2012 13:32:05 +0000 (15:32 +0200)]
Including util-linux mount in initramfs.

2 years agoAdding live-tools to recommends.
Daniel Baumann [Wed, 12 Dec 2012 15:08:33 +0000 (16:08 +0100)]
Adding live-tools to recommends.

2 years agoReleasing debian version 4.0~a2-1. debian/4.0_a2-1
Daniel Baumann [Mon, 10 Dec 2012 19:06:38 +0000 (20:06 +0100)]
Releasing debian version 4.0~a2-1.

2 years agoAdding 3.0~b9-1 changelog entries.
Daniel Baumann [Mon, 10 Dec 2012 19:04:36 +0000 (20:04 +0100)]
Adding 3.0~b9-1 changelog entries.

2 years agoUsing 'local' in a safe way.
Tails developers [Fri, 7 Dec 2012 21:31:36 +0000 (22:31 +0100)]
Using 'local' in a safe way.

First of all, 'local' is non-POSIX, but it is a really good safeguard
against hard-to-find bugs. However, doing a local + initializing combo
like `local X=$Y` in dash is error prone. If `Y=1 2` will get an error
since dash will expand $Y so we get `local X=1 2`, but it will treat
the "2" as another variable to be made local, which isn't what we
want. Hence, let's declare variables local and initialize them in
separate commands, which is safe.

2 years agoFixing persistence-media option when no devices are attached.
Tails developers [Fri, 7 Dec 2012 21:30:27 +0000 (22:30 +0100)]
Fixing persistence-media option when no devices are attached.

Earlier, if it was set to e.g. 'removable-usb' and no USB storage was
connected, $whitelistdev would be empty, which is interpreted like all
devices are ok by the rest of the code.

2 years agoHandling already mounted persistence backing media correctly.
Tails developers [Fri, 7 Dec 2012 21:29:15 +0000 (22:29 +0100)]
Handling already mounted persistence backing media correctly.

I.e. treat the case where a backing media already had been mounted in
the expected place like a success (by printing the mount dir). This
doesn't fix any bug in live-boot, but it will come in handy for the
(soon-to-come) script for activating custom persistence in user-space.

While we're at it, document this function.

2 years agoMaking the /live to /lib/live move for the persistence code.
Tails developers [Fri, 7 Dec 2012 21:27:51 +0000 (22:27 +0100)]
Making the /live to /lib/live move for the persistence code.

Exposing /lib/live/mount/persistence in user-space is highly relevant
for the (soon-to-come) tool for activating persistence post-initramfs.
We want to use the same persistence code for both scenarios, and avoid
using different cases for them, so we make it only use /lib/live.

Similarly we also make sure that persistence modes using unions use
the same copy-on-write dir or "overlay" (i.e. /lib/live/mount/overlay)
in order to make them work as intended.