Christian Hofstaedtler [Wed, 8 May 2013 13:24:55 +0000 (15:24 +0200)]
Remove obsolete DM-Upload-Allowed flag
Michael Prokop [Fri, 8 Mar 2013 14:31:25 +0000 (15:31 +0100)]
Release new version 0.56
Evgeni Golov [Fri, 8 Mar 2013 12:36:50 +0000 (13:36 +0100)]
fix kernel image search on i386
also warn if no kernel could be found
Markus Rekkenbeil [Mon, 4 Feb 2013 16:39:00 +0000 (17:39 +0100)]
Add new feature "backportrepos" (trigger: --backportrepos )
This feature as a parameter allows the usage of the official
Debian backports repository (http://backports.debian.org), but only
if the release version provides by the backports repository.
Github pull request: https://github.com/grml/grml-debootstrap/pull/7
Signed-off-by: Markus Rekkenbeil <bionix@grml.org>
Michael Prokop [Mon, 4 Feb 2013 15:01:08 +0000 (16:01 +0100)]
Release new version 0.55
Michael Prokop [Mon, 4 Feb 2013 14:56:34 +0000 (15:56 +0100)]
Use http.debian.net as default mirror
As stated at http://http.debian.net/ - the advantages of
http.debian.net over cdn.debian.net are for example:
* Mirrors whose copy is not in /debian (e.g. /pub/debian)
* Immediate effect on database changes (no DNS propagation lag)
* Lower chance of inconsistency
* Faster downloads (when APT is used, via parallel downloads)
Acked-by: Alexander Wirt <formorer@grml.org>
Acked-by: Evgeni Golov <evgeni@grml.org>
Evgeni Golov [Thu, 16 Aug 2012 21:45:14 +0000 (23:45 +0200)]
don't fail to ask for a password if there is no TTY
When running grml-debootrap over ssh like
ssh root@grml grml-debootstrap ...
the password promt for the root user would fail, as you cannot stty
without a tty. The user should actually have called
ssh -t root@grml grml-debootstrap ...
which would have allocated a TTY and all would have worked.
Display a warning to the user and fall back to displaying the entered
password when he continues to use grml-debootstrap w/o a TTY.
Closes: issue1200
Michael Prokop [Mon, 31 Dec 2012 22:53:38 +0000 (23:53 +0100)]
Merge branch 'mika/wheezy_release'
Michael Prokop [Mon, 17 Dec 2012 10:45:32 +0000 (11:45 +0100)]
Release new version 0.54
Michael Prokop [Thu, 16 Aug 2012 11:02:30 +0000 (13:02 +0200)]
docs: mention VM image and dialog based frontend support
Thanks: Evgeni Golov <evgeni@grml.org> for review and improving
Michael Prokop [Thu, 16 Aug 2012 11:02:47 +0000 (13:02 +0200)]
docs: clarify AUTOINSTALL is currently supported on Grml live systems only
It could be supported by any live system, but currently only Grml
provides it, so clarify that.
Thanks: Evgeni Golov <evgeni@grml.org> for review + improving
Michael Prokop [Thu, 16 Aug 2012 11:03:34 +0000 (13:03 +0200)]
docs: fix outdated default mirror reference
Michael Prokop [Mon, 17 Dec 2012 09:58:59 +0000 (10:58 +0100)]
Set wheezy as the new default release [Closes: #688234]
Michael Prokop [Thu, 16 Aug 2012 10:53:28 +0000 (12:53 +0200)]
Do not hardcode squeeze as Debian/stable
This will be confusing once Debian/wheezy is the current stable version
of Debian, so let's avoid making it more confusing than necessary. :)
Evgeni Golov [Thu, 9 Aug 2012 14:54:30 +0000 (16:54 +0200)]
add BOOT_APPEND to GRUB_CMDLINE_LINUX_DEFAULT
it was broken since commit
cbf40a49324ae7feb468e528a7845465304faaff
Evgeni Golov [Thu, 9 Aug 2012 14:54:30 +0000 (16:54 +0200)]
add BOOT_APPEND to GRUB_CMDLINE_LINUX_DEFAULT
it was broken since commit
cbf40a49324ae7feb468e528a7845465304faaff
Evgeni Golov [Wed, 8 Aug 2012 06:30:00 +0000 (08:30 +0200)]
Add firmware-linux-free to the packages to be installed
Debian ISOs do not include the (non-free) firmware-linux meta-package.
As this meta-package just pulls in firmware-linux-free and
firmware-linux-nonfree, let's install firmware-linux-free by hand, so
it will be installed even when firmware-linux is not available.
Evgeni Golov [Wed, 8 Aug 2012 06:25:22 +0000 (08:25 +0200)]
Dynamically determine the correct kernel package name
Dynamically determine the correct kernel package name by
checking if the package exists. This allows bootstrapping from a
Debian ISO which, depending on the release, only contains the
linux-image-2.6-$ARCH or the linux-image-$ARCH meta-package.
Thanks to Ulrich Dangel for the initial patch and the great discussion!
Closes: issue1206
Evgeni Golov [Fri, 3 Aug 2012 11:16:03 +0000 (13:16 +0200)]
add a fallback mirror to be added in case when a local mirror is removed
Evgeni Golov [Fri, 3 Aug 2012 08:17:25 +0000 (10:17 +0200)]
remove local (file://) mirrors from sources.list
When bootrapping from an ISO or a local mirror, these are bind-mounted
into the chroot. After the bootstraping process, there is nothing
that would bind-mount them again, leaving useless entries in the
chroot's sources.list.
Evgeni Golov [Wed, 1 Aug 2012 17:20:28 +0000 (19:20 +0200)]
Debian ISOs do not contain signed Release files
pass --no-check-gpg to debootstrap
pass --allow-untrusted to aptitude
Evgeni Golov [Wed, 1 Aug 2012 16:54:59 +0000 (18:54 +0200)]
debootstrap from an ISO when ISO is set as MIRROR is always set
previously the ISO codepath was never executed as MIRROR was always set
and thus -n "$MIRROR" was never false
do NOT unset MIRROR in the ISO case so that the resulting chroot has a
proper mirror configured
Evgeni Golov [Wed, 1 Aug 2012 16:53:41 +0000 (18:53 +0200)]
set ISO to file:$ISO, not to file:$1 which is just wrong
Michael Prokop [Tue, 19 Jun 2012 21:05:00 +0000 (23:05 +0200)]
Release new version 0.53
Michael Prokop [Wed, 13 Jun 2012 15:36:31 +0000 (17:36 +0200)]
Add acpi-support-base to default package selection
Without this package base ACPI events such as the power button
aren't handled, which is annoying for virtual machines handled
by management tools.
Michael Prokop [Mon, 11 Jun 2012 15:35:08 +0000 (17:35 +0200)]
Release new version 0.52
Michael Prokop [Thu, 7 Jun 2012 19:02:54 +0000 (21:02 +0200)]
dm-mod: also check for device-mapper support using /proc/misc
As noted in http://gsocdebian.wordpress.com/2012/06/06/dm_mod/
Darshaka Pathirana [Sat, 25 Feb 2012 02:25:49 +0000 (03:25 +0100)]
display architecture in checkconfiguration summary
+ also fixed minor typo
+ synced dialog and text output order (release, hostname, mirror)
Darshaka Pathirana [Sat, 25 Feb 2012 02:24:56 +0000 (03:24 +0100)]
detect architecture before checkconfiguration
Michael Prokop [Mon, 14 May 2012 16:22:35 +0000 (18:22 +0200)]
Release new version 0.51
Michael Prokop [Mon, 14 May 2012 16:21:10 +0000 (18:21 +0200)]
Adjust source code comment for --nopassword option
Michael Prokop [Mon, 14 May 2012 16:14:34 +0000 (18:14 +0200)]
Display grml-debootstrap version information in configuration-check dialog
Michael Prokop [Mon, 14 May 2012 16:09:28 +0000 (18:09 +0200)]
Display debootstrap.log if bootstrapping failed and log file isn't empty
This makes debugging failing bootstrapping easier...
Michael Prokop [Tue, 24 Apr 2012 20:07:24 +0000 (22:07 +0200)]
Remove chroot-script after execution
Restumbled upon it again during a discussion with Carsten Hey <carsten@debian.org>
regarding #670106
Michael Prokop [Mon, 14 May 2012 14:36:28 +0000 (16:36 +0200)]
Redirect eerror messages to stderr
Michael Prokop [Thu, 26 Apr 2012 16:19:06 +0000 (18:19 +0200)]
Drop --insecure/SECURE option + instead depend on debian-archive-keyring
When deploying Debian/squeeze from Debian/wheezy it fails with:
| Release signed by unknown key (key id
AED4B06F473041FA)
and as Ubuntu provides grml-debootstrap in universe but its
/etc/apt/trusted.gpg doesn't include Debian's repos keys it also
fails there. As soon as
/usr/share/keyrings/debian-archive-keyring.gpg is available we
don't have to take care of it, so just drop the additional code
and deprecate the --insecure cmdline option and SECURE config
file option and instead depend on the debian-archive-keyring
package.
Michael Prokop [Sun, 13 May 2012 16:02:57 +0000 (18:02 +0200)]
VM feature: improve sed command line to replace root=... kernel option
Quoting bugreport:
| [...] I found an issue which renders
| every preconfigured BOOTPARAMS for vmfiles useless.
|
| Near the end of grml-debootstrap the grub config is changed to boot in
| virtual environments. Unfortunately the whole line is replaced to
| root=/dev/sda1 and each parameter that was previously set is gone by
| then.
|
| See attached a diff that just replaces the root device string.
Thanks: Conny Seidel <conny.seidel@amd.com> for bugreport + patch
Michael Prokop [Tue, 24 Apr 2012 00:04:36 +0000 (02:04 +0200)]
Release new version 0.50
Michael Prokop [Tue, 10 Apr 2012 10:01:38 +0000 (12:01 +0200)]
Make sure loop module is present [Closes: issue1155]
Thanks: Christian Hofstaedtler for the bugreport
Gregor Thill [Sun, 22 Apr 2012 19:35:31 +0000 (21:35 +0200)]
Remove the sysfs noauto entry from the installed fstab
This entry causes udev not to be loaded on current Debian Wheezy.
Closes: #670074
Michael Prokop [Fri, 20 Apr 2012 10:03:21 +0000 (12:03 +0200)]
docs: mention archive.debian.org/debian/ for lenny release
Michael Prokop [Fri, 24 Feb 2012 13:44:46 +0000 (14:44 +0100)]
Release new version 0.49
Michael Prokop [Fri, 24 Feb 2012 13:43:41 +0000 (14:43 +0100)]
Update years of copyright
Michael Prokop [Fri, 24 Feb 2012 13:43:15 +0000 (14:43 +0100)]
Bump Standards-Version to 3.9.3
Michael Prokop [Mon, 30 Jan 2012 12:33:52 +0000 (13:33 +0100)]
Run unmount of chroot's /dev twice
Closes: #657023
Thanks: Michael Hanke <mih@debian.org> for reporting and testing
Michael Prokop [Mon, 30 Jan 2012 10:29:40 +0000 (11:29 +0100)]
Try to load dm-mod kernel module if kpartx fails
dm-mod isn't loaded OOTB on plain Debian/squeeze installations,
don't annoy the user...
Michael Prokop [Mon, 30 Jan 2012 10:29:13 +0000 (11:29 +0100)]
VM installation: also check for parted executable
Michael Prokop [Mon, 30 Jan 2012 10:28:48 +0000 (11:28 +0100)]
Check for dialog executeable only when using interactive mode
Michael Prokop [Mon, 30 Jan 2012 10:28:21 +0000 (11:28 +0100)]
Slightly improve bailout and cleanup functions to better catch errors
Michael Prokop [Fri, 27 Jan 2012 12:44:18 +0000 (13:44 +0100)]
Wording: since->because
Michael Prokop [Fri, 27 Jan 2012 12:35:58 +0000 (13:35 +0100)]
grub_install: slightly change message if grub is not installed
If using the VM install feature then grub is installed in
main grml-debootstrap script instead of the chroot script.
So don't confuse people too much with "not installing grub"
and later actually installing grub...
Michael Prokop [Fri, 27 Jan 2012 12:15:49 +0000 (13:15 +0100)]
Rework cleanup process
Michael Prokop [Wed, 18 Jan 2012 17:26:52 +0000 (18:26 +0100)]
Run upgrade procedure by default (disable via UPGRADE_SYSTEM config)
Michael Prokop [Sat, 26 Nov 2011 17:14:06 +0000 (18:14 +0100)]
Release new version 0.48
Christian Hofstaedtler [Mon, 14 Nov 2011 23:59:54 +0000 (00:59 +0100)]
Add dialog to Recommends
As the interactive frontend does not work without dialog, we should at
least recommend installing it.
Michael Prokop [Thu, 13 Oct 2011 22:16:56 +0000 (00:16 +0200)]
make sure grub-pc is installed when grub option is used
Michael Prokop [Fri, 14 Oct 2011 00:05:40 +0000 (02:05 +0200)]
make sure chroot variables are quoted
Otherwise something like:
TUNE2FS=tune2fs -c0 -i0
might result in /etc/debootstrap/variables in the chroot.
Michael Prokop [Thu, 13 Oct 2011 21:50:39 +0000 (23:50 +0200)]
drop enabled config variables from config file and use defaults
It was a bad design decision to provide default settings in
the configuration file. Let's clean this up.
Thanks: Christian Hofstaedtler <ch@grml.org> for review and improvements.
Michael Prokop [Thu, 13 Oct 2011 20:49:11 +0000 (22:49 +0200)]
disable filesystem check by default
Shouldn't be necessary anymore (thanks for testing, Jimmy).
Since it's annoying and we noticed many users disable it
anyway let's try to not use it by default.
Michael Prokop [Thu, 13 Oct 2011 20:44:37 +0000 (22:44 +0200)]
update release table (drop etch, add wheezy)
Michael Prokop [Thu, 13 Oct 2011 20:31:06 +0000 (22:31 +0200)]
docs: improve option formating, minor typo fixes
Michael Prokop [Thu, 13 Oct 2011 20:17:55 +0000 (22:17 +0200)]
clarify usage of --arch option
Michael Prokop [Thu, 13 Oct 2011 18:27:13 +0000 (20:27 +0200)]
support --grmlrepos command line option
Michael Prokop [Thu, 13 Oct 2011 17:04:27 +0000 (19:04 +0200)]
vim modeline: set shiftwidth to a less insane value
Michael Prokop [Thu, 13 Oct 2011 16:33:31 +0000 (18:33 +0200)]
do not run fsck when deploying virtual machine
When running filesystem check on the loopback device
of the virtual machine we get something like:
| fsck.ext3: No such file or directory while trying to open /dev/mapper/loop1p1
since the loopback device has been removed already.
Since fsck shouldn't be necessary at all let's just
skip it when building VMs.
Michael Prokop [Thu, 13 Oct 2011 15:45:13 +0000 (17:45 +0200)]
Support --nopassword option to not prompt for the root password
Michael Prokop [Thu, 13 Oct 2011 15:15:05 +0000 (17:15 +0200)]
chroot-script: clarify error message iff packages is not available + send it to stderr
Michael Prokop [Thu, 13 Oct 2011 15:14:39 +0000 (17:14 +0200)]
clarify usage text of --packages option
Christian Hofstaedtler [Sun, 28 Aug 2011 22:37:36 +0000 (00:37 +0200)]
Fix debian/copyright to point to GPL-2 license
This solves lintian P: copyright-refers-to-symlink-license.
Christian Hofstaedtler [Sun, 28 Aug 2011 22:33:57 +0000 (00:33 +0200)]
Reworded package Description a tiny bit
Christian Hofstaedtler [Sun, 28 Aug 2011 22:31:58 +0000 (00:31 +0200)]
Switch to source format 3.0 (native)
This solves lintian I: missing-debian-source-format. As this is a native
package, this only has upsides.
Christian Hofstaedtler [Sun, 28 Aug 2011 22:29:32 +0000 (00:29 +0200)]
Install bootgrub.mksh 0755
This solves lintian W: script-not-executable, and I don't see why
we shouldn't install bootgrub.mksh +x.
Christian Hofstaedtler [Sun, 28 Aug 2011 22:27:45 +0000 (00:27 +0200)]
Reformat NEWS.Debian
This solves lintian I: debian-news-entry-uses-asterisk
Michael Prokop [Wed, 10 Aug 2011 13:05:52 +0000 (15:05 +0200)]
chroot-script: be more verbose about steps executed in chrootmirror().
Michael Prokop [Wed, 10 Aug 2011 13:01:13 +0000 (15:01 +0200)]
chroot-script: de-duplicate code WRT security mirror.
Michael Prokop [Thu, 28 Jul 2011 16:05:23 +0000 (18:05 +0200)]
Releasing new version 0.47.
Christian Hofstaedtler [Tue, 26 Jul 2011 19:02:35 +0000 (21:02 +0200)]
bailout on dialog cancellation
Christian Hofstaedtler [Tue, 26 Jul 2011 19:19:49 +0000 (21:19 +0200)]
fix ported eend function return value
Christian Hofstaedtler [Tue, 26 Jul 2011 18:52:44 +0000 (20:52 +0200)]
Depend on gawk, as we're using that
Christian Hofstaedtler [Tue, 26 Jul 2011 11:26:17 +0000 (13:26 +0200)]
Update package description
Christian Hofstaedtler [Tue, 26 Jul 2011 10:04:34 +0000 (12:04 +0200)]
Fix lintian warning debian-rules-missing-recommended-target
Christian Hofstaedtler [Tue, 26 Jul 2011 09:55:33 +0000 (11:55 +0200)]
Prepare control file for targetting Debian
Christian Hofstaedtler [Tue, 26 Jul 2011 09:55:23 +0000 (11:55 +0200)]
Update copyright file based on git log
Michael Prokop [Tue, 26 Jul 2011 11:54:14 +0000 (13:54 +0200)]
Fix vim syntax folding issue with missing }}}.
Michael Prokop [Tue, 26 Jul 2011 11:51:57 +0000 (13:51 +0200)]
Drop "set -e" from the scripts.
Christian Hofstaedtler [Tue, 26 Jul 2011 08:36:25 +0000 (10:36 +0200)]
Don't depend on grml-etc-core
Internalized some functions from lsb-functions, script-functions
in simplified versions.
Ulrich Dangel [Tue, 31 May 2011 07:21:20 +0000 (09:21 +0200)]
Use /bin/bash for tests instead of /bin/zsh
Michael Prokop [Mon, 30 May 2011 21:28:16 +0000 (23:28 +0200)]
Release new version 0.46.
Signed-off-by: Michael Prokop <mika@grml.org>
Michael Prokop [Mon, 30 May 2011 21:31:31 +0000 (23:31 +0200)]
Bump Standards-Version to 3.9.2.
Signed-off-by: Michael Prokop <mika@grml.org>
Michael Prokop [Mon, 30 May 2011 21:11:55 +0000 (23:11 +0200)]
Consequently use eerror for displaying error messages.
Michael Prokop [Mon, 30 May 2011 21:05:19 +0000 (23:05 +0200)]
Support --force option to skip user acknowledgement and do not prompt for user input.
Michael Prokop [Mon, 30 May 2011 16:55:06 +0000 (18:55 +0200)]
Support --vmfile and --vmsize command line options for deploying a virtual machine.
Using the --vmfile option sets up a virtual machine instead of
deploying Debian to a block device or directory.
The --vmsize option configures the size of the virtual disk file
that's being deployed.
Thanks to Thorsten Glaser for help with installing Grub accordingly.
Michael Prokop [Mon, 30 May 2011 16:53:06 +0000 (18:53 +0200)]
Update package description and documentation to reflect squeeze as current stable release.
Michael Prokop [Sat, 14 May 2011 01:16:18 +0000 (03:16 +0200)]
Release new version 0.45.
Signed-off-by: Michael Prokop <mika@grml.org>
Michael Prokop [Sat, 14 May 2011 01:15:32 +0000 (03:15 +0200)]
Be quiet when checking for package precense.
Michael Prokop [Wed, 4 May 2011 11:17:01 +0000 (13:17 +0200)]
Improve installed-check for packages that should be reconfigured.
Michael Prokop [Mon, 28 Mar 2011 13:03:34 +0000 (15:03 +0200)]
Install os-prober by default.
If os-prober isn't installed grub doesn't detect the non-Debian
operating systems. os-prober does all the necessary magic, so
let's install it by default.
Michael Prokop [Fri, 11 Mar 2011 11:31:18 +0000 (12:31 +0100)]
Release new version 0.44
Michael Prokop [Fri, 11 Mar 2011 11:18:41 +0000 (12:18 +0100)]
Integrate Debian/squeeze and Debian/wheezy proberly.
Michael Prokop [Fri, 11 Mar 2011 10:17:25 +0000 (11:17 +0100)]
Add security.debian.org to sources.list (except for unstable/sid). [Closes: issue967]
Signed-off-by: Michael Prokop <mika@grml.org>