summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
2012-12-12Making overwriting of /bin/mount within initramfs with mount.util-linux ↵Daniel Baumann
dependent on fuse usage, not on some additional boot parameter.
2012-12-12Including util-linux mount in initramfs.Michal Suchanek
2012-12-07Using '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.
2012-12-07Fixing 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.
2012-12-07Handling 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.
2012-12-07Making 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.
2012-11-04Adding support for the previous persistence configuration file name, for ↵Tails developers
compatibility with systems that have been deployed with live-persistence.conf already.
2012-10-03Renaming /lib/live/mount/image to /lib/live/mount/medium.Daniel Baumann
See http://lists.debian.org/debian-live/2012/10/msg00023.html for more information.
2012-10-03Updating file paths for /lib/live/mount.Daniel Baumann
See http://lists.debian.org/debian-live/2012/10/msg00021.html for more information.
2012-10-02Renaming the boot scripts readme file to fixme to make it even more obvious.Daniel Baumann
2012-10-02Renaming rofs to more intuitive rootfs.Daniel Baumann
2012-10-02Stopping to put a tmpfs on /root/lib/live from within initramfs, it ↵Daniel Baumann
over-'layered' most prominently the live systems /lib/live/config, making the runtime configuration impossible and the tmpfs is not used or needed in the first place anyway.
2012-09-30Applying slightly modified patch from Reinhard Tartler <siretart@tauware.de> ↵Daniel Baumann
to ensure that a potentially stray tmpfs on /live/overlay gets removed to fix netboot failures (Closes: #685375).
2012-09-30Removing showmounts option as it's enable always anyway.Daniel Baumann
2012-09-27Moving remaining stuff from /live to /lib/live to avoid further namespace ↵Daniel Baumann
pollution.
2012-09-27Switching to final name for the persistence configuration file ↵Daniel Baumann
'persistence.conf' in line with boot parameter.
2012-09-26Updating code for exposing of overlay mounts under /live too.Daniel Baumann
2012-09-26Exposing rofs and persistence mounts under /live in the live systems, not ↵Daniel Baumann
just initramfs only (Closes: #687099).
2012-09-26Removing mountpoint if no persistence layer is found on a device.Gaudenz Steinlin
2012-09-26Always move live filesystem mounts to /root within initramfs, regardless if ↵Daniel Baumann
mountpoint already exists or not (Closes: #688782).
2012-08-16Updating scripts readme about transition to plugin based architecture.Daniel Baumann
2012-08-16Correcting permissions of /tmp which apparently somehow get mixed up along ↵Daniel Baumann
the way.
2012-08-14Making nameserver assignment from ip= bootparameter work with persistence.Daniel Baumann
2012-08-14Adding support for nameserver in ip= boot parameter.Steven Shiau
2012-08-14Reading configuration file from filesystem and live-media at runtime too.Daniel Baumann
2012-08-14Laying tmpfs on /live/overlay only during initramfs stage, fixes boot ↵Daniel Baumann
failure with plain filesystems (Closes: #681579).
2012-08-14Consistently using case instead of if for conditionals in script boilerplate.Daniel Baumann
2012-08-14Moving reading of initramfs-tools functions to initramfs-tools script.Daniel Baumann
2012-08-14Reading /conf/param.conf after Select_eth_device in main function to fix ↵Steven Shiau
network booting (Closes: #683240).
2012-08-07Adding slightly modified patch from Steven Shiau <steven@nchc.org.tw> to ↵Daniel Baumann
transition to /run for network interface definition files which fixes resolv.conf creation for netboot.
2012-07-26Correct left over references to old initramfs-tools.sh (Closes: #682504).Richard Nelson
2012-07-25Extending verify-checksums parameters to allow specifying custom list of ↵Daniel Baumann
digests.
2012-07-25Avoid re-access /proc/cmdline in select-eth-device function and use internal ↵Daniel Baumann
variable instead.
2012-07-25Extending read-only parameters to allow specifying custom list of devices.Daniel Baumann
2012-07-25Factoring out debug into an own function.Daniel Baumann
2012-07-25Making verify-checksums function self contained.Daniel Baumann
2012-07-25Making read-only function self contained.Daniel Baumann
2012-07-25Making swap function self contained.Daniel Baumann
2012-07-21Fixing persistence backward-compatibility mode (Closes: #681176).Tails developers
2012-07-19Adding support for defining one or more explicit swap partitions to be used.Daniel Baumann
2012-07-19Splitting out already reviewed verify-checksums script.Daniel Baumann