Daniel Baumann [Tue, 5 Jun 2012 14:39:52 +0000 (16:39 +0200)]
Consistenly using 'true' instead of 'Yes' or 'yes' when using booleans.
Daniel Baumann [Tue, 5 Jun 2012 14:34:14 +0000 (16:34 +0200)]
Converting select_eth_device initramfs-tools pre-mount script into regular live-boot script.
Daniel Baumann [Tue, 5 Jun 2012 14:16:58 +0000 (16:16 +0200)]
Removing dead lang2locale function and associated files, not used anywhere.
Daniel Baumann [Tue, 5 Jun 2012 14:03:47 +0000 (16:03 +0200)]
Releasing debian version 3.0~a29-1.
Daniel Baumann [Tue, 5 Jun 2012 13:59:20 +0000 (15:59 +0200)]
Converting read-only initramfs-tools pre-mount script into regular live-boot script.
Daniel Baumann [Tue, 5 Jun 2012 13:50:33 +0000 (15:50 +0200)]
Removing live-premount modules script, not needed anymore.
This script did two things:
* forcefully load ide-generic to workaround a bug in qemu bios
that made it hang during ide detection. This has been fixed
4 years ago in qemu, so it's not required to do this anymore.
* forcefully load esp on sparc. This is being loaded automatically
by udev these days and should be reliable enough.
Daniel Baumann [Tue, 5 Jun 2012 13:45:40 +0000 (15:45 +0200)]
Moving out live-functions from initramfs-tools specifics.
Daniel Baumann [Tue, 5 Jun 2012 13:33:35 +0000 (15:33 +0200)]
Adding commented 'set -e' explicitly in all subscripts to avoid running it with 'set -e' until we've made sure it's properly working.
Daniel Baumann [Tue, 5 Jun 2012 13:18:31 +0000 (15:18 +0200)]
Moving out live-helpers from initramfs-tools specifics.
Daniel Baumann [Tue, 5 Jun 2012 12:46:19 +0000 (14:46 +0200)]
Splitting out a first bunch of functions out to /live/live/boot/.
Daniel Baumann [Tue, 5 Jun 2012 12:36:14 +0000 (14:36 +0200)]
Replacing live initramfs-tools script with empty stub that calls the real, in future being initramfs-tools independent, script from /lib/live.
Daniel Baumann [Tue, 5 Jun 2012 12:20:59 +0000 (14:20 +0200)]
Starting initramfs-tools specific subdirectory within the source-tree.
Daniel Baumann [Tue, 5 Jun 2012 11:44:09 +0000 (13:44 +0200)]
Automatically translate date formats in po files.
Daniel Baumann [Mon, 4 Jun 2012 15:38:37 +0000 (17:38 +0200)]
Releasing debian version 3.0~a28-1.
Evgeni Golov [Mon, 28 May 2012 10:56:13 +0000 (12:56 +0200)]
Fixing two typos and a wrong word in comments.
chals [Thu, 24 May 2012 12:44:05 +0000 (14:44 +0200)]
Adding initial Spanish translation of man pages.
chals [Thu, 24 May 2012 12:38:50 +0000 (14:38 +0200)]
Fixing several typos in man pages.
Tails developers [Wed, 9 May 2012 10:55:03 +0000 (12:55 +0200)]
Implement and make use of robust list functions.
Ian Reinhart Geiser [Mon, 30 Apr 2012 17:44:22 +0000 (17:44 +0000)]
Fix to allow for multiple rof when exposed roots is disabled.
Daniel Baumann [Tue, 10 Apr 2012 10:40:59 +0000 (12:40 +0200)]
Using boot.log and /var/log/live/boot.log respectively for overall consistency within all debian-live tools.
Tails developers [Tue, 10 Apr 2012 09:48:29 +0000 (11:48 +0200)]
Improving robustness of fromiso cleanup process with is_mountpoint (Closes: #668100).
Tails developers [Tue, 10 Apr 2012 09:44:59 +0000 (11:44 +0200)]
Mounting fromiso filesystem on /live/fromiso instead of /fromiso, thanks to adrian15 <adrian15sgd@gmail.com>.
Tails developers [Tue, 10 Apr 2012 09:43:30 +0000 (11:43 +0200)]
Using fromiso in most places where isofrom was used, thanks to adrian15 <adrian15sgd@gmail.com>.
Tails developers [Mon, 9 Apr 2012 17:21:36 +0000 (19:21 +0200)]
Improving robustness of findiso cleanup process.
...by checking exactly the same directory as the one we are unmounting.
Daniel Baumann [Mon, 9 Apr 2012 16:58:30 +0000 (18:58 +0200)]
Releasing debian version 3.0~a27-1.
Tails developers [Mon, 9 Apr 2012 14:11:16 +0000 (16:11 +0200)]
Only try copying snapshots if we actually found any.
Tails developers [Mon, 9 Apr 2012 14:10:58 +0000 (16:10 +0200)]
Fix typo to make home-sn snapshots work again.
Tails developers [Mon, 9 Apr 2012 14:07:35 +0000 (16:07 +0200)]
Do not probe the device mounted on /live/image for persistence.
Tails developers [Mon, 9 Apr 2012 14:06:55 +0000 (16:06 +0200)]
Supress warnings when probing media for persistence.
Tails developers [Mon, 9 Apr 2012 14:05:48 +0000 (16:05 +0200)]
Allow using / as destination in custom mounts.
Also make this backwards compatible with live-rw labelled volumes.
Daniel Baumann [Mon, 9 Apr 2012 13:13:58 +0000 (15:13 +0200)]
Renamling linkfiles option when using persistence to simply link.
Daniel Baumann [Mon, 9 Apr 2012 13:12:18 +0000 (15:12 +0200)]
Updating toplevel Makefile to work with manpages having multiple dots in its filename.
Daniel Baumann [Sun, 8 Apr 2012 20:35:19 +0000 (22:35 +0200)]
Merging old changelog into current changelog.
Daniel Baumann [Sun, 8 Apr 2012 20:31:04 +0000 (22:31 +0200)]
Removing old docs.
This is old stuff which, for historic reasons, is available in
the old svn dump (changelog), or included in the changelog itself
(cedits), or otherwise irrelevant (changelog for casper, parameters).
Tails developers [Sun, 8 Apr 2012 18:30:16 +0000 (20:30 +0200)]
Removing leftover directory after unmounting.
Tails developers [Sun, 8 Apr 2012 18:28:16 +0000 (20:28 +0200)]
Fixing brace alignment to follow common code style.
Tails developers [Sun, 8 Apr 2012 18:26:49 +0000 (20:26 +0200)]
Removing overkill double-checking of return code in is_mountpoint predicate.
Tails developers [Sun, 8 Apr 2012 18:25:41 +0000 (20:25 +0200)]
Fixing findiso argument parsing place to match the existing ordering.
Tails developers [Sun, 8 Apr 2012 18:23:57 +0000 (20:23 +0200)]
Adding support for the findiso boot parameter (Closes: #656135).
Thanks to the grml team for the initial patch,
thanks to adrian15sgd@gmail.com for bringing it to a mergeable state.
Daniel Baumann [Sun, 8 Apr 2012 17:38:47 +0000 (19:38 +0200)]
Renaming live.persist to live-persistence.conf.
Daniel Baumann [Sun, 8 Apr 2012 20:46:39 +0000 (22:46 +0200)]
Making extraction of the manpage section in manpages/Makefile work with multiple dots in the filename.
Daniel Baumann [Sun, 8 Apr 2012 16:29:45 +0000 (18:29 +0200)]
Using 'persistence' (noun) rather than 'persistent' (adjective/adverb) everywhere.
Daniel Baumann [Sun, 8 Apr 2012 15:47:57 +0000 (17:47 +0200)]
Renaming /live/cow to /live/overlay in anticipation of overlayfs.
Daniel Baumann [Sun, 8 Apr 2012 15:04:42 +0000 (17:04 +0200)]
Removing user and userfullname variables in scripts/live, they are not used here sind live-config anymore.
Daniel Baumann [Sun, 8 Apr 2012 10:28:23 +0000 (12:28 +0200)]
Consistently using ext4 in all examples, not a mix of ext2 and ext3.
Daniel Baumann [Sun, 8 Apr 2012 09:42:29 +0000 (11:42 +0200)]
Replacing 'illegal' with better fitting 'invalid' for wrongly crafted input examples in live.persist manpage.
Daniel Baumann [Fri, 6 Apr 2012 11:02:15 +0000 (13:02 +0200)]
Removing outdated and broken accessibility script, this will be redone in live-config properly.
Daniel Baumann [Fri, 6 Apr 2012 10:10:46 +0000 (12:10 +0200)]
Removing header in fstab, not required.
Daniel Baumann [Fri, 6 Apr 2012 10:05:51 +0000 (12:05 +0200)]
Removing preseed bottom-script, a newly written one is now in live-config where this sort of things belong.
Daniel Baumann [Fri, 6 Apr 2012 08:38:00 +0000 (10:38 +0200)]
Only looking at boot.d files if they have the .conf suffix to allow putting other files into these places that do not necessarily need to be used by live-boot (e.g. documentation).
Daniel Baumann [Thu, 5 Apr 2012 06:19:33 +0000 (08:19 +0200)]
Releasing debian version 3.0~a26-1.
Daniel Baumann [Thu, 5 Apr 2012 06:05:20 +0000 (08:05 +0200)]
Moving initscript to live-config.
Keeping the initscript in live-boot is not really maintainable
for different init systems. We would need to have, like live-config,
several backend packages (live-boot-sysvinit, live-boot-systemd,
live-boot-upstart) etc., plus, every combination with the
different initrd system backend (initramfs-tools, dracut).
Daniel Baumann [Thu, 5 Apr 2012 05:59:29 +0000 (07:59 +0200)]
Correcting left-over in author section of live.persist manpage.
Tails developers [Mon, 26 Mar 2012 17:23:56 +0000 (19:23 +0200)]
Make cases for all different custom mounting situations more explicit.
The old code had grown wild over time and was hard to follow, and
consequently contained bugs (all related to linkfiles custom mounts in
read-only mode) that that became obvious and were fixed solely all
thanks to this re-write.
Tails developers [Mon, 26 Mar 2012 17:22:47 +0000 (19:22 +0200)]
Copy perms/ownership from source when creating linkfiles dest dirs.
Tails developers [Mon, 26 Mar 2012 17:21:40 +0000 (19:21 +0200)]
Use trim_path() instead of custom sed stanza to trim /:es from paths.
Tails developers [Mon, 26 Mar 2012 14:29:19 +0000 (16:29 +0200)]
Add 'bind' option for the default behaviour of custom mounts (bind-mount).
Tails developers [Mon, 26 Mar 2012 13:48:15 +0000 (15:48 +0200)]
Fix ownership for links created for linkfiles custom mounts.
Tails developers [Sat, 24 Mar 2012 18:29:36 +0000 (19:29 +0100)]
Adding functions equivalent to chmod/chown --reference.
This option is apparently not present in busybox.
Tails developers [Fri, 23 Mar 2012 11:54:17 +0000 (12:54 +0100)]
Delete existing files in the destination's path when creating it.
Tails developers [Fri, 23 Mar 2012 11:38:48 +0000 (12:38 +0100)]
Update live-boot(7) man page and add new one for live.persist(5).
Tails developers [Thu, 22 Mar 2012 18:44:24 +0000 (19:44 +0100)]
Also create parents when creating union/linkfiles source directories.
Otherwise the it breaks with "source=a/b" if "a" doesn't exist etc.
Tails developers [Thu, 22 Mar 2012 18:43:55 +0000 (19:43 +0100)]
Remove cow dir contents that are in the way for custom mounts.
This is mostly relevant if you activate persistence post boot; in that
case you (or live-config) may have modified or added some file, which
makes it appear in the cow dir. If you later activate a persistent
volume which contains that file, the old file will "block" the one
from the persistent volume, which likely isn't what you expect.
Tails developers [Thu, 22 Mar 2012 13:20:32 +0000 (14:20 +0100)]
Improve error message.
Tails developers [Tue, 20 Mar 2012 16:37:58 +0000 (17:37 +0100)]
Make two custom mounts with nested source directories illegal.
Tails developers [Tue, 20 Mar 2012 16:36:18 +0000 (17:36 +0100)]
Make trim_path() handle "/", and arbitrarily many consecutive /:es.
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.
Tails developers [Mon, 19 Mar 2012 22:42:14 +0000 (23:42 +0100)]
Add a note about a potential, future code simplification.
Tails developers [Mon, 19 Mar 2012 22:41:26 +0000 (23:41 +0100)]
Do not allow mutually exclusive custom mount options.
Tails developers [Mon, 19 Mar 2012 22:06:13 +0000 (23:06 +0100)]
Fix ownership/perms for created union/linkfiles source dirs.
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.
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.
Tails developers [Thu, 1 Mar 2012 13:53:48 +0000 (14:53 +0100)]
Change live.persist syntax to "SOURCE [DEST [OPTIONS...]]".
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.
Tails developers [Fri, 24 Feb 2012 13:41:30 +0000 (14:41 +0100)]
Handle list arguments better in get_custom_mounts().
Tails developers [Thu, 23 Feb 2012 16:33:45 +0000 (17:33 +0100)]
Make handling of LUKS encrypted GPT partitions more sane.
Tails developers [Mon, 20 Feb 2012 10:51:14 +0000 (11:51 +0100)]
Use trim_path when we compare 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.
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.
Tails developers [Fri, 17 Feb 2012 15:34:44 +0000 (16:34 +0100)]
Cleanup.
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.
Tails developers [Wed, 15 Feb 2012 12:05:33 +0000 (13:05 +0100)]
Fixup some style issues.
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.
Tails developers [Wed, 15 Feb 2012 11:03:56 +0000 (12:03 +0100)]
We don't black list storage devices any more.
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.
Tails developers [Tue, 14 Feb 2012 15:48:52 +0000 (16:48 +0100)]
Handle already mounted devices and closing of unused luks devices better.
Tails developers [Tue, 14 Feb 2012 15:45:14 +0000 (16:45 +0100)]
Some minor cleanups.
Tails developers [Tue, 14 Feb 2012 15:42:47 +0000 (16:42 +0100)]
Add support for probing partitions' GPT name just like filesystem labels.
Tails developers [Tue, 14 Feb 2012 15:39:13 +0000 (16:39 +0100)]
Refactor find_persistent_media().
Tails developers [Tue, 14 Feb 2012 15:35:52 +0000 (16:35 +0100)]
Refactor some global variables 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.
Daniel Baumann [Wed, 4 Apr 2012 08:50:11 +0000 (10:50 +0200)]
Adjusting mount calls when using nfs options (Closes: #667435).
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.
Tails developers [Sat, 11 Feb 2012 20:30:53 +0000 (21:30 +0100)]
Use same device backing path as used in other places.
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.
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.
Daniel Baumann [Sun, 1 Apr 2012 20:10:13 +0000 (22:10 +0200)]
Correcting syntax when using if constructs in links_files().
Tails developers [Thu, 9 Feb 2012 16:26:31 +0000 (17:26 +0100)]
Fix mask usage in links_files().
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.
Tails developers [Thu, 9 Feb 2012 11:18:10 +0000 (12:18 +0100)]
Remove the correct file.