summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
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-09Setting project email address to the new debian-live@lists.debian.org.Daniel Baumann
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-09Remove unnecessary indentation level.Chris Lamb
2011-03-09Modify hiding of harmless X.org reconfiguring messages.Chris Lamb
Was being split over a newline.
2011-03-09Revert to using uid 1000 as PAM bug seems to have disappeared (Closes: #433076)Chris Lamb
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-09Don't configure X.org if it's not installed.Chris Lamb
2011-03-09Fix check for X.org.Chris Lamb
2011-03-09Add an /etc/fstab to the initramfs to silence harmless "empty fstab" warnings.Chris Lamb
2011-03-09Silence another "script-not-executable" message for a sourced library.Chris Lamb
2011-03-09Add missing pipe. Thanks to Andreas Bombe.Chris Lamb
2011-03-09Tidy "Disabling update-initramfs" message.Chris Lamb
2011-03-09Re-order some commands so we don't call log_begin_msg without calling ↵Chris Lamb
log_end_msg.
2011-03-09Don't configure X when /usr/bin/X does not exist.Chris Lamb
2011-03-09Silence 'script-not-executable' lintian warning - live-functions script is ↵Chris Lamb
always sourced.
2011-03-09Fix spacing in swirl.Chris Lamb
2011-03-09Not going over the top with exclamation marks in the panic message.Daniel Baumann
2011-03-09Slightely adjusting to the more widespread used ascii swirl.Daniel Baumann
2011-03-09Override log_*_msg to print nicer status text (until #494257 is merged).Chris Lamb
2011-03-09Hide "overwriting possibly-customised configuration file" in X.org setup output.Chris Lamb
2011-03-09Hide "Shadow passwords are now on" status message on bootup.Chris Lamb
2011-03-09Remove a number of "${quiet}" checks - they are repeated in the log_*_msg ↵Chris Lamb
functions.
2011-03-09Rework locale handlingChris Lamb
* Support all codepages, not just UTF-8 ones. * Although UTF-8 variants are still preferred, specifying an invalid codepage as an extension to a known language will not necessarily result in en_US.UTF-8 being chosen - it will try and use an alternate. * Fixes an issue whereby an unknown locale would end up as a blank "language" in /etc/kde3/kdm/kdmrc instead of en_US. * General tidying of the code.
2011-03-09Print friendly error message on live-initramfs panic.Chris Lamb
2011-03-09Silence a number of annoying and distracting bootup messages.Chris Lamb