summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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
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