summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
2011-11-24Refactoring overlay and snapshot scanning code.Tails developers
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.
2011-11-24Making use of is_supported_fs in find_cow_devices (like in find_files).Tails developers
2011-11-24Refactoring device scanning in find_{cow_device,files}.Tails developers
2011-11-24Clarifying what happens when you don't retry decrypting a device.Tails developers
2011-11-24Fixing an incorrectly redirected newline.Tails developers
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.
2011-11-24Adding persistent-method=METHOD...Tails developers
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.
2011-11-24Removing now obsolete persistent=* arguments.Tails developers
These type of options has have been replaced by persistent-encryption and persistent-storage.
2011-11-24Adding persistent-storage=TYPE...Tails developers
The comma-separated list TYPE... specifies which types of persistent storage to use. Current possible TYPEs are {file, filesystem}. For instance, persistent-storage=filesystem is equivalent to the old persistent=nofiles, but persistent-storage=file allows to look for only files, which wasn't possible before. The default is to look for both, i.e. persistent-storage=filesystem,file.