Marco Amadori [Tue, 16 Sep 2008 14:16:08 +0000 (16:16 +0200)]
Check for files and umount only if you can mount it first.
* Another clean-up and speed up in the ugly persistance/snapshot code.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 14:13:18 +0000 (16:13 +0200)]
Fixed a wrong trial to copy an unexistant snapshot.
* Quoting a variable could do miracles :-)
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 10:29:03 +0000 (12:29 +0200)]
Forces use of initramfs cpio over busybox's one.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 10:11:41 +0000 (12:11 +0200)]
Override maybe_break from initramfs-tools.
* "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.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 09:35:01 +0000 (11:35 +0200)]
Fixed try_snap() umounting on error.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 08:55:22 +0000 (10:55 +0200)]
Add real cpio to initramfs for snapshot's uses.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 08:34:29 +0000 (10:34 +0200)]
Skipped some runtime duplicated execution.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Michael Prokop [Mon, 15 Sep 2008 15:54:18 +0000 (17:54 +0200)]
Ignore errors from fstype.
Redirect stderr to /dev/null, otherwise we'll get
"stdin: error 0" for some partitions during bootup.
Marco Amadori [Mon, 15 Sep 2008 14:55:32 +0000 (16:55 +0200)]
Re-enable "break=live-premount" debug.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Mon, 15 Sep 2008 14:46:38 +0000 (16:46 +0200)]
Removed mount -n option, since mtab is there.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Mon, 15 Sep 2008 14:30:35 +0000 (16:30 +0200)]
Create /etc/mtab on the initramfs ASAP.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Mon, 15 Sep 2008 14:27:38 +0000 (16:27 +0200)]
Added a pretty vital mount debug string.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 2 Sep 2008 08:42:11 +0000 (10:42 +0200)]
Fix default user handling.
* 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.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Daniel Baumann [Sun, 7 Sep 2008 19:49:05 +0000 (21:49 +0200)]
Updating vcs fields in control file.
Chris Lamb [Sat, 6 Sep 2008 12:13:26 +0000 (13:13 +0100)]
Remove local overiddes of log_*_msg - #494257 is now fixed in testing.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Marco Amadori [Thu, 28 Aug 2008 15:00:17 +0000 (17:00 +0200)]
Removed some useless spaces.
Daniel Baumann [Wed, 3 Sep 2008 16:13:51 +0000 (18:13 +0200)]
Removing currently unused Upstream-Depends field in control.
Daniel Baumann [Sun, 31 Aug 2008 18:31:58 +0000 (20:31 +0200)]
Releasing debian version 1.139.1-2.
Daniel Baumann [Sun, 31 Aug 2008 18:29:20 +0000 (20:29 +0200)]
Disabling default usage of local swap partitions. Can be enabled with the 'swapon' boot parameter. Thanks to Joseph Rawson <umeboshi3@gmail.com> for bringing it up.
Daniel Baumann [Thu, 28 Aug 2008 21:25:08 +0000 (23:25 +0200)]
Setting project email address to the new debian-live@lists.debian.org.
Michal Suchanek [Tue, 26 Aug 2008 13:14:23 +0000 (15:14 +0200)]
Enabling the "remove CD" prompt in splashy.
Daniel Baumann [Mon, 25 Aug 2008 11:12:57 +0000 (13:12 +0200)]
If the filesystem type of the rootfs cannot be automatically detected, we try to assume it from the extension of the imagefile we have found. Thanks to Jordi Pujol <jordi_pujol@telefonica.net> (Closes: #460456).
Daniel Baumann [Sat, 23 Aug 2008 23:00:15 +0000 (01:00 +0200)]
Releasing live-initramfs 1.139.1-1.
Marco Amadori [Fri, 22 Aug 2008 09:29:57 +0000 (11:29 +0200)]
Added "-n" option to all mount commands, thanks to Peter Holik <peter@holik.at> for pointing this out.
Chris Lamb [Wed, 20 Aug 2008 09:17:09 +0000 (10:17 +0100)]
Move loop-aes-tools to Suggests; live-helper should install them if required.
The loop-aes-tools regress compared to the vanilla loop tools, which can
cause some problems - Although we should support them, it makes sense to
not use loop-aes-utils by default, which--as Recommends are installed by
default--they currently are.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 17 Aug 2008 23:52:12 +0000 (00:52 +0100)]
Remove unnecessary indentation level.
Daniel Baumann [Thu, 14 Aug 2008 15:51:04 +0000 (17:51 +0200)]
Updating authors file.
Daniel Baumann [Sat, 16 Aug 2008 21:55:38 +0000 (23:55 +0200)]
Merging casper 1.139.
Chris Lamb [Thu, 14 Aug 2008 00:26:38 +0000 (01:26 +0100)]
Modify hiding of harmless X.org reconfiguring messages.
Was being split over a newline.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 14 Aug 2008 00:20:13 +0000 (01:20 +0100)]
Revert to using uid 1000 as PAM bug seems to have disappeared (Closes: #433076)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 14 Aug 2008 00:19:28 +0000 (01:19 +0100)]
Hide error from attempting to "mount --move"
(We get a sensible error message if it fails anyway)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 14 Aug 2008 00:01:19 +0000 (01:01 +0100)]
Rework ugly `echo "debug:..` message to use log_{begin,end}_msg.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Wed, 13 Aug 2008 23:59:42 +0000 (00:59 +0100)]
Don't configure X.org if it's not installed.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Wed, 13 Aug 2008 23:59:29 +0000 (00:59 +0100)]
Fix check for X.org.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Wed, 13 Aug 2008 23:59:19 +0000 (00:59 +0100)]
Add an /etc/fstab to the initramfs to silence harmless "empty fstab" warnings.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Tue, 12 Aug 2008 17:58:19 +0000 (18:58 +0100)]
Silence another "script-not-executable" message for a sourced library.
Chris Lamb [Tue, 12 Aug 2008 17:18:38 +0000 (18:18 +0100)]
Add missing pipe. Thanks to Andreas Bombe.
Chris Lamb [Tue, 12 Aug 2008 00:59:59 +0000 (01:59 +0100)]
Shamefully adding myself to CREDITS
Chris Lamb [Tue, 12 Aug 2008 00:14:02 +0000 (01:14 +0100)]
Tidy "Disabling update-initramfs" message.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Tue, 12 Aug 2008 00:13:25 +0000 (01:13 +0100)]
Re-order some commands so we don't call log_begin_msg without calling log_end_msg.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Tue, 12 Aug 2008 00:09:36 +0000 (01:09 +0100)]
Don't configure X when /usr/bin/X does not exist.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 11 Aug 2008 23:57:50 +0000 (00:57 +0100)]
Silence 'script-not-executable' lintian warning - live-functions script is always sourced.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 05:03:54 +0000 (06:03 +0100)]
Fix spacing in swirl.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Daniel Baumann [Sun, 10 Aug 2008 02:23:40 +0000 (04:23 +0200)]
Not going over the top with exclamation marks in the panic message.
Daniel Baumann [Sun, 10 Aug 2008 01:16:29 +0000 (03:16 +0200)]
Updating credits file.
Daniel Baumann [Sat, 9 Aug 2008 15:06:29 +0000 (17:06 +0200)]
Slightely adjusting to the more widespread used ascii swirl.
Chris Lamb [Sat, 9 Aug 2008 07:51:23 +0000 (08:51 +0100)]
Override log_*_msg to print nicer status text (until #494257 is merged).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sat, 9 Aug 2008 07:47:11 +0000 (08:47 +0100)]
Hide "overwriting possibly-customised configuration file" in X.org setup output.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 20:00:38 +0000 (21:00 +0100)]
Hide "Shadow passwords are now on" status message on bootup.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 18:54:29 +0000 (19:54 +0100)]
Remove a number of "${quiet}" checks - they are repeated in the log_*_msg functions.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 18:48:46 +0000 (19:48 +0100)]
Rework locale handling
* 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.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 17:36:08 +0000 (18:36 +0100)]
Print friendly error message on live-initramfs panic.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 04:46:40 +0000 (05:46 +0100)]
Fix path issue with live-preseed causing noisy errors when booting.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 04:25:06 +0000 (05:25 +0100)]
Silence a number of annoying and distracting bootup messages.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 04:24:12 +0000 (05:24 +0100)]
Add missing "log_end_msg" to live-bottom/21xdriver.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 04:23:42 +0000 (05:23 +0100)]
Set different log messages for live-bottom/21{xdriver,xvidemode}.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 8 Aug 2008 03:54:34 +0000 (04:54 +0100)]
Remove trailing "..." from calls to log_begin_msg - they get added anyway.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 19:24:41 +0000 (20:24 +0100)]
Move some arch-indep helper utilities to Build-Depends-Indep.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Steven Shiau [Fri, 8 Aug 2008 14:09:34 +0000 (16:09 +0200)]
Adding support for using tftp in fetch= parameter.
Steven Shiau [Fri, 8 Aug 2008 14:07:11 +0000 (16:07 +0200)]
Another fix about using udevsettle or "udevadm settle".
Ben Voui [Thu, 7 Aug 2008 17:54:49 +0000 (19:54 +0200)]
Adding support for Virtio vd[a-z] drives.
Marco Amadori [Wed, 6 Aug 2008 22:07:57 +0000 (00:07 +0200)]
Be sure that the discovered filesystem is not null.
- While scanning for a filesystem on a disk, the klibc utility can
return a null string if it not finds a filesystem (e.g. on a container
partition), and grepping for a null string either reports true if
escaped or hangs grep if not escaped. Both conditions must be avoided
in order to report that the kernel supports the filesystem named as
the string.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Daniel Baumann [Tue, 5 Aug 2008 21:50:09 +0000 (23:50 +0200)]
Merging casper 1.138.
Daniel Baumann [Tue, 5 Aug 2008 21:45:32 +0000 (23:45 +0200)]
Merging casper 1.137.
Marco Amadori [Tue, 5 Aug 2008 19:50:04 +0000 (21:50 +0200)]
The list of supported filesytems goes dynamic.
- The plain list of "should be a supported filesystem" finally is fixed,
now it scans /proc to see if the kernel is able to mount it, if not it
modprobes it and as a failover tries to insmod it from the real rootfs
/lib/modules directory if it can.
- This should fix - en passant - the "drop to busybox shell if a ntfs
filesystem is found while scanning for persistence media" bug as well.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Tue, 5 Aug 2008 20:33:52 +0000 (22:33 +0200)]
Added ntfs filesystem to the initramfs.
- This enables ntfs filesystem support to the early userspace,
which could be both used as a persistence media (with fixed sized
partitions image files) and as a backend for read-only rootfs
(e.g. filesystem.squashfs).
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Chris Lamb [Thu, 31 Jul 2008 21:38:49 +0000 (22:38 +0100)]
Set default cow_mountopt where the other defaults are used.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 31 Jul 2008 21:34:55 +0000 (22:34 +0100)]
Don't use /sbin/losetup to test for '-r' option when the scripts just use "lostup"
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Michael Prokop [Sun, 20 Jul 2008 17:00:16 +0000 (19:00 +0200)]
Move sourcing of live-functions in 38disable_restricted_manager to correct place.
Daniel Baumann [Thu, 17 Jul 2008 21:29:18 +0000 (23:29 +0200)]
Releasing debian version 1.136.3-1.
Michael Prokop [Thu, 17 Jul 2008 11:23:00 +0000 (13:23 +0200)]
Make sure mounting /cow-tmpfs provides mount options.
Daniel Baumann [Tue, 15 Jul 2008 21:44:16 +0000 (23:44 +0200)]
Releasing debian version 1.136.2-1.
Daniel Baumann [Tue, 15 Jul 2008 21:42:33 +0000 (23:42 +0200)]
Replacing previous imperfect changes for udevadm with check for udevadm and using old commands when beeing on etch. Also handling udevtrigger with udevadm if available.
Daniel Baumann [Tue, 15 Jul 2008 08:40:55 +0000 (10:40 +0200)]
Correcting httpfs2 inclusion in hook.
Daniel Baumann [Mon, 14 Jul 2008 08:11:06 +0000 (10:11 +0200)]
Releasing version 1.136.1-1.
Daniel Baumann [Mon, 14 Jul 2008 08:07:03 +0000 (10:07 +0200)]
Defaulting now to aufs if no union= parameter is given.
Daniel Baumann [Mon, 14 Jul 2008 08:03:33 +0000 (10:03 +0200)]
Merging casper version 1.136.
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".
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
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>.
Signed-off-by: Chris Lamb <chris@chris-lamb.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.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
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.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 15 Jun 2008 03:36:04 +0000 (04:36 +0100)]
Modprobe 'esp' SCSI driver for the benefit of sparc.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 15 Jun 2008 03:33:53 +0000 (04:33 +0100)]
Quieten call to modprobe ide-generic.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 10 Jun 2008 22:16:11 +0000 (00:16 +0200)]
live-snapshot: cleaned some wordings.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Fri, 6 Jun 2008 21:12:43 +0000 (23:12 +0200)]
live-snapshot: included vital informations on exit.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
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.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Mon, 9 Jun 2008 13:04:36 +0000 (15:04 +0200)]
live-snapshot: cleaned and sorted used command line defaults.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Sat, 7 Jun 2008 23:09:27 +0000 (01:09 +0200)]
live-snapshot: nicer default auto unmount logic.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Sat, 7 Jun 2008 22:50:42 +0000 (00:50 +0200)]
live-snapshot: honour "-o|--output FILE".
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Fri, 6 Jun 2008 21:14:29 +0000 (23:14 +0200)]
live-snapshot: removed a useless mkdir.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Fri, 6 Jun 2008 21:01:26 +0000 (23:01 +0200)]
live-snapshot: removed an unused and useless function.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>