summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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-02-03Add overlayfs support (Closes: #658265).Michal Suchanek
2011-12-01Removing quotes from udev path_id command to actually execute the command.Daniel Baumann
2011-11-24Adding workaround for a busybox bug with grep -w.Tails developers
See: https://bugs.busybox.net/show_bug.cgi?id=4520
2011-11-24Making persistent-read-only work for live-rw overlays.Tails developers
2011-11-24Making persistent-read-only work for home-rw overlays.Tails developers
2011-11-24Changing persistent-encryption to accept a list TYPE... instead.Tails developers
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.
2011-11-24Adding persistent-read-only boot parameter.Tails developers
It currently only makes snapshots read-only. Support for overlays will be a bit more complicated to implement.
2011-11-24Disabling persistent-encryption=luks if dependencies are unavailable.Tails developers
Current dependencies are dm-crypt, cryptsetup and askpass.
2011-11-24Fixing a "sh: bad number" when $offset is not passed to setup_loop().Tails developers