grml-debootstrap.git
9 years agoRelease new version 0.64 v0.64
Michael Prokop [Sun, 20 Apr 2014 00:51:37 +0000 (02:51 +0200)]
Release new version 0.64

9 years agoProvide option --defaultinterfaces to install default /etc/network/interfaces
Michael Prokop [Sun, 20 Apr 2014 00:01:18 +0000 (02:01 +0200)]
Provide option --defaultinterfaces to install default /etc/network/interfaces

This should complete all combinations that make sense WRT
default /etc/network/interfaces handling

9 years agoSet up default /etc/network/interfaces with dhcp for eth0 in VM use case
Michael Prokop [Sat, 19 Apr 2014 23:28:33 +0000 (01:28 +0200)]
Set up default /etc/network/interfaces with dhcp for eth0 in VM use case

Network interfaces in VM should listen to DHCP by default,
and if /etc/network/interfaces doesn't exist at all (so
takeover from host to guest isn't possible either) create
a sane default as well.

Thanks: Christian Hofstaedtler <christian@hofstaedtler.name> for suggestion + review
Thanks: Ulrich Dangel <mru@spamt.net> for review
Fixes #20

10 years agoInitial README.md (esp. for Github users)
Michael Prokop [Sat, 19 Apr 2014 00:13:15 +0000 (02:13 +0200)]
Initial README.md (esp. for Github users)

10 years agoRelease new version 0.63 v0.63
Michael Prokop [Sat, 19 Apr 2014 00:04:45 +0000 (02:04 +0200)]
Release new version 0.63

10 years agoDo not enable security mirror for lenny release, being unavailable/unsupported nowadays
Michael Prokop [Fri, 18 Apr 2014 23:53:07 +0000 (01:53 +0200)]
Do not enable security mirror for lenny release, being unavailable/unsupported nowadays

10 years agoSupport --nokernel option to skip installation of default kernel images
Michael Prokop [Fri, 18 Apr 2014 23:38:14 +0000 (01:38 +0200)]
Support --nokernel option to skip installation of default kernel images

As needed in a $customer environment (not to be named [yet]).

10 years agoClarify usage of default hostname ($HOSTNAME is considered)
Michael Prokop [Fri, 18 Apr 2014 23:30:28 +0000 (01:30 +0200)]
Clarify usage of default hostname ($HOSTNAME is considered)

10 years agoUpdate documentation WRT supported releases and some minor fixes
Michael Prokop [Fri, 18 Apr 2014 23:10:40 +0000 (01:10 +0200)]
Update documentation WRT supported releases and some minor fixes

10 years agoCopy /etc/network/interfaces from host system, unless --nointerfaces is used or targe...
Michael Prokop [Wed, 16 Apr 2014 05:46:19 +0000 (07:46 +0200)]
Copy /etc/network/interfaces from host system, unless --nointerfaces is used or target is a VM

Thanks: Michael Renner <michael.renner@amd.co.at> for feature request and sponsoring my development time

10 years agoSupport execution of --grub when installing to target directory
Michael Prokop [Tue, 15 Apr 2014 10:41:24 +0000 (12:41 +0200)]
Support execution of --grub when installing to target directory

Thanks: Michael Renner <michael.renner@amd.co.at> for initial bug report and sponsoring my development time

10 years agoProvide --debug option for very verbose execution
Michael Prokop [Tue, 15 Apr 2014 10:41:00 +0000 (12:41 +0200)]
Provide --debug option for very verbose execution

This effectively executes grml-debootstrap under 'set -x'
(including the chroot script), so it's easy to generate an
execution log via e.g.:

  grml-debootstrap ... --debug --force 2>&1 | tee -a grml-deboootstrap.log

and providing it to grml-debootstrap developers for further
investigation.

10 years agoSwitch default filesystem from ext3 to ext4
Michael Prokop [Tue, 15 Apr 2014 09:56:26 +0000 (11:56 +0200)]
Switch default filesystem from ext3 to ext4

It should be safe to default to ext4 nowadays with Debian/wheezy
being the stable Debian release.

10 years agoFix smbfs example in fstab
Christian Hofstaedtler [Mon, 14 Apr 2014 10:12:22 +0000 (12:12 +0200)]
Fix smbfs example in fstab

mount.smbfs is apparently gone, and mount.cifs doesn't understand "defaults" any more.

10 years agoRelease new version 0.62 v0.62
Michael Prokop [Tue, 8 Apr 2014 17:32:46 +0000 (19:32 +0200)]
Release new version 0.62

10 years agoExecute apt upgrade with DEBIAN_FRONTEND environment variable
Michael Prokop [Tue, 8 Apr 2014 17:31:29 +0000 (19:31 +0200)]
Execute apt upgrade with DEBIAN_FRONTEND environment variable

