summaryrefslogtreecommitdiff
path: root/scripts/live
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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.
2011-11-24Adding persistent-encryption={none|luks}.Tails developers
This is the way to control whether to use encrypted persistent media, instead of the (from this commit on) obsolete persistent=cryptsetup.
2011-11-24Update udevs path_id changes as of version 174, thanks to Baurzhan ↵Daniel Baumann
Muftakhidinov <baurthefirst@gmail.com> for spotting it.
2011-11-08Enabling whiteouts support for aufs.Tails developers
This improves support for stacked SquashFS a lot: it allows a given SquashFS to delete files in another one it's on top of.
2011-11-04Updating matching in is_nice_device to, amongst others, match for virtio ↵Daniel Baumann
devices.
2011-09-08Silencing umount in case live/image was unmounted already, extracted from a ↵Tails developers
patch by Michael Schierl <schierlm@gmx.de>.
2011-09-07Adding support for persistent-media={removable,removable-usb}.Tails developers
This is e.g. needed when one's threat model does not allow her to trust the local hard disks.
2011-09-07Factorizing loops on removable/non-removable devices.Tails developers
The already duplicated code will be needed a few more times for the upcoming persistent-media={removable,removable-usb} boot option. Copy/pasting it a few more times seems the wrong way to go, hence this factorization. Depending on the place they are used, the newly introduced functions must return a list of devices named either /sys/block/* or /dev/*. Their first parameter therefore specifies the wanted output format (default is /dev/* as it is the most often used).
2011-09-07Adding a white_listed_devices parameter to find_cow_device and find_files.Tails developers
This will be needed for the upcoming persistent-media={removable,removable-usb} boot option.
2011-08-04Applying reformated patch from Ulrich Dangel <mru@grml.org> to add support ↵Daniel Baumann
for lvm and md devices.
2011-08-04Applying patch from grml to update forgotten use of live.log with live-boot.log.Daniel Baumann
2011-05-28Updating and correcting sendsigs.omit support for /run (Closes: #628188).Daniel Baumann
2011-05-18Tidy up resolv.conf a bit.Michal Suchanek
2011-05-18Copy resolv.conf to live system root (Closes: #627178).Michal Suchanek
2011-04-23Using /run/initramfs instead of /dev/.initramfs/varrun for unionfs-fuse ↵Daniel Baumann
sendsigs (Closes: #621908).
2011-03-09Fixing syntax error.T(A)ILS developers