Daniel Baumann [Mon, 14 Jul 2008 07:58:39 +0000 (09:58 +0200)]
Merging casper version 1.135.
Daniel Baumann [Mon, 14 Jul 2008 07:55:14 +0000 (09:55 +0200)]
Merging casper version 1.134.
Daniel Baumann [Mon, 14 Jul 2008 07:49:10 +0000 (09:49 +0200)]
Merging casper version 1.133.
Daniel Baumann [Sat, 12 Jul 2008 10:00:30 +0000 (12:00 +0200)]
Converting udev depends into a versioned depends in order to reflect udevadm introduction.
Marco Amadori [Sat, 12 Jul 2008 09:13:09 +0000 (11:13 +0200)]
udevtrigger replacement.
* New udev (>= 1.24-1) replaced some binaries (here udevtrigger) with
udevadm command line options, e.g. "udevtrigger" -> "udevadm trigger".
Chris Lamb [Mon, 23 Jun 2008 21:54:31 +0000 (22:54 +0100)]
Fix call to log_warning_msg. Thanks to Bradley Smith <brad@brad-smith.co.uk>.
Chris Lamb [Sat, 21 Jun 2008 23:54:09 +0000 (00:54 +0100)]
Expand glob for kernels in post{inst,rm} to include "vmlinux"-prefixed kernels on powerpc.
Marco Amadori [Fri, 13 Jun 2008 13:00:12 +0000 (15:00 +0200)]
live-snapshot: fixed the remount helper.
* Now it should work even if not using klibc's "read".
Marco Amadori [Fri, 6 Jun 2008 21:44:09 +0000 (23:44 +0200)]
live-snapshot: now supports a static keep file list.
* 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.
Chris Lamb [Sun, 15 Jun 2008 04:30:42 +0000 (05:30 +0100)]
Check losetup capabilities before specifying to mount as read-only.
This is to retain compatibility with Etch's non-loop-aes-utils' losetup.
Chris Lamb [Sun, 15 Jun 2008 03:36:04 +0000 (04:36 +0100)]
Modprobe 'esp' SCSI driver for the benefit of sparc.
Chris Lamb [Sun, 15 Jun 2008 03:33:53 +0000 (04:33 +0100)]
Quieten call to modprobe ide-generic.
Chris Lamb [Sun, 15 Jun 2008 03:32:02 +0000 (04:32 +0100)]
Move local-top/live to live-premount/modules so it gets called before find_livefs.
Marco Amadori [Mon, 9 Jun 2008 13:24:41 +0000 (15:24 +0200)]
Try to bind /cow to /live/cow if unable to move.
* This should re-enable using of live-snapshot with targets differents
from static list cpio's.
Marco Amadori [Tue, 10 Jun 2008 22:16:11 +0000 (00:16 +0200)]
live-snapshot: cleaned some wordings.
Marco Amadori [Fri, 6 Jun 2008 21:12:43 +0000 (23:12 +0200)]
live-snapshot: included vital informations on exit.
Daniel Baumann [Tue, 10 Jun 2008 21:56:49 +0000 (23:56 +0200)]
Updating live-snapshot to GPL-3+.
Marco Amadori [Fri, 6 Jun 2008 21:23:55 +0000 (23:23 +0200)]
live-snapshot: new "--refresh" option.
* "--refresh" explicitly saves status of boot-time auto-discovered snapshots
without rebooting.
Marco Amadori [Mon, 9 Jun 2008 13:04:36 +0000 (15:04 +0200)]
live-snapshot: cleaned and sorted used command line defaults.
Marco Amadori [Sat, 7 Jun 2008 23:09:27 +0000 (01:09 +0200)]
live-snapshot: nicer default auto unmount logic.
Marco Amadori [Sat, 7 Jun 2008 22:50:42 +0000 (00:50 +0200)]
live-snapshot: honour "-o|--output FILE".
Marco Amadori [Fri, 6 Jun 2008 21:14:29 +0000 (23:14 +0200)]
live-snapshot: removed a useless mkdir.
Marco Amadori [Fri, 6 Jun 2008 21:01:26 +0000 (23:01 +0200)]
live-snapshot: removed an unused and useless function.
Marco Amadori [Fri, 6 Jun 2008 21:03:27 +0000 (23:03 +0200)]
live-snapshot: fixes snapshotting from resync string.
* Now it properly overwrites previous snapshot instead of just
putting it in the $PWD.
Chris Lamb [Tue, 10 Jun 2008 17:52:55 +0000 (18:52 +0100)]
Sync bug script "dpkg -l" calls with debian/control
Michal Suchanek [Mon, 9 Jun 2008 15:29:01 +0000 (17:29 +0200)]
Add support for httpfs= and ftpfs= parameters.
Daniel Baumann [Thu, 5 Jun 2008 18:55:28 +0000 (20:55 +0200)]
Updating to standards 3.8.0.
Daniel Baumann [Wed, 4 Jun 2008 12:05:42 +0000 (14:05 +0200)]
Renaming forgotton uuid file to live-uuid.
Daniel Baumann [Wed, 4 Jun 2008 06:42:07 +0000 (08:42 +0200)]
Releasing debian version 1.132.1-1.
Daniel Baumann [Sat, 31 May 2008 22:45:53 +0000 (00:45 +0200)]
Updating copyright header in live-snapshot.
Daniel Baumann [Sat, 31 May 2008 22:44:03 +0000 (00:44 +0200)]
Removing useless whitespaces and empty lines.
Daniel Baumann [Sat, 31 May 2008 22:39:46 +0000 (00:39 +0200)]
Correcting grammatical errors in live-snapshot description.
Daniel Baumann [Sat, 31 May 2008 22:38:48 +0000 (00:38 +0200)]
Removing live-snapshot version as this component is always released within live-initramfs itself.
Daniel Baumann [Sat, 31 May 2008 22:19:44 +0000 (00:19 +0200)]
Adding Michal Suchanek <hramrach@centrum.cz> to credits file.
Marco Amadori [Fri, 30 May 2008 22:18:32 +0000 (00:18 +0200)]
Fixes "live-snapshot on reboot could not find a writable '/tmp' or '/mnt'" bug.
Marco Amadori [Wed, 28 May 2008 08:34:35 +0000 (10:34 +0200)]
Calling live-snapshot now produces an output file.
* Invoking live-snapshot without parameters now produces an output
file useful to be copied on a writable media as intended.
Michal Suchanek [Sat, 31 May 2008 19:18:47 +0000 (21:18 +0200)]
Workaround loop-aes-utils losetup incompatibility
Pass -r option to losetup when setting up loop device for root image
so that readonly files can be set up as well.
Michal Suchanek [Sat, 31 May 2008 15:41:42 +0000 (17:41 +0200)]
Fix toram (change mount --move to mount -o move)
Thanks to ChoBolT and taytay on irc
Daniel Baumann [Sat, 31 May 2008 08:53:55 +0000 (10:53 +0200)]
Merging casper 1.132.
Daniel Baumann [Sat, 31 May 2008 08:43:30 +0000 (10:43 +0200)]
Merging casper 1.131.
Daniel Baumann [Sat, 31 May 2008 08:05:35 +0000 (10:05 +0200)]
Ignoring floppy devices for live filesystem as well as live persistency.
Daniel Baumann [Fri, 30 May 2008 21:55:35 +0000 (23:55 +0200)]
Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail live.log and show its messages during boot (Closes: #440238).
Daniel Baumann [Mon, 12 May 2008 20:10:08 +0000 (22:10 +0200)]
Updating vcs fields in control file.
Daniel Baumann [Mon, 28 Apr 2008 11:52:55 +0000 (13:52 +0200)]
Handling conflicting klibc includes with initramfs-hooks of other packages (Closes: 475783).
Chris Lamb [Sat, 26 Apr 2008 21:17:33 +0000 (22:17 +0100)]
Don't escape asterisks in languagelist update code
Daniel Baumann [Sat, 26 Apr 2008 13:36:45 +0000 (15:36 +0200)]
Releasing live-initramfs 1.130.1-3.
Daniel Baumann [Sat, 26 Apr 2008 13:29:41 +0000 (15:29 +0200)]
Handle non-existing klibc includes in live hook (Closes: #475783).
Daniel Baumann [Thu, 24 Apr 2008 20:05:34 +0000 (22:05 +0200)]
Adding loop-aes-utils to recommends.
Daniel Baumann [Thu, 17 Apr 2008 04:12:54 +0000 (06:12 +0200)]
Releasing live-initramfs 1.130.1-2.
Chris Lamb [Thu, 17 Apr 2008 02:57:19 +0000 (03:57 +0100)]
Remove bogus dependency on Ubuntu "localechooser-data" package
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.)
Daniel Baumann [Wed, 16 Apr 2008 08:28:12 +0000 (10:28 +0200)]
Releasing live-initramfs 1.130.1-1.
Daniel Baumann [Wed, 16 Apr 2008 07:02:46 +0000 (09:02 +0200)]
Merging casper 1.130.
Daniel Baumann [Wed, 16 Apr 2008 06:56:47 +0000 (08:56 +0200)]
Merging casper 1.129.
Daniel Baumann [Tue, 15 Apr 2008 20:35:43 +0000 (22:35 +0200)]
Adjusting code formating in maintainer scripts.
Daniel Baumann [Tue, 15 Apr 2008 20:33:01 +0000 (22:33 +0200)]
Restricting counting of installed kernels based on /boot/vmlinuz-* instead 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).
Chris Lamb [Tue, 15 Apr 2008 17:59:26 +0000 (18:59 +0100)]
Use triggers when calling update-initramfs in postinst and postrm
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.
Daniel Baumann [Sun, 13 Apr 2008 06:06:59 +0000 (08:06 +0200)]
Sorting some lines in live hook.
Daniel Baumann [Tue, 8 Apr 2008 08:35:20 +0000 (10:35 +0200)]
Releasing live-initramfs 1.128.1-1.
Marco Amadori [Fri, 4 Apr 2008 09:44:03 +0000 (11:44 +0200)]
Fixed a misleading debug message.
Daniel Baumann [Fri, 4 Apr 2008 08:27:45 +0000 (10:27 +0200)]
Merging casper 1.128.
Marco Amadori [Fri, 4 Apr 2008 08:15:36 +0000 (10:15 +0200)]
Added /cow mounting debug messages.
Marco Amadori [Fri, 4 Apr 2008 08:14:31 +0000 (10:14 +0200)]
Fixed /cow mounting.
Marco Amadori [Thu, 3 Apr 2008 20:43:12 +0000 (22:43 +0200)]
Klibc: added some libraries to the intramfs.
* Some klibc programs (cp, mount, umount) needs those libraries and
initramfs-tools cannot automatically adds them if needed.
Daniel Baumann [Mon, 31 Mar 2008 06:02:43 +0000 (08:02 +0200)]
Releasing live-initramfs 1.127.1-1.
Daniel Baumann [Mon, 31 Mar 2008 05:56:03 +0000 (07:56 +0200)]
Merging casper 1.127.
Daniel Baumann [Mon, 31 Mar 2008 05:34:06 +0000 (07:34 +0200)]
Merging casper 1.126.
Daniel Baumann [Mon, 31 Mar 2008 05:26:46 +0000 (07:26 +0200)]
Removing too early recommends to live-initscripts in control to make some people happy (Closes: #431000).
Chris Lamb [Wed, 26 Mar 2008 08:19:59 +0000 (08:19 +0000)]
hooks/live, scripts/live: Add USB modules, workaround udevtrigger (?) bug
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.
Chris Lamb [Wed, 26 Mar 2008 08:09:57 +0000 (08:09 +0000)]
scripts/live-helpers: Don't search ram block devices
We are hardly likely to find persistent-related devices on RAM disks, so
we ignore them whilst searching.
Chris Lamb [Wed, 26 Mar 2008 08:08:10 +0000 (08:08 +0000)]
scripts/live-helpers: Search / use case
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.
Chris Lamb [Wed, 26 Mar 2008 08:02:59 +0000 (08:02 +0000)]
scripts/live-helpers: Fixes for set -e
This patch applies two fixes intended for when "scripts/live-helpers" is
sourced by a "set -e" script such as live-snapshot.
Chris Lamb [Wed, 26 Mar 2008 07:57:25 +0000 (07:57 +0000)]
bin/live-snapshot: Vastly rework script
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'
Chris Lamb [Wed, 26 Mar 2008 07:52:09 +0000 (07:52 +0000)]
bin/live-snapshot: Fix argument handling (Closes: #461595)
Chris Lamb [Wed, 26 Mar 2008 07:50:42 +0000 (07:50 +0000)]
scripts/live: Make 'nopersistent' parameter actually disable persistence
Daniel Baumann [Tue, 25 Mar 2008 08:55:20 +0000 (09:55 +0100)]
Releasing live-initramfs 1.125.1-1.
Daniel Baumann [Tue, 25 Mar 2008 08:24:27 +0000 (09:24 +0100)]
Merging casper 1.125.
Chris Lamb [Sun, 23 Mar 2008 04:17:56 +0000 (04:17 +0000)]
scripts/live-helpers: Cosmetic changes to loop-aes passphrase prompt
Chris Lamb [Fri, 21 Mar 2008 20:06:30 +0000 (20:06 +0000)]
Rename 18hostname -> 06hostname
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.
Daniel Baumann [Fri, 21 Mar 2008 08:07:53 +0000 (09:07 +0100)]
Releasing live-initramfs 1.124.1-1.
Daniel Baumann [Fri, 21 Mar 2008 06:58:25 +0000 (07:58 +0100)]
Adjusting live-snapshot to live-initramfs.
Daniel Baumann [Fri, 21 Mar 2008 06:57:11 +0000 (07:57 +0100)]
Merging casper 1.124.
Daniel Baumann [Fri, 21 Mar 2008 06:53:26 +0000 (07:53 +0100)]
Adjusting 44pk_allow to live-initramfs.
Daniel Baumann [Fri, 21 Mar 2008 06:51:20 +0000 (07:51 +0100)]
Merging casper 1.123.
Daniel Baumann [Fri, 21 Mar 2008 06:48:16 +0000 (07:48 +0100)]
Merging casper 1.122.
Daniel Baumann [Fri, 21 Mar 2008 06:47:52 +0000 (07:47 +0100)]
Merging casper 1.121.
Daniel Baumann [Fri, 21 Mar 2008 06:46:43 +0000 (07:46 +0100)]
Merging casper 1.120.
Chris Lamb [Fri, 21 Mar 2008 06:17:31 +0000 (06:17 +0000)]
99hook: Download hook script from inside target filesystem
Daniel Baumann [Sun, 9 Mar 2008 20:30:58 +0000 (21:30 +0100)]
Releasing live-initramfs 1.119.1-1.
Daniel Baumann [Sun, 9 Mar 2008 20:27:25 +0000 (21:27 +0100)]
Merging casper 1.119.
Daniel Baumann [Sun, 9 Mar 2008 20:12:23 +0000 (21:12 +0100)]
Removing disabling of kwallet.
Daniel Baumann [Thu, 6 Mar 2008 07:14:12 +0000 (08:14 +0100)]
Making hooks executable after fetching them.
Daniel Baumann [Tue, 4 Mar 2008 10:26:41 +0000 (11:26 +0100)]
Creating resolv.conf when netbooting not just when there's no resolv.conf, but also when it is empty.
Daniel Baumann [Sun, 2 Mar 2008 21:28:30 +0000 (22:28 +0100)]
Releasing live-initramfs 1.118.2-1.
Daniel Baumann [Sun, 2 Mar 2008 11:22:30 +0000 (12:22 +0100)]
Adding plainroot.
Daniel Baumann [Fri, 29 Feb 2008 13:27:15 +0000 (14:27 +0100)]
Adding hook parameter to execute custom scripts.
Andrey Asadchev [Fri, 29 Feb 2008 11:01:58 +0000 (12:01 +0100)]
Patch to use cryptsetup volumes for persistent storage.
Cryptsetup must be used with usual
"cryptopts=source=UUID=$(UUID),target=$(TARGET)". For USB devices it may be
necessary to specify "rootdelay=$SECONDS" in order to wait for USB media.
Andrey Asadchev [Fri, 29 Feb 2008 10:56:36 +0000 (11:56 +0100)]
Explicitly set Xorg video driver.
Xdriver is specifed with "xdriver=$(DRIVER)". This is because fglrx (and
possibly other drivers) are not detected correctly.
Marco Amadori [Fri, 29 Feb 2008 10:51:16 +0000 (11:51 +0100)]
Now it includes lzma kernel module dependencies.
Daniel Baumann [Tue, 26 Feb 2008 18:34:41 +0000 (19:34 +0100)]
Rewriting copyright in machine-interpretable format.
Daniel Baumann [Tue, 26 Feb 2008 18:32:19 +0000 (19:32 +0100)]
Bumping package to policy 3.7.3.