summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2011-03-09Add missing "log_end_msg" to live-bottom/21xdriver.Chris Lamb
2011-03-09Set different log messages for live-bottom/21{xdriver,xvidemode}.Chris Lamb
2011-03-09Remove trailing "..." from calls to log_begin_msg - they get added anyway.Chris Lamb
2011-03-09Adding support for using tftp in fetch= parameter.Steven Shiau
2011-03-09Another fix about using udevsettle or "udevadm settle".Steven Shiau
2011-03-09Adding support for Virtio vd[a-z] drives.Ben Voui
2011-03-09Be sure that the discovered filesystem is not null.Marco Amadori
- While scanning for a filesystem on a disk, the klibc utility can return a null string if it not finds a filesystem (e.g. on a container partition), and grepping for a null string either reports true if escaped or hangs grep if not escaped. Both conditions must be avoided in order to report that the kernel supports the filesystem named as the string.
2011-03-09Merging casper 1.138.Daniel Baumann
2011-03-09Merging casper 1.137.Daniel Baumann
2011-03-09The list of supported filesytems goes dynamic.Marco Amadori
- The plain list of "should be a supported filesystem" finally is fixed, now it scans /proc to see if the kernel is able to mount it, if not it modprobes it and as a failover tries to insmod it from the real rootfs /lib/modules directory if it can. - This should fix - en passant - the "drop to busybox shell if a ntfs filesystem is found while scanning for persistence media" bug as well.
2011-03-09Set default cow_mountopt where the other defaults are used.Chris Lamb
2011-03-09Don't use /sbin/losetup to test for '-r' option when the scripts just use ↵Chris Lamb
"lostup"
2011-03-09Move sourcing of live-functions in 38disable_restricted_manager to correct ↵Michael Prokop
place.
2011-03-09Make sure mounting /cow-tmpfs provides mount options.Michael Prokop
2011-03-09Replacing previous imperfect changes for udevadm with check for udevadm and ↵Daniel Baumann
using old commands when beeing on etch. Also handling udevtrigger with udevadm if available.
2011-03-09Defaulting now to aufs if no union= parameter is given.Daniel Baumann
2011-03-09Merging casper version 1.134.Daniel Baumann
2011-03-09Merging casper version 1.133.Daniel Baumann
2011-03-09udevtrigger replacement.Marco Amadori
* New udev (>= 1.24-1) replaced some binaries (here udevtrigger) with udevadm command line options, e.g. "udevtrigger" -> "udevadm trigger".
2011-03-09Fix call to log_warning_msg. Thanks to Bradley Smith <brad@brad-smith.co.uk>.Chris Lamb
2011-03-09live-snapshot: fixed the remount helper.Marco Amadori
* Now it should work even if not using klibc's "read".
2011-03-09live-snapshot: now supports a static keep file list.Marco Amadori
* Included support for specifing a list of files/dirs to be explicitly kept between reboots, enabled only for the "cpio" snapshot type. Look at "/usr/share/doc/live-initramfs/examples/live-snapshot.list" for hints.
2011-03-09Check losetup capabilities before specifying to mount as read-only.Chris Lamb
This is to retain compatibility with Etch's non-loop-aes-utils' losetup.
2011-03-09Modprobe 'esp' SCSI driver for the benefit of sparc.Chris Lamb
2011-03-09Quieten call to modprobe ide-generic.Chris Lamb
2011-03-09Move local-top/live to live-premount/modules so it gets called before ↵Chris Lamb
find_livefs.
2011-03-09Try to bind /cow to /live/cow if unable to move.Marco Amadori
* This should re-enable using of live-snapshot with targets differents from static list cpio's.
2011-03-09Add support for httpfs= and ftpfs= parameters.Michal Suchanek
2011-03-09Renaming forgotton uuid file to live-uuid.Daniel Baumann
2011-03-09Workaround loop-aes-utils losetup incompatibilityMichal Suchanek
Pass -r option to losetup when setting up loop device for root image so that readonly files can be set up as well.
2011-03-09Fix toram (change mount --move to mount -o move)Michal Suchanek
Thanks to ChoBolT and taytay on irc
2011-03-09Merging casper 1.132.Daniel Baumann
2011-03-09Ignoring floppy devices for live filesystem as well as live persistency.Daniel Baumann
2011-03-09Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail live.log and ↵Daniel Baumann
show its messages during boot (Closes: #440238).
2011-03-09Remove bogus dependency on Ubuntu "localechooser-data" packageChris Lamb
In Debian, this package doesn't exist as a .deb, so we must maintain our own local copy of the languagelist file. (This patch also adds code to synchronise this file to the Makefile's "update:" target so this isn't too annoying.)
2011-03-09Merging casper 1.130.Daniel Baumann
2011-03-09Fixed a misleading debug message.Marco Amadori
2011-03-09Merging casper 1.128.Daniel Baumann
2011-03-09Added /cow mounting debug messages.Marco Amadori
2011-03-09Fixed /cow mounting.Marco Amadori
2011-03-09hooks/live, scripts/live: Add USB modules, workaround udevtrigger (?) bugChris Lamb
This patch goes some way towards fixing USB-backed persistence by configuring the live initramfs to contain the "sd_mod" module and adding a hacky workaround to a udev-related race condition. For some reason, the usual udevtrigger/udevsettle pairing does not block after we have loaded our USB modules and /dev/sda1 (for example) is ready. Because of this, we sleep for a little while and break if a new block device appears. This seems to be a bug either in udev or in my understanding of how the tool is meant to work. Some information may be gained from the casper bug: https://bugs.launchpad.net/ubuntu/+source/casper/+bug/84591 Sleep-based hacks like this are really ugly, but I take some comfort in finding them elsewhere in the source.
2011-03-09scripts/live-helpers: Don't search ram block devicesChris Lamb
We are hardly likely to find persistent-related devices on RAM disks, so we ignore them whilst searching.
2011-03-09scripts/live-helpers: Search / use caseChris Lamb
This patch extends the find_files and find_cow_device utilities to search known-working partition types (removing two "FIXME"s) and reworks the syntax to use somewhat more readable case-statements.
2011-03-09scripts/live-helpers: Fixes for set -eChris Lamb
This patch applies two fixes intended for when "scripts/live-helpers" is sourced by a "set -e" script such as live-snapshot.
2011-03-09scripts/live: Make 'nopersistent' parameter actually disable persistenceChris Lamb
2011-03-09Merging casper 1.125.Daniel Baumann
2011-03-09scripts/live-helpers: Cosmetic changes to loop-aes passphrase promptChris Lamb
2011-03-09Rename 18hostname -> 06hostnameChris Lamb
We must configure a valid hostname in the target before 10adduser, or sudo fails with "unable to resolve host (none)" - before 18hostname is called /root/etc/hostname is empty. This was resulting in the "su as sudo" modifications not being applied in the target which was causing X configuration applications to show different behaviours when attempting elevating their priviledges. Reordering the hostname configuration seems somewhat preferable to applying a hack inside 10adduser to use 'su' or similar, as other pre-XXhostname calls may incorporate calls to sudo in the future.
2011-03-09Merging casper 1.124.Daniel Baumann
2011-03-09Adjusting 44pk_allow to live-initramfs.Daniel Baumann