summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2013-06-24Reorganizing components in source tree.Daniel Baumann
2013-06-24Reorganizing frontend in source tree.Daniel Baumann
2013-06-24Calculating size for the whole media "/live/image/", not only the dir ↵Steven Shiau
"/live/image/live/" when using toram.
2013-05-28Allowing to superseed live-boot cmdline through configuration files.Daniel Baumann
2013-05-28Correcting debug variables through out the code to use the same one.Daniel Baumann
2013-05-27Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent ↵Daniel Baumann
Smeets <Vincent.VSmeets@gmail.com> (Closes: #709887).
2013-05-08Further guarding overwriting of /bin/mount by making it dependent on the ↵Daniel Baumann
existence of /bin/mount.util-linux.
2013-05-08Moving overwriting of /bin/mount with /bin/mount.util-linux for httpfs to ↵Daniel Baumann
make it active (Closes: #707116).
2013-05-06Also blacklisting findiso and fromiso devices for luks file persistence.David Hare
2013-05-06Adding support for luks persistence with persistence files (Closes: #701614).Peter Schaefer
2013-05-06Don't quote $CIFSOPTS for mount.cifs (Closes: #703746).Andrew Jeffery
Quoting $CIFSOPTS passed the literal string "-o user=root,password=" to mount.cifs, killing mount.cifs with a SIGSEGV. Rather, -o should be properly space delimited by passing $CIFSOPTS unquoted for options to be parsed correctly.
2013-05-06Select BOOTIF device if defined for netboot (Closes: #703744).Andrew Jeffery
Avoid probing all the devices again if we know which device we've booted from.
2013-05-06Correcting leftovers from old variable handling for BOOTIF, thanks to Andrew ↵Daniel Baumann
Jeffery <andrewj@avalon.com.au> (Closes: #703743).
2013-05-06Renaming main function to live for consistent namespace.Daniel Baumann
2013-05-06Renumbering the first three early scripts.Daniel Baumann
2013-05-06Using is_live_path() in mount_images_in_directory() to avoid redundant logic.Michael Stummvoll
mount_images_in_directory() had is own logic for checking if this is a live path which was redundant, so I used is_live_path().
2013-05-06Fixing a bug with multiple files in is_live_path after the last commit.Michael Stummvoll
The version in the last commit has a bug handling multiple files in is_live_path, the fix introduces file_pattern_matches() which checks for $1 only. So even if there are multiple files matching the pattern only the first one will go into the [ -e ... ] expression.
2013-05-06Simplifying if statement in is_live_system function.Michael Stummvoll
2013-05-06Fixing condition for setting rootfs_dest_backing.Evgeni Golov
The fix for the opt_link check in d5ed942 broke the code as it inverted the meaning. Previously it ran the code iff opt_link was empty, as [ -n ] is true. In the case opt_link was not empty, the code evaluated to [ -n foo], which is invalid syntax and thus false. This, however, was almost the expected behaviour, as rootfs_dest_backing is needed for opt_union and (in read-only mode) for opt_link.
2013-05-06Debranding package for derivatives.Daniel Baumann
2013-05-06Transforming link targets so they work after the mount was moved (Closes: ↵Evgeni Golov
#702421).
2013-05-06Checking for ${overlay}, not ${device} when trying to close ${overlay}.Evgeni Golov
2013-05-06Fixing invalid syntax in test for opt_link.Evgeni Golov
2013-05-06Correcting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>.Daniel Baumann
2013-05-06Moving dracut entry-point stub to backends.Daniel Baumann
2013-05-06Moving initramfs-tools entry-point to backends.Daniel Baumann
2013-05-06Making loadkeys call quiet in order to not mess-up persistence, thanks to ↵Daniel Baumann
stack <stack@inventati.org> (Closes: #700902).
2013-05-06Silencing unmounting of potentially stray tmpfs on /live/overlay.Daniel Baumann
2013-05-06Fixing mounting of rootfs, cow and medium filesystems (Closes: #696495).Gaudenz Steinlin
2013-05-06Fixing support for multiple squashfs images (Closes: #696494).Gaudenz Steinlin
2013-05-06Removing some dead code in netbase parts.Daniel Baumann
2013-05-06Calling df with -P to avoid line wraps with overly long mountpoints.Daniel Baumann
2013-05-06Correcting legacy filename for checksum files.Daniel Baumann
2013-05-06Supporting legacy filenames for checksums in debian within verify-checksums.Daniel Baumann
2013-05-06Making overwriting of /bin/mount within initramfs with mount.util-linux ↵Daniel Baumann
dependent on fuse usage, not on some additional boot parameter.
2013-05-06Including util-linux mount in initramfs.Michal Suchanek
2013-05-06Using 'local' in a safe way.Tails developers
First of all, 'local' is non-POSIX, but it is a really good safeguard against hard-to-find bugs. However, doing a local + initializing combo like `local X=$Y` in dash is error prone. If `Y=1 2` will get an error since dash will expand $Y so we get `local X=1 2`, but it will treat the "2" as another variable to be made local, which isn't what we want. Hence, let's declare variables local and initialize them in separate commands, which is safe.
2013-05-06Fixing persistence-media option when no devices are attached.Tails developers
Earlier, if it was set to e.g. 'removable-usb' and no USB storage was connected, $whitelistdev would be empty, which is interpreted like all devices are ok by the rest of the code.
2013-05-06Handling already mounted persistence backing media correctly.Tails developers
I.e. treat the case where a backing media already had been mounted in the expected place like a success (by printing the mount dir). This doesn't fix any bug in live-boot, but it will come in handy for the (soon-to-come) script for activating custom persistence in user-space. While we're at it, document this function.
2013-05-06Making the /live to /lib/live move for the persistence code.Tails developers
Exposing /lib/live/mount/persistence in user-space is highly relevant for the (soon-to-come) tool for activating persistence post-initramfs. We want to use the same persistence code for both scenarios, and avoid using different cases for them, so we make it only use /lib/live. Similarly we also make sure that persistence modes using unions use the same copy-on-write dir or "overlay" (i.e. /lib/live/mount/overlay) in order to make them work as intended.
2013-05-06Adding debian version 4.0~a1-1.Daniel Baumann
2013-02-12Correcting persistence-label handling fwrt/ legacy live-boot 2.x support, ↵Daniel Baumann
thanks to Mike Gach <gach.mqt@gmail.com> (Closes: #697873).
2013-02-12Fixing mounting of rootfs, cow and medium filesystems (Closes: #696495).Gaudenz Steinlin
2013-02-12Fixing support for multiple squashfs images (Closes: #696494).Gaudenz Steinlin
2013-02-12Removing some dead code in netbase parts.Daniel Baumann
2013-02-09Improving test for /etc/fstab.d support by testing for its existence instead ↵Tails developers
of /run's one.
2013-01-23Calling df with -P to avoid line wraps with overly long mountpoints.Daniel Baumann
2013-01-02Correcting legacy filename for checksum files.Daniel Baumann
2013-01-02Supporting legacy filenames for checksums in debian within verify-checksums.Daniel Baumann
2012-12-17Do not fix mountpoints with live-persistence.conf as home-rw/live-rw.Evgeni Golov