Noticed via recent libssl1.0.0 upgrade that the
DEBIAN_FRONTEND usage is missing in the $APTUPGRADE
command line.

10 years agoRelease new version 0.61 v0.61
Michael Prokop [Thu, 20 Mar 2014 22:37:07 +0000 (23:37 +0100)]
Release new version 0.61

10 years agoAdd ifenslave and cryptsetup to default package list [Closes: issue1293]
Michael Prokop [Thu, 20 Mar 2014 22:13:51 +0000 (23:13 +0100)]
Add ifenslave and cryptsetup to default package list [Closes: issue1293]

10 years agoRelease new version 0.60 v0.60
Michael Prokop [Thu, 20 Mar 2014 15:22:26 +0000 (16:22 +0100)]
Release new version 0.60

10 years agoBump Standards-Version to 3.9.5
Michael Prokop [Thu, 20 Mar 2014 15:21:52 +0000 (16:21 +0100)]
Bump Standards-Version to 3.9.5

10 years agoAbort if FIXED_DISK_IDENTIFIERS is set but mkfs.* does not match for ext{2,3,4} file...
Michael Prokop [Fri, 7 Mar 2014 23:52:28 +0000 (00:52 +0100)]
Abort if FIXED_DISK_IDENTIFIERS is set but mkfs.* does not match for ext{2,3,4} file system

10 years agoSupport FIXED_DISK_IDENTIFIERS option, useful for reproducible builds
Patrick Schleizer [Thu, 6 Mar 2014 15:47:24 +0000 (15:47 +0000)]
Support FIXED_DISK_IDENTIFIERS option, useful for reproducible builds

