summaryrefslogtreecommitdiff
path: root/scripts
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-09Added missing variable quoting that lead to broken root persistence, thanks ↵Daniel Baumann
to Thierry Walrant <debian.tgc@walrant.net> (Closes: #512656).
2011-03-09Silencing xorg reconfiguration, thanks to Ronny Standtke ↵Daniel Baumann
<Ronny.Standtke@gmx.net>.
2011-03-09Silencing grep call on /etc/passwd.Daniel Baumann
2011-03-09Don't redirect output of fstype detection to standard out, thanks to Ronny ↵Daniel Baumann
Standtke <Ronny.Standtke@gmx.net>.
2011-03-09Also checking for wicd in 23networking, thanks to Ben Armstrong ↵Daniel Baumann
<synrg@debian.org>.
2011-03-09Support further checks on loopback image and support skipping union mounts ↵Rene Mayrhofer
(Closes: #509446).
2011-03-09Sourcing live.vars in 21xdriver and 21xvidemode in order to be able to set ↵Daniel Baumann
variables in previous bottom scripts.
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-09Merging casper 1.154.Daniel Baumann
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.149.Daniel Baumann
2011-03-09Merging casper 1.148.Daniel Baumann
2011-03-09Merging casper 1.145.Daniel Baumann
2011-03-09Merging casper 1.144.Daniel Baumann
2011-03-09Merging casper 1.143.Daniel Baumann
2011-03-09Merging casper 1.142.Daniel Baumann
2011-03-09Merging casper 1.141.Daniel Baumann
2011-03-09Merging casper 1.140.Daniel Baumann
2011-03-09Removed all "cat | grep", with grep, awk and sed.Marco Amadori
2011-03-09Do not pollute the logs when looking for swap partitions.Marco Amadori
2011-03-09Be consistent in using 0/1 for True/False values instead of English ↵Chris Lamb
representations.
2011-03-09Use "test -s" instead of testing file availability and size.Chris Lamb
2011-03-09Use "grep -qs" over "grep -q" for compatibility (see grep(1))Chris Lamb
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-09Conditional creation of /etc/fstab.Marco Amadori
* This is one of a series of interventions that means to be gentle to debian-live builders and to persistence users; the rationale is that if a file is present on the rootfs it does not need to be overwritten from scratch since its presence means either a live-helper configuration at build time or a persistent/snapshot at run time.
2011-03-09Changed HOSTNAME and /etc/hosts handling.Marco Amadori
* This is one of a series of interventions that means to be gentle to debian-live builders and to persistence users; the rationale is that if a file is present on the rootfs it does not need to be overwritten from scratch since its presence means either a live-helper configuration at build time or a persistent/snapshot at run time.
2011-03-09Sourcing live.vars in 15autologin directly, rather than to inherit from ↵Daniel Baumann
live-functions.
2011-03-09Included more debug and comments on persistence code.Marco Amadori
2011-03-09Check for files and umount only if you can mount it first.Marco Amadori
* Another clean-up and speed up in the ugly persistance/snapshot code.
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-09Override maybe_break from initramfs-tools.Marco Amadori
* "break=<phase>" boot option, previously lead to the overrided panic function which shows a huge bug message info, which in that particular case is misleading, since the "dropping to a shell" is wanted.
2011-03-09Fixed try_snap() umounting on error.Marco Amadori
2011-03-09Skipped some runtime duplicated execution.Marco Amadori
2011-03-09Ignore errors from fstype.Michael Prokop
Redirect stderr to /dev/null, otherwise we'll get "stdin: error 0" for some partitions during bootup.
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-09Fix default user handling.Marco Amadori
* Handle the case in which an user is present but the default user could not be created (e.g. when configuring another user at build time in the chroot). If the default user could not be created or assigned, disable autologins (which previously just fails leaving without console login capabilities), and propagate that information to the scripts thinking that a default user will always be available. Note for live-helper documentation: The latter case could leave the system accessible only if root password is set in other ways or via ssh rsa/dsa passwordless accesses.
2011-03-09Remove local overiddes of log_*_msg - #494257 is now fixed in testing.Chris Lamb