summaryrefslogtreecommitdiff
path: root/scripts/boot/9990-overlay.sh
AgeCommit message (Collapse)Author
2013-06-24Reorganizing components in source tree.Daniel Baumann
2013-05-28Correcting debug variables through out the code to use the same one.Daniel Baumann
2013-05-06Checking for ${overlay}, not ${device} when trying to close ${overlay}.Evgeni Golov
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-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-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-12Fixing mounting of rootfs, cow and medium filesystems (Closes: #696495).Gaudenz Steinlin
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-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-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 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-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-08-16Correcting permissions of /tmp which apparently somehow get mixed up along ↵Daniel Baumann
the way.
2012-08-14Laying tmpfs on /live/overlay only during initramfs stage, fixes boot ↵Daniel Baumann
failure with plain filesystems (Closes: #681579).
2012-07-18Renaming boot scripts for refactoring them into numbered plugins.Daniel Baumann