summaryrefslogtreecommitdiff
path: root/scripts/live
AgeCommit message (Collapse)Author
2011-03-09Adding patch from Thierry Walrant <debian.tgc@walrant.net> to allow setting ↵Daniel Baumann
a path for the persistence files through persistent-path boot parameter (Closes: #512661).
2011-03-09Support further checks on loopback image and support skipping union mounts ↵Rene Mayrhofer
(Closes: #509446).
2011-03-09Cleaned the boot log a bit.Marco Amadori
Include a '\n' before the live-bottom script calls, otherwise the first hook will trash the previous "begin_log_msg" entry, and however this should be treated as a nested task.
2011-03-09Reworked integrity-check (Closes: #507477).Marco Amadori
* Changes: - it reboots only if it succeed, otherwise it panics. - it checks md5sum just after media is mounted, not after /root is mounted. This allow a faster and safer reboot.
2011-03-09Removing spurious 'livefs_root' in copy_live_to();.Daniel Baumann
2011-03-09Also adding ralink to network device check.Daniel Baumann
2011-03-09Turning 'no supported filesystem images found' into a panic message, rather ↵Daniel Baumann
than a warning.
2011-03-09Adding a panic message when we netboot and have no supported network device ↵Daniel Baumann
(Closes: #496684).
2011-03-09Add a warning message when no image can be found.Daniel Baumann
2011-03-09Merging casper 1.145.Daniel Baumann
2011-03-09Merging casper 1.144.Daniel Baumann
2011-03-09Merging casper 1.142.Daniel Baumann
2011-03-09Merging casper 1.141.Daniel Baumann
2011-03-09Removed all "cat | grep", with grep, awk and sed.Marco Amadori
2011-03-09Be consistent in using 0/1 for True/False values instead of English ↵Chris Lamb
representations.
2011-03-09Implemented a persistence exclude list.Marco Amadori
* This finally enables one of the most requested feature to exclude things like disk caches and temporary files from the persistence images in order to speed things up and saves precious writes of flash based storages. This works at boot by bind mounting tmpfs clones of paths listed on "/etc/live-persistence.binds".
2011-03-09Implemented a snapshot exclude list.Marco Amadori
* This finally enables one of the most requested feature to exclude things like disk caches and temporary files from the snapshots, just by editing "/etc/live-snapshot.exclude_list". This only works for cpio targets and for squashfs creations.
2011-03-09Search for partition labels only (Closes: #486469).Marco Amadori
* Added new way to call "persistent" at boot: "persistent=nofiles" will skip the scan for image files in block device and it will only search for partition labels.
2011-03-09Reordered persistence lookups and boundaries (Closes: #500672).Marco Amadori
* This finally enables "live-rw" partition persistence, yes it works, it is still ugly and slow, but make it work first and let optimize it later, hopefully in one of the next commits. To rush test it, 'mkfs.ext2 -L "live-rw" /dev/XhdX' on a qemu drive and reboot the live with "persistent" on.
2011-03-09Included more debug and comments on persistence code.Marco Amadori
2011-03-09Fixed a wrong trial to copy an unexistant snapshot.Marco Amadori
* Quoting a variable could do miracles :-)
2011-03-09Forces use of initramfs cpio over busybox's one.Marco Amadori
2011-03-09Fixed try_snap() umounting on error.Marco Amadori
2011-03-09Re-enable "break=live-premount" debug.Marco Amadori
2011-03-09Removed mount -n option, since mtab is there.Marco Amadori
2011-03-09Create /etc/mtab on the initramfs ASAP.Marco Amadori
2011-03-09Added a pretty vital mount debug string.Marco Amadori
2011-03-09Removed some useless spaces.Marco Amadori
2011-03-09Disabling default usage of local swap partitions. Can be enabled with the ↵Daniel Baumann
'swapon' boot parameter. Thanks to Joseph Rawson <umeboshi3@gmail.com> for bringing it up.
2011-03-09Enabling the "remove CD" prompt in splashy.Michal Suchanek
2011-03-09If the filesystem type of the rootfs cannot be automatically detected, we ↵Daniel Baumann
try to assume it from the extension of the imagefile we have found. Thanks to Jordi Pujol <jordi_pujol@telefonica.net> (Closes: #460456).
2011-03-09Added "-n" option to all mount commands, thanks to Peter Holik ↵Marco Amadori
<peter@holik.at> for pointing this out.
2011-03-09Hide error from attempting to "mount --move"Chris Lamb
(We get a sensible error message if it fails anyway)
2011-03-09Rework ugly `echo "debug:..` message to use log_{begin,end}_msg.Chris Lamb
2011-03-09Add an /etc/fstab to the initramfs to silence harmless "empty fstab" warnings.Chris Lamb
2011-03-09Remove a number of "${quiet}" checks - they are repeated in the log_*_msg ↵Chris Lamb
functions.
2011-03-09Print friendly error message on live-initramfs panic.Chris Lamb
2011-03-09Adding support for using tftp in fetch= parameter.Steven Shiau
2011-03-09Adding support for Virtio vd[a-z] drives.Ben Voui
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-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-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-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.