summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-05Refactor closing of persistent devices upon failure.Tails developers
Errors can occur at various places so it's best to just do it once in a consistent manner.
2012-04-05Change live.persist syntax to "SOURCE [DEST [OPTIONS...]]".Tails developers
2012-04-05Copy ownership/perms from source to rw-branch in read-only mode.Tails developers
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.
2012-04-05Handle list arguments better in get_custom_mounts().Tails developers
2012-04-05Make handling of LUKS encrypted GPT partitions more sane.Tails developers
2012-04-05Use trim_path when we compare paths.Tails developers
2012-04-05Don't allow . or .. in live.persist paths.Tails developers
Allowing it could cause serious breakage, and there's absolutely no need for it.
2012-04-05Remove two FIXME:s that are not really relevant.Tails developers
We could handle those cases, but it wouldn't give us anything; the sort-by-destination we do later makes it work just fine.
2012-04-05Cleanup.Tails developers
2012-04-05Refactor mounting of persistent storage media.Tails developers
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.
2012-04-05Fixup some style issues.Tails developers
2012-04-05Check if luks device is already open before trying to open it.Tails developers
2012-04-05We don't black list storage devices any more.Tails developers
2012-04-05Add backwards compatibility for old labels: live-{rw,sn} and home-rw.Tails developers
For home-rw we create a live.persist file which make old volumes completely compatible with the custom mounts system.
2012-04-05Handle already mounted devices and closing of unused luks devices better.Tails developers
2012-04-05Some minor cleanups.Tails developers
2012-04-05Add support for probing partitions' GPT name just like filesystem labels.Tails developers
2012-04-05Refactor find_persistent_media().Tails developers
2012-04-05Refactor some global variables from live into live-helpers.Tails developers
2012-04-05Refactor live-boot argument parser from live into live-helpers.Tails developers
This will be useful for making it possible to enable persistent during user-space.
2012-04-04Adjusting mount calls when using nfs options (Closes: #667435).Daniel Baumann
2012-04-01Close unused LUKS devices in all cases.Tails developers
Previously LUKS partitions whose fs had the incorrect partition label would be left open when using persistent-storage=partition.
2012-04-01Use same device backing path as used in other places.Tails developers
2012-04-01Accept using several persistent media with custom-ov label.Tails developers
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.
2012-04-01Refactor persistent custom mounting from live into live-helpers.Tails developers
This will be useful for making it possible to enable persistent during user-space.
2012-04-01Correcting syntax when using if constructs in links_files().Daniel Baumann
2012-04-01Fix mask usage in links_files().Tails developers
2012-04-01Optionally mount custom mounts as unions.Tails developers
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.
2012-04-01Remove the correct file.Tails developers
2012-04-01Ignore empty lines in live.persist.Tails developers
Otherwise they're interpreted as / which isn't good.
2012-04-01Make union mounting more sensible and robust.Tails developers
...except that they're broken! But we're getting to that.
2012-04-01Workaround busybox's inability to detect symlinks with [ -e ].Tails developers
link_files() won't remove symlinks at the destination, which could cause trouble.
2012-04-01Refactor union mounting into its own function.Tails developers
2012-04-01Continue the correct for-loop so incorrect custom mount is skipped.Tails developers
2012-04-01Handle custom mounts options a bit more beautifully.Tails developers
2012-04-01Calling rm without -f when removing some temporary custom mount related ↵Daniel Baumann
files to ensure non-interactivity.
2012-04-01Remove some temporary custom mount related files after they're used.Tails developers
2012-04-01Separate overlay labels for full and custom persistence.Tails developers
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.
2012-04-01Optionally symlink files from persistent source instead of mount it.Tails developers
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.
2012-04-01Prevent custom mounting in /live.Tails developers
2012-04-01Avoid '==' bashism in initial work on a custom mounts system to ensure posix ↵Daniel Baumann
compatiblity.
2012-04-01Avoid calling rm without -f in initial work on a custom mounts system to ↵Daniel Baumann
ensure non-interactivity.
2012-04-01Correcting indenting initial work on a custom mounts system to ensure ↵Daniel Baumann
consistency.
2012-04-01Adding initial work on a custom mounts system.Tails developers
2012-03-30Removing some of the now useless sysvinit specifics from bin/boot.sh.Daniel Baumann
2012-03-30Replacing live-boot initscript with a stub and moving the actual code to ↵Daniel Baumann
/lib/live/boot.sh to allow different initsystem support in future.
2012-03-30Correcting log_end_msg usages in connection with verbosity checks in ↵Daniel Baumann
live-boot initscript, thanks to Pablo Barbachano <pablobarbachano@yahoo.es> (Closes: #665689).
2012-03-06Quoting noprompt variable in initscript to avoid syntax errors, thanks to ↵Daniel Baumann
Philip Newborough <corenominal@corenominal.org>.
2012-02-26Updating to standards version 3.9.3.Daniel Baumann
2012-02-26Updating copyright file machine-readable format version 1.0.Daniel Baumann