Credit goes got Thorsten Staerk for his help on stackexchange.
(https://unix.stackexchange.com/questions/111414/how-to-change-the-disk-signature-of-a-raw-image)

10 years agoMerge branch 'version' of https://github.com/adrelanos/grml-debootstrap
Michael Prokop [Mon, 24 Feb 2014 14:39:19 +0000 (15:39 +0100)]
Merge branch 'version' of https://github.com/adrelanos/grml-debootstrap

10 years agoIt is not possible to build amd64 on i386. Break when the user attempts to do this.
Patrick Schleizer [Thu, 20 Feb 2014 22:45:16 +0000 (22:45 +0000)]
It is not possible to build amd64 on i386. Break when the user attempts to do this.

10 years agogrml-debootstrap own version detection code simplification
Patrick Schleizer [Mon, 17 Feb 2014 22:52:43 +0000 (22:52 +0000)]
grml-debootstrap own version detection code simplification

10 years agogrml-debootstrap own version detection code simplification
Patrick Schleizer [Mon, 17 Feb 2014 22:52:43 +0000 (22:52 +0000)]
grml-debootstrap own version detection code simplification

10 years agoadded $DPKG_OPTIONS to all instances of apt-get and aptitude (attempt 2) https:/...
Patrick Schleizer [Tue, 28 Jan 2014 00:49:01 +0000 (00:49 +0000)]
added $DPKG_OPTIONS to all instances of apt-get and aptitude (attempt 2) https://github.com/grml/grml-debootstrap/issues/8

10 years agoRelease new version 0.59 v0.59
Michael Prokop [Tue, 12 Nov 2013 13:07:17 +0000 (14:07 +0100)]
Release new version 0.59

10 years agoImprove error handling for update-locale
Michael Prokop [Tue, 12 Nov 2013 12:39:15 +0000 (13:39 +0100)]
Improve error handling for update-locale

Set absolute path to /usr/sbin/update-locale to make sure
the binary can be accessed no matter what's inside $PATH
and if it's not present inform user about it, but do not fail
because the locales-all package might be installed and it doesn't
provide the /usr/sbin/update-locale binary.

10 years agoDrop URL to release notes from script header
Michael Prokop [Tue, 12 Nov 2013 12:31:09 +0000 (13:31 +0100)]
Drop URL to release notes from script header

10 years agoFix usage of configuration variables
Michael Prokop [Tue, 12 Nov 2013 12:29:55 +0000 (13:29 +0100)]
Fix usage of configuration variables

10 years agoRelease new version 0.58 v0.58
Michael Prokop [Tue, 12 Nov 2013 12:16:10 +0000 (13:16 +0100)]
Release new version 0.58

10 years agoMention that "raw format" is used for vmfile option
Michael Prokop [Fri, 8 Nov 2013 08:49:05 +0000 (09:49 +0100)]
Mention that "raw format" is used for vmfile option

Since the "qemu-img create" always uses "raw" format, clarify that.

10 years agoFix description of SCRIPTS variable in config file
Michael Prokop [Thu, 7 Nov 2013 13:51:05 +0000 (14:51 +0100)]
Fix description of SCRIPTS variable in config file

While at it adjust order of CHROOT_SCRIPTS, PRE_SCRIPTS and
CHROOT_SCRIPTS to better fit the actual execution order.

Thanks: Jimmy Gredler for the hint

10 years agoAdd bridge-utils to default package list
Michael Prokop [Tue, 5 Nov 2013 09:00:22 +0000 (10:00 +0100)]
Add bridge-utils to default package list

10 years agoAdd vlan package to default package list
Michael Prokop [Mon, 4 Nov 2013 17:34:46 +0000 (18:34 +0100)]
Add vlan package to default package list

It's just too annoying to install a system which depends on
vlan configuration and not being able to access the network then.

10 years agoSupport overriding configuration via environment variables
Michael Prokop [Mon, 21 Oct 2013 07:23:18 +0000 (09:23 +0200)]
Support overriding configuration via environment variables

Inspired by https://github.com/grml/grml-debootstrap/pull/10,
thanks adrelanos

10 years agoInstall grub to main md device when installing on SW-RAID/mdadm
Michael Prokop [Tue, 15 Oct 2013 15:06:49 +0000 (17:06 +0200)]
Install grub to main md device when installing on SW-RAID/mdadm

Installing boot loader just on the first disk seems to cause
problems recently, looks like at least Debian/wheezy's grub
properly supports installation on /dev/md# devices, so let's try
that route instead...

10 years agoSupport $DEFAULT_LOCALES to enable specified locales as default
Michael Prokop [Tue, 15 Oct 2013 08:51:52 +0000 (10:51 +0200)]
Support $DEFAULT_LOCALES to enable specified locales as default

Defaults to en_US.UTF-8

10 years agoRelease new version 0.57 v0.57
Michael Prokop [Wed, 8 May 2013 14:22:23 +0000 (16:22 +0200)]
Release new version 0.57

10 years agoBump Standards-Version to 3.9.4 (no changes needed)
Christian Hofstaedtler [Wed, 8 May 2013 13:28:09 +0000 (15:28 +0200)]
Bump Standards-Version to 3.9.4 (no changes needed)

10 years agoRemove obsolete DM-Upload-Allowed flag
Christian Hofstaedtler [Wed, 8 May 2013 13:24:55 +0000 (15:24 +0200)]
Remove obsolete DM-Upload-Allowed flag

11 years agoRelease new version 0.56 v0.56
Michael Prokop [Fri, 8 Mar 2013 14:31:25 +0000 (15:31 +0100)]
Release new version 0.56

11 years agofix kernel image search on i386
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

11 years agoAdd new feature "backportrepos" (trigger: --backportrepos )
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>
11 years agoRelease new version 0.55 v0.55
Michael Prokop [Mon, 4 Feb 2013 15:01:08 +0000 (16:01 +0100)]
Release new version 0.55

11 years agoUse http.debian.net as default mirror
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>
11 years agodon't fail to ask for a password if there is no TTY
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

11 years agoMerge branch 'mika/wheezy_release'
Michael Prokop [Mon, 31 Dec 2012 22:53:38 +0000 (23:53 +0100)]
Merge branch 'mika/wheezy_release'

11 years agoRelease new version 0.54 v0.54
Michael Prokop [Mon, 17 Dec 2012 10:45:32 +0000 (11:45 +0100)]
Release new version 0.54

11 years agodocs: mention VM image and dialog based frontend support
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

11 years agodocs: clarify AUTOINSTALL is currently supported on Grml live systems only
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

11 years agodocs: fix outdated default mirror reference
Michael Prokop [Thu, 16 Aug 2012 11:03:34 +0000 (13:03 +0200)]
docs: fix outdated default mirror reference

11 years agoSet wheezy as the new default release [Closes: #688234]
Michael Prokop [Mon, 17 Dec 2012 09:58:59 +0000 (10:58 +0100)]
Set wheezy as the new default release [Closes: #688234]

11 years agoDo not hardcode squeeze as Debian/stable
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. :)

11 years agoadd BOOT_APPEND to GRUB_CMDLINE_LINUX_DEFAULT
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

11 years agoadd BOOT_APPEND to GRUB_CMDLINE_LINUX_DEFAULT
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

11 years agoAdd firmware-linux-free to the packages to be installed
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.

11 years agoDynamically determine the correct kernel package name
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

11 years agoadd a fallback mirror to be added in case when a local mirror is removed
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

11 years agoremove local (file://) mirrors from sources.list
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.

11 years agoDebian ISOs do not contain signed Release files
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

11 years agodebootstrap from an ISO when ISO is set as MIRROR is always set
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

11 years agoset ISO to file:$ISO, not to file:$1 which is just wrong
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

11 years agoRelease new version 0.53 v0.53
Michael Prokop [Tue, 19 Jun 2012 21:05:00 +0000 (23:05 +0200)]
Release new version 0.53

11 years agoAdd acpi-support-base to default package selection
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.

11 years agoRelease new version 0.52 v0.52
Michael Prokop [Mon, 11 Jun 2012 15:35:08 +0000 (17:35 +0200)]
Release new version 0.52

11 years agodm-mod: also check for device-mapper support using /proc/misc
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/

11 years agodisplay architecture in checkconfiguration summary
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)

11 years agodetect architecture before checkconfiguration
Darshaka Pathirana [Sat, 25 Feb 2012 02:24:56 +0000 (03:24 +0100)]
detect architecture before checkconfiguration

11 years agoRelease new version 0.51 v0.51
Michael Prokop [Mon, 14 May 2012 16:22:35 +0000 (18:22 +0200)]
Release new version 0.51

11 years agoAdjust source code comment for --nopassword option
Michael Prokop [Mon, 14 May 2012 16:21:10 +0000 (18:21 +0200)]
Adjust source code comment for --nopassword option

11 years agoDisplay grml-debootstrap version information in configuration-check dialog
Michael Prokop [Mon, 14 May 2012 16:14:34 +0000 (18:14 +0200)]
Display grml-debootstrap version information in configuration-check dialog

11 years agoDisplay debootstrap.log if bootstrapping failed and log file isn't empty
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...

11 years agoRemove chroot-script after execution
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

11 years agoRedirect eerror messages to stderr
Michael Prokop [Mon, 14 May 2012 14:36:28 +0000 (16:36 +0200)]
Redirect eerror messages to stderr

11 years agoDrop --insecure/SECURE option + instead depend on debian-archive-keyring
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.

11 years agoVM feature: improve sed command line to replace root=... kernel option
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

11 years agoRelease new version 0.50 v0.50
Michael Prokop [Tue, 24 Apr 2012 00:04:36 +0000 (02:04 +0200)]
Release new version 0.50

11 years agoMake sure loop module is present [Closes: issue1155]
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

11 years agoRemove the sysfs noauto entry from the installed fstab
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

11 years agodocs: mention http://archive.debian.org/debian/ for lenny release
Michael Prokop [Fri, 20 Apr 2012 10:03:21 +0000 (12:03 +0200)]
docs: mention archive.debian.org/debian/ for lenny release

12 years agoRelease new version 0.49 v0.49
Michael Prokop [Fri, 24 Feb 2012 13:44:46 +0000 (14:44 +0100)]
Release new version 0.49

12 years agoUpdate years of copyright
Michael Prokop [Fri, 24 Feb 2012 13:43:41 +0000 (14:43 +0100)]
Update years of copyright

12 years agoBump Standards-Version to 3.9.3
Michael Prokop [Fri, 24 Feb 2012 13:43:15 +0000 (14:43 +0100)]
Bump Standards-Version to 3.9.3

12 years agoRun unmount of chroot's /dev twice
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

12 years agoTry to load dm-mod kernel module if kpartx fails
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...

12 years agoVM installation: also check for parted executable
Michael Prokop [Mon, 30 Jan 2012 10:29:13 +0000 (11:29 +0100)]
VM installation: also check for parted executable

12 years agoCheck for dialog executeable only when using interactive mode
Michael Prokop [Mon, 30 Jan 2012 10:28:48 +0000 (11:28 +0100)]
Check for dialog executeable only when using interactive mode

12 years agoSlightly improve bailout and cleanup functions to better catch errors
Michael Prokop [Mon, 30 Jan 2012 10:28:21 +0000 (11:28 +0100)]
Slightly improve bailout and cleanup functions to better catch errors

12 years agoWording: since->because
Michael Prokop [Fri, 27 Jan 2012 12:44:18 +0000 (13:44 +0100)]
Wording: since->because

12 years agogrub_install: slightly change message if grub is not installed
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...

12 years agoRework cleanup process
Michael Prokop [Fri, 27 Jan 2012 12:15:49 +0000 (13:15 +0100)]
Rework cleanup process

12 years agoRun upgrade procedure by default (disable via UPGRADE_SYSTEM config)
Michael Prokop [Wed, 18 Jan 2012 17:26:52 +0000 (18:26 +0100)]
Run upgrade procedure by default (disable via UPGRADE_SYSTEM config)

12 years agoRelease new version 0.48 v0.48
Michael Prokop [Sat, 26 Nov 2011 17:14:06 +0000 (18:14 +0100)]
Release new version 0.48

12 years agoAdd dialog to Recommends
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.

12 years agomake sure grub-pc is installed when grub option is used
Michael Prokop [Thu, 13 Oct 2011 22:16:56 +0000 (00:16 +0200)]
make sure grub-pc is installed when grub option is used

12 years agomake sure chroot variables are quoted
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.

12 years agodrop enabled config variables from config file and use defaults
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.

12 years agodisable filesystem check by default
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.