Rene Mayrhofer [Tue, 24 Feb 2009 13:32:12 +0000 (14:32 +0100)]
Checking if /var/log is writable before trying to copy live.log to the newly mounted root filesystem (Closes: #516914).
When using the "exposedroot skipunion" options, then /var/log may not be writable at this time, resulting in an error message during bootup.
Daniel Baumann [Fri, 20 Feb 2009 14:54:20 +0000 (15:54 +0100)]
Only snapshotting in initscript when we actually run with persistence.
Daniel Baumann [Sun, 8 Feb 2009 14:06:35 +0000 (15:06 +0100)]
Releasing version 1.156.1-1.
Daniel Baumann [Sun, 8 Feb 2009 09:53:36 +0000 (10:53 +0100)]
Updating parameters.txt.
Daniel Baumann [Sun, 8 Feb 2009 00:16:00 +0000 (01:16 +0100)]
Correct eject login in initscript.
Daniel Baumann [Sun, 8 Feb 2009 00:06:33 +0000 (01:06 +0100)]
Merging casper 1.156.
Daniel Baumann [Sun, 8 Feb 2009 00:03:17 +0000 (01:03 +0100)]
Adding ext4 support.
Daniel Baumann [Sun, 8 Feb 2009 00:03:09 +0000 (01:03 +0100)]
Merging casper 1.155.
Daniel Baumann [Sat, 7 Feb 2009 23:50:28 +0000 (00:50 +0100)]
Reordering rules file.
Daniel Baumann [Sat, 7 Feb 2009 23:48:34 +0000 (00:48 +0100)]
Rewrapping init script.
Daniel Baumann [Sat, 7 Feb 2009 23:41:20 +0000 (00:41 +0100)]
Making medium removal message working again with usplash.
Daniel Baumann [Sat, 7 Feb 2009 23:30:46 +0000 (00:30 +0100)]
Correcting medium eject message in initscript.
Daniel Baumann [Sat, 7 Feb 2009 23:28:33 +0000 (00:28 +0100)]
Usage of dialog in initscript is not actually a todo.
Daniel Baumann [Sat, 7 Feb 2009 23:28:08 +0000 (00:28 +0100)]
Removing bashism in initscript.
Daniel Baumann [Sat, 7 Feb 2009 23:19:33 +0000 (00:19 +0100)]
Updating bug script.
Daniel Baumann [Sat, 7 Feb 2009 23:18:21 +0000 (00:18 +0100)]
Prefixing debhelper files with package name.
Ronny Standtke [Sat, 7 Feb 2009 23:14:03 +0000 (00:14 +0100)]
Do not eject USB flash drives (Closes: #457070).
Daniel Baumann [Sat, 7 Feb 2009 23:16:30 +0000 (00:16 +0100)]
Updating copyright file.
Daniel Baumann [Sat, 7 Feb 2009 23:14:56 +0000 (00:14 +0100)]
Revert using debhelper 7 command in rules.
Daniel Baumann [Thu, 29 Jan 2009 23:17:02 +0000 (00:17 +0100)]
Releasing version 1.154.8-1.
Kai Hendry [Thu, 29 Jan 2009 23:07:27 +0000 (00:07 +0100)]
Adding basic xrandr support for lenny to enforce a particular resolution through bootparameter.
Daniel Baumann [Tue, 27 Jan 2009 17:14:36 +0000 (18:14 +0100)]
Releasing version 1.154.7-1.
Daniel Baumann [Tue, 27 Jan 2009 16:58:55 +0000 (17:58 +0100)]
Removing wc from hook again, that's an ubuntu only problem they have to care about.
Daniel Baumann [Tue, 27 Jan 2009 16:03:39 +0000 (17:03 +0100)]
Adding note about URL limitations in live-initramfs manpage when using fetch parameter.
Daniel Baumann [Mon, 26 Jan 2009 00:58:24 +0000 (01:58 +0100)]
Releasing version 1.154.6-1.
Daniel Baumann [Fri, 23 Jan 2009 14:19:52 +0000 (15:19 +0100)]
Actually building/cleaning manpages through targets in Makefile.
Daniel Baumann [Thu, 22 Jan 2009 16:43:11 +0000 (17:43 +0100)]
Adding persistent-path to parameter list and manpage.
Daniel Baumann [Thu, 22 Jan 2009 16:39:39 +0000 (17:39 +0100)]
Adding patch from Thierry Walrant <debian.tgc@walrant.net> to allow setting a path for the persistence files through persistent-path boot parameter (Closes: #512661).
Daniel Baumann [Thu, 22 Jan 2009 16:21:02 +0000 (17:21 +0100)]
Added missing variable quoting that lead to broken root persistence, thanks to Thierry Walrant <debian.tgc@walrant.net> (Closes: #512656).
Daniel Baumann [Tue, 20 Jan 2009 16:52:26 +0000 (17:52 +0100)]
Including wc in initramfs (Closes: #512413).
Daniel Baumann [Tue, 20 Jan 2009 16:51:33 +0000 (17:51 +0100)]
Replacing casper with live in live-new-uuid.
Daniel Baumann [Mon, 12 Jan 2009 18:26:47 +0000 (19:26 +0100)]
Releasing version 1.154.5-1.
Daniel Baumann [Sat, 10 Jan 2009 21:01:29 +0000 (22:01 +0100)]
Silencing xorg reconfiguration, thanks to Ronny Standtke <Ronny.Standtke@gmx.net>.
Daniel Baumann [Sat, 10 Jan 2009 21:01:06 +0000 (22:01 +0100)]
Silencing grep call on /etc/passwd.
Daniel Baumann [Sat, 10 Jan 2009 20:41:59 +0000 (21:41 +0100)]
Don't redirect output of fstype detection to standard out, thanks to Ronny Standtke <Ronny.Standtke@gmx.net>.
Daniel Baumann [Sat, 10 Jan 2009 15:48:34 +0000 (16:48 +0100)]
Also checking for wicd in 23networking, thanks to Ben Armstrong <synrg@debian.org>.
Daniel Baumann [Fri, 26 Dec 2008 08:46:33 +0000 (09:46 +0100)]
Releasing version 1.154.4-1.
Rene Mayrhofer [Mon, 22 Dec 2008 14:32:48 +0000 (15:32 +0100)]
Support further checks on loopback image and support skipping union mounts (Closes: #509446).
Daniel Baumann [Sat, 20 Dec 2008 13:37:43 +0000 (14:37 +0100)]
Releasing version 1.154.3-1.
Daniel Baumann [Thu, 18 Dec 2008 17:52:39 +0000 (18:52 +0100)]
Sourcing live.vars in 21xdriver and 21xvidemode in order to be able to set variables in previous bottom scripts.
Daniel Baumann [Thu, 11 Dec 2008 05:57:05 +0000 (06:57 +0100)]
Releasing version 1.154.2-1.
Daniel Baumann [Wed, 3 Dec 2008 19:33:00 +0000 (20:33 +0100)]
Updating authors file.
Marco Amadori [Tue, 2 Dec 2008 13:44:42 +0000 (14:44 +0100)]
Cleaned the boot log a bit.
Include a '\n' before the live-bottom script calls, otherwise the first
hook will trash the previous "begin_log_msg" entry, and however this
should be treated as a nested task.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 2 Dec 2008 07:57:48 +0000 (08:57 +0100)]
Reworked integrity-check (Closes: #507477).
* Changes:
- it reboots only if it succeed, otherwise it panics.
- it checks md5sum just after media is mounted, not after /root is
mounted. This allow a faster and safer reboot.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Daniel Baumann [Tue, 25 Nov 2008 11:19:53 +0000 (12:19 +0100)]
Releasing version 1.154.1-1.
Daniel Baumann [Tue, 25 Nov 2008 05:58:28 +0000 (06:58 +0100)]
Merging casper 1.154.
Daniel Baumann [Sun, 23 Nov 2008 21:01:34 +0000 (22:01 +0100)]
Removing spurious 'livefs_root' in copy_live_to();.
Daniel Baumann [Sun, 23 Nov 2008 17:16:57 +0000 (18:16 +0100)]
Also adding ralink to network device check.
Daniel Baumann [Sun, 23 Nov 2008 17:10:41 +0000 (18:10 +0100)]
Turning 'no supported filesystem images found' into a panic message, rather than a warning.
Daniel Baumann [Sun, 23 Nov 2008 17:09:50 +0000 (18:09 +0100)]
Adding a panic message when we netboot and have no supported network device (Closes: #496684).
Daniel Baumann [Sat, 22 Nov 2008 15:55:45 +0000 (16:55 +0100)]
Add a warning message when no image can be found.
Daniel Baumann [Tue, 11 Nov 2008 17:19:31 +0000 (18:19 +0100)]
Merging casper 1.153.
Daniel Baumann [Tue, 11 Nov 2008 17:18:53 +0000 (18:18 +0100)]
Merging casper 1.152.
Daniel Baumann [Tue, 11 Nov 2008 17:17:59 +0000 (18:17 +0100)]
Merging casper 1.151.
Daniel Baumann [Tue, 11 Nov 2008 17:17:39 +0000 (18:17 +0100)]
Merging casper 1.150.
Daniel Baumann [Tue, 11 Nov 2008 17:17:00 +0000 (18:17 +0100)]
Merging casper 1.149.
Daniel Baumann [Tue, 11 Nov 2008 17:14:20 +0000 (18:14 +0100)]
Merging casper 1.148.
Daniel Baumann [Tue, 11 Nov 2008 17:07:15 +0000 (18:07 +0100)]
Merging casper 1.147.
Daniel Baumann [Tue, 11 Nov 2008 17:06:54 +0000 (18:06 +0100)]
Merging casper 1.146.
Daniel Baumann [Tue, 11 Nov 2008 16:55:40 +0000 (17:55 +0100)]
Merging casper 1.145.
Daniel Baumann [Tue, 11 Nov 2008 16:52:41 +0000 (17:52 +0100)]
Merging casper 1.144.
Daniel Baumann [Tue, 11 Nov 2008 16:49:49 +0000 (17:49 +0100)]
Merging casper 1.143.
Daniel Baumann [Sat, 22 Nov 2008 15:49:41 +0000 (16:49 +0100)]
Merging casper 1.142.
Daniel Baumann [Tue, 11 Nov 2008 16:41:58 +0000 (17:41 +0100)]
Merging casper 1.141.
Daniel Baumann [Tue, 11 Nov 2008 16:33:47 +0000 (17:33 +0100)]
Merging casper 1.140.
Daniel Baumann [Tue, 11 Nov 2008 12:52:49 +0000 (13:52 +0100)]
Releasing version 1.139.1-4.
Daniel Baumann [Fri, 7 Nov 2008 17:07:20 +0000 (18:07 +0100)]
Replacing obsolete dh_clean -k with dh_prep.
Marco Amadori [Sat, 11 Oct 2008 21:31:22 +0000 (23:31 +0200)]
Removed all "cat | grep", with grep, awk and sed.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Thu, 2 Oct 2008 10:34:17 +0000 (12:34 +0200)]
Do not pollute the logs when looking for swap partitions.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Wed, 1 Oct 2008 09:21:22 +0000 (11:21 +0200)]
Manpage clarifications on "nofiles".
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Chris Lamb [Tue, 30 Sep 2008 23:59:26 +0000 (00:59 +0100)]
Don't "cat |" to grep.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Tue, 30 Sep 2008 23:58:38 +0000 (00:58 +0100)]
Reflow long 'tr'-based pipelines for readability.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Tue, 30 Sep 2008 23:58:12 +0000 (00:58 +0100)]
Reflow some grammar in comments and in live-initramfs(7).
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Tue, 30 Sep 2008 23:57:25 +0000 (00:57 +0100)]
Be consistent in using 0/1 for True/False values instead of English representations.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Tue, 30 Sep 2008 23:56:55 +0000 (00:56 +0100)]
Use "test -s" instead of testing file availability and size.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Tue, 30 Sep 2008 23:56:30 +0000 (00:56 +0100)]
Use "grep -qs" over "grep -q" for compatibility (see grep(1))
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Tue, 30 Sep 2008 23:56:00 +0000 (00:56 +0100)]
Remove (accidental?) debian/changelog entry.
Signed-off-by: Chris Lamb <lamby@debian.org>
Marco Amadori [Sat, 27 Sep 2008 22:51:04 +0000 (00:51 +0200)]
Implemented a persistence exclude list.
* 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".
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Sat, 27 Sep 2008 22:07:22 +0000 (00:07 +0200)]
Implemented a snapshot exclude list.
* 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.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Sat, 27 Sep 2008 09:18:15 +0000 (11:18 +0200)]
Search for partition labels only (Closes: #486469).
* 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.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Thu, 18 Sep 2008 21:37:27 +0000 (23:37 +0200)]
Reordered persistence lookups and boundaries (Closes: #500672).
* 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.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Thu, 18 Sep 2008 22:31:57 +0000 (00:31 +0200)]
live-snapshot: fixed include-list handling.
* When "/etc/live-snapshot.list" is present, all standard files and
directories listed there are saved on shutdown.
Now it saves them only if they are modified, and also handles
dangling symbolic links. This beaviour will be gentle to live-systems
upgrades on the same hardware since new unmodified to-be-snapshotted files
will be no more overwritten by old unnecessary saved cruft.
It still does not handle removal of deleted files.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 15:52:03 +0000 (17:52 +0200)]
Conditional creation of /etc/fstab.
* 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.
Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
Marco Amadori [Tue, 16 Sep 2008 15:26:09 +0000 (17:26 +0200)]
Changed HOSTNAME and /etc/hosts handling.
* 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.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Daniel Baumann [Fri, 19 Sep 2008 12:24:40 +0000 (14:24 +0200)]
Releasing debian version 1.139.1-3.
Daniel Baumann [Wed, 17 Sep 2008 06:54:17 +0000 (08:54 +0200)]
Sourcing live.vars in 15autologin directly, rather than to inherit from live-functions.
Marco Amadori [Tue, 16 Sep 2008 15:12:00 +0000 (17:12 +0200)]
Set -u in live-snapshot only in debug mode.
* Although is really fine to have checks for unboud variables, this
limits also included code, where unbound variables could be used as
feature. Set LIVE_SNAPSHOT_CHECK_UNBOUND to have it on again in your
test runs.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
Marco Amadori [Tue, 16 Sep 2008 14:24:37 +0000 (16:24 +0200)]
Included more debug and comments on persistence code.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
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>