summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
AgeCommit message (Collapse)Author
2021-06-219990-misc-helpers: fix indentionChristian Poessinger
2019-06-14use nested loops instead of an arrayKim Hagen
2019-06-14remove obsolete if statementKim Hagen
2019-06-14fix if statementsKim Hagen
2019-06-14do not mount unknown filesystems or raid slavesKim Hagen
2016-04-04add live boot support for mmcblk devicesKim Hagen
2016-02-08Remove Device name from mount.Kim Hagen
2016-02-02Get mountpoint of persistent device and use it in vyos script.Kim Hagen
2016-02-01Do not generate error is folders exist.Kim Hagen
2016-02-01Fix mountpoint for vyos/vyatta persistence dir.Kim Hagen
2015-08-19Adjusting whitespace to tabs on components/9990-misc-helpers.shRichard Nelson
2015-05-17Refactoring duplicate identical call to mount.Tails developers
2015-05-17Removing obsolete code.Tails developers
We're resetting this variable to a correct value a few lines below.
2015-05-17Adding missing quotes.Tails developers
2015-05-17Cleaning up comment to keep only the part that's relevant here.Tails developers
2015-05-17Removing attempt to mount overlayfs in an obsolete way.Tails developers
The version of overlayfs that reached Linux mainline does not support this mount call, no need to try it every time.
2015-05-17Patch by Steven Shiau <steven@nchc.org.tw>. The only changes so far are:Tails developers
* drop the parts of the patch that are not relevant to live-boot 5.x * adapt formatting to match Debian Live coding standards
2015-04-28Refactoring duplicate identical call to mount.Tails developers
2015-04-28Removing unused variables.Tails developers
2015-04-28Removing obsolete code.Tails developers
We're resetting this variable to a correct value a few lines below.
2015-04-28Adding missing quotes.Tails developers
2015-04-28Cleaning up comment to keep only the part that's relevant here.Tails developers
2015-04-28Removing attempt to mount overlayfs in an obsolete way.Tails developers
The version of overlayfs that reached Linux mainline does not support this mount call, no need to try it every time.
2015-04-28Patch by Steven Shiau <steven@nchc.org.tw>. The only changes so far are:Tails developers
* drop the parts of the patch that are not relevant to live-boot 5.x * adapt formatting to match Debian Live coding standards
2015-01-04Simplifying code a bit after removal of no longer supported overlay ↵Daniel Baumann
alternatives.
2015-01-04Dropping unionfs-fuse support:Daniel Baumann
* unionfs-fuse itself has been always very buggy for us. * unionfs-fuse code in live-boot as been experimental at best. * the FUSE implementation is horribly slow due to the nature of FUSE (~10min to boot a live system with unionfs-fuse compared to <<1min with aufs). * and last but not least, there's overlay in kernel mainline now.
2015-01-04Using 'overlay' instead of 'overlayfs' everywhere, without backwards ↵Daniel Baumann
compatibility (Closes: #773881). When overlayfs got merged into kernel mainline it was renamed to overlay. We don't provide backwards compatibility since overlayfs support was experimental and only with non-debian default kernels available.
2014-12-09Suppress annoying but harmless warning about unknown moduleJan Blunck
Loading, please wait... [ 4.237575] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 4.239183] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 4.524950] sd 2:0:0:0: [sda] Assuming drive cache: write through modprobe: module unknown not found in modules.dep
2014-12-09Fix spelling of unknownJan Blunck
2014-08-27Adding plymouth support for LUKS passwort prompt based on a patch from ↵Daniel Baumann
Gaudenz Steinlin <gaudenz@debian.org> (Closes: #754166).
2014-03-29Do not throw warnings when /tmp/custom_mounts.list does not exist.Evgeni Golov
When no device for an overlay can be found, /tmp/custom_mounts.list won't be created and will produce warnings while booting: sort: /tmp/custom_mounts.list: No such file or directory rm: can't remove '/tmp/custom_mounts.list': No such file or directory Properly handle this case by calling rm with the -f option and calling sort only when the file exists.
2013-10-15Properly boot from mdadm via findiso boot option.Michael Prokop
For example grml-rescueboot uses findiso for booting the ISO. When booting from a software RAID using mdadm then /scripts/local-top/mdadm being used inside /scripts/boot/9990-misc-helpers.sh leaks its output to the environment, causing invalid data used inside the mount_images_in_directory function. Because the invalid data results in a failing mount_images_in_directory execution we end up with failed boot and error message: "No supported filesystem images found at ...." So instead redirect output of /scripts/local-top/mdadm to /boot.log. Also make sure to check for existence of /conf/conf.d/md before accessing it (the file doesn't always exist). While at it also make sure the same logic is used for /scripts/local-top/lvm2. See http://bts.grml.org/grml/issue1270
2013-10-15Applying patch from Michael Prokop <mika@grml.org> to update udev usage in ↵Daniel Baumann
is_nice_device() for newer udev versions.
2013-09-13Add support for persistence-storage type "directory".Jan Blunck
This adds support for mounting a plain writable directory as the persistence storage layer. The $PERSISTENCE_PATH and the persistence-label are taken into account when searching for the persistence.conf file.
2013-09-13Blacklist devices used for /live/rootfs/* insted of /live/medium.Jan Blunck
The path /live/medium is used for probing different devices when searching for the live rootfs. There is no reason why that device should be banned from being used for persistence storage. Instead the devices that are actually used as the backing storage for the live rootfs should be banned.
2013-09-13Remount writable when moving the mountpoint of the persistence device.Jan Blunck
If the persistence device has been mounted before, e.g. for mounting the rootfs image file, then we should try to remount it writable. This way the result for both cases, 1. was and 2. was not mounted before, are identical.
2013-09-13Move check for block device to mount_persistence_media().Jan Blunck
We should only check for the persistence media path being a block device where it is really required which is the case in mount_persistence_media().
2013-09-13Use PERSISTENCE_PATH with a trailing "/".Jan Blunck
When using PERSISTENCE_PATH we should prepend and append a pathname separator as this is done with other user provided paths as well, e.g. LIVE_MEDIA_PATH.
2013-06-24Dropping really_export dead code.Daniel Baumann
2013-06-24Dropping helper function used in one place only which can be replaced with a ↵Daniel Baumann
simple ls call anyway.
2013-06-24Replacing variable used in one place only with explicit directory for ↵Daniel Baumann
simplicity.
2013-06-24Dropping old pre-wheezy persistence list handling.Daniel Baumann
2013-06-24Dropping old pre-wheezy udevadm handling.Daniel Baumann
2013-06-24Reorganizing components in source tree.Daniel Baumann