summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
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).