summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-09Releasing live-initramfs 1.130.1-3.Daniel Baumann
2011-03-09Handle non-existing klibc includes in live hook (Closes: #475783).Daniel Baumann
2011-03-09Adding loop-aes-utils to recommends.Daniel Baumann
2011-03-09Releasing live-initramfs 1.130.1-2.Daniel Baumann
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-09Releasing live-initramfs 1.130.1-1.Daniel Baumann
2011-03-09Merging casper 1.130.Daniel Baumann
2011-03-09Merging casper 1.129.Daniel Baumann
2011-03-09Adjusting code formating in maintainer scripts.Daniel Baumann
2011-03-09Restricting counting of installed kernels based on /boot/vmlinuz-* instead ↵Daniel Baumann
of /boot/vmlinuz*. Kernel images installed the proper way from .deb packages are always naming their kernel files vmlinuz-*. This way, we can avoid tampering with completely customized kernels which handle initramfs on their own (or completely different).
2011-03-09Use triggers when calling update-initramfs in postinst and postrmChris Lamb
One complication with the interaction between live-initramfs and update-initramfs is completeness - in a normal Debian system, we do not mind that not all the initrds are updated, so one would simply call "update-initramfs -u" when upgrading (for example) mdadm. However, live-initramfs needs to update *all* initrds (ie. '-u -k all'), but calling this would not use the trigger functionality as 'update-initramfs' will only accept triggering with a single '-u' argument. This is sensible behaviour, as the trigger callback cannot (and shouldn't) be parameterised. The result is this is that we must detect how many kernel flavours we have and revert to the non-triggered call ('-u -k all') if we have more than one. My tests show that this is behaviour is sound, even in the slightly contrived example of updating live-initramfs whilst installing a second kernel, regardless of the interleaving of the calls to postinst. We additionally attempt the same logic in the postrm so that upgrading live-initramfs (for example, in chroot_local-packages) does not result in two calls expensive calls in update-initramfs.
2011-03-09Sorting some lines in live hook.Daniel Baumann
2011-03-09Releasing live-initramfs 1.128.1-1.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-09Klibc: added some libraries to the intramfs.Marco Amadori
* Some klibc programs (cp, mount, umount) needs those libraries and initramfs-tools cannot automatically adds them if needed.
2011-03-09Releasing live-initramfs 1.127.1-1.Daniel Baumann
2011-03-09Merging casper 1.127.Daniel Baumann
2011-03-09Merging casper 1.126.Daniel Baumann
2011-03-09Removing too early recommends to live-initscripts in control to make some ↵Daniel Baumann
people happy (Closes: #431000).
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-09bin/live-snapshot: Vastly rework scriptChris Lamb
This patch vastly reworks the live-snapshot script; it fixes a number of bugs related to argument handling (such as ignored parameters), as well as improving the general robustness of the operation. The script can also be run successfully with set -e and set -u, pending some other patches in 'scripts/live-helpers'
2011-03-09bin/live-snapshot: Fix argument handling (Closes: #461595)Chris Lamb
2011-03-09scripts/live: Make 'nopersistent' parameter actually disable persistenceChris Lamb
2011-03-09Releasing live-initramfs 1.125.1-1.Daniel Baumann
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-09Releasing live-initramfs 1.124.1-1.Daniel Baumann
2011-03-09Adjusting live-snapshot to live-initramfs.Daniel Baumann
2011-03-09Merging casper 1.124.Daniel Baumann
2011-03-09Adjusting 44pk_allow to live-initramfs.Daniel Baumann
2011-03-09Merging casper 1.123.Daniel Baumann
2011-03-09Merging casper 1.122.Daniel Baumann
2011-03-09Merging casper 1.121.Daniel Baumann
2011-03-09Merging casper 1.120.Daniel Baumann
2011-03-0999hook: Download hook script from inside target filesystemChris Lamb
2011-03-09Releasing live-initramfs 1.119.1-1.Daniel Baumann
2011-03-09Merging casper 1.119.Daniel Baumann
2011-03-09Removing disabling of kwallet.Daniel Baumann
2011-03-09Making hooks executable after fetching them.Daniel Baumann
2011-03-09Creating resolv.conf when netbooting not just when there's no resolv.conf, ↵Daniel Baumann
but also when it is empty.
2011-03-09Releasing live-initramfs 1.118.2-1.Daniel Baumann
2011-03-09Adding plainroot.Daniel Baumann
2011-03-09Adding hook parameter to execute custom scripts.Daniel Baumann