grml-debootstrap.git
12 years agoDrop "set -e" from the scripts.
Michael Prokop [Tue, 26 Jul 2011 11:51:57 +0000 (13:51 +0200)]
Drop "set -e" from the scripts.

12 years agoDon't depend on grml-etc-core
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.

12 years agoUse /bin/bash for tests instead of /bin/zsh
Ulrich Dangel [Tue, 31 May 2011 07:21:20 +0000 (09:21 +0200)]
Use /bin/bash for tests instead of /bin/zsh

12 years agoRelease new version 0.46. v0.46
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>
12 years agoBump Standards-Version to 3.9.2.
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>
12 years agoConsequently use eerror for displaying error messages.
Michael Prokop [Mon, 30 May 2011 21:11:55 +0000 (23:11 +0200)]
Consequently use eerror for displaying error messages.

12 years agoSupport --force option to skip user acknowledgement and do not prompt for user input.
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.

12 years agoSupport --vmfile and --vmsize command line options for deploying a virtual machine.
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.

12 years agoUpdate package description and documentation to reflect squeeze as current stable...
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.

12 years agoRelease new version 0.45. v0.45
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>
12 years agoBe quiet when checking for package precense.
Michael Prokop [Sat, 14 May 2011 01:15:32 +0000 (03:15 +0200)]
Be quiet when checking for package precense.

12 years agoImprove installed-check for packages that should be reconfigured.
Michael Prokop [Wed, 4 May 2011 11:17:01 +0000 (13:17 +0200)]
Improve installed-check for packages that should be reconfigured.

13 years agoInstall os-prober by default.
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.

13 years agoRelease new version 0.44 v0.44
Michael Prokop [Fri, 11 Mar 2011 11:31:18 +0000 (12:31 +0100)]
Release new version 0.44

13 years agoIntegrate Debian/squeeze and Debian/wheezy proberly.
Michael Prokop [Fri, 11 Mar 2011 11:18:41 +0000 (12:18 +0100)]
Integrate Debian/squeeze and Debian/wheezy proberly.

13 years agoAdd security.debian.org to sources.list (except for unstable/sid). [Closes: issue967]
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>
13 years agoadd lsb-release to package list
Christian Hofstaedtler [Sun, 30 Jan 2011 17:14:34 +0000 (18:14 +0100)]
add lsb-release to package list

Signed-off-by: Christian Hofstaedtler <ch@grml.org>
Acked-by: Michael Prokop <mika@grml.org>
13 years agoadd rsync to package list
Christian Hofstaedtler [Sun, 30 Jan 2011 17:14:19 +0000 (18:14 +0100)]
add rsync to package list

Signed-off-by: Christian Hofstaedtler <ch@grml.org>
Acked-by: Michael Prokop <mika@grml.org>
13 years agoturn off Install-Recommends for our apt-get calls
Christian Hofstaedtler [Sun, 30 Jan 2011 17:13:53 +0000 (18:13 +0100)]
turn off Install-Recommends for our apt-get calls

Signed-off-by: Christian Hofstaedtler <ch@grml.org>
Acked-by: Michael Prokop <mika@grml.org>
13 years agoInstall (non-free) firmware for Linux kernel
Christian Hofstaedtler [Sun, 30 Jan 2011 17:06:46 +0000 (18:06 +0100)]
Install (non-free) firmware for Linux kernel

Signed-off-by: Christian Hofstaedtler <ch@grml.org>
Acked-by: Michael Prokop <mika@grml.org>
13 years agoRelease new version 0.43. v0.43
Michael Prokop [Sat, 8 Jan 2011 00:33:34 +0000 (01:33 +0100)]
Release new version 0.43.

13 years agoAutomatically reboot after 10 seconds of inactivity after succesfully finishing autom...
Michael Prokop [Sat, 8 Jan 2011 00:29:00 +0000 (01:29 +0100)]
Automatically reboot after 10 seconds of inactivity after succesfully finishing automatic installation.

Thanks for the suggestion, Christian.

13 years agoRelease new version 0.42. v0.42
Michael Prokop [Tue, 28 Dec 2010 14:54:24 +0000 (15:54 +0100)]
Release new version 0.42.

13 years agoMakefile: drop uniq/sed/... workarounds for broken docbook-xsl (1.71.0.dfsg.1-1).
Michael Prokop [Tue, 28 Dec 2010 14:54:05 +0000 (15:54 +0100)]
Makefile: drop uniq/sed/... workarounds for broken docbook-xsl (1.71.0.dfsg.1-1).

13 years agoMove grub_install from grml-debootstrap to chroot-script.
Michael Prokop [Tue, 28 Dec 2010 14:50:52 +0000 (15:50 +0100)]
Move grub_install from grml-debootstrap to chroot-script.

13 years agogrml-debootstrap.8.txt: Add Squeeze as alternative recommendation as suite.
Michael Prokop [Tue, 28 Dec 2010 13:41:24 +0000 (14:41 +0100)]
grml-debootstrap.8.txt: Add Squeeze as alternative recommendation as suite.

13 years agoRelease new version 0.41. v0.41
Michael Prokop [Thu, 2 Dec 2010 13:56:07 +0000 (14:56 +0100)]
Release new version 0.41.

13 years agoImprove check4root.
Michael Prokop [Thu, 2 Dec 2010 14:18:23 +0000 (15:18 +0100)]
Improve check4root.

13 years agoImprove check4root message WRT usage instructions.
Michael Prokop [Thu, 2 Dec 2010 14:14:43 +0000 (15:14 +0100)]
Improve check4root message WRT usage instructions.

13 years agoFix --help parsing.
Michael Prokop [Thu, 2 Dec 2010 14:12:27 +0000 (15:12 +0100)]
Fix --help parsing.

13 years agoRun grml-debootstrap under bash.
Michael Prokop [Thu, 2 Dec 2010 14:00:58 +0000 (15:00 +0100)]
Run grml-debootstrap under bash.

13 years agoDynamically calculate version number using the Debian package version.
Michael Prokop [Thu, 2 Dec 2010 13:55:13 +0000 (14:55 +0100)]
Dynamically calculate version number using the Debian package version.

13 years agoUse /etc/apt/sources.list.d/grml.list for grml-repos, retrieve grml-debian-keyring...
Michael Prokop [Thu, 2 Dec 2010 13:52:13 +0000 (14:52 +0100)]
Use /etc/apt/sources.list.d/grml.list for grml-repos, retrieve grml-debian-keyring package if possible

Closes: issue867

13 years agoBump version number in script and release version 0.40. v0.40
Michael Prokop [Mon, 18 Oct 2010 14:28:15 +0000 (16:28 +0200)]
Bump version number in script and release version 0.40.

13 years agomdraids for lenny need to use metadata format 0.90
Christian Hofstaedtler [Mon, 18 Oct 2010 14:11:19 +0000 (16:11 +0200)]
mdraids for lenny need to use metadata format 0.90

13 years agoRelease new version 0.39. v0.39
Michael Prokop [Mon, 18 Oct 2010 12:51:42 +0000 (14:51 +0200)]
Release new version 0.39.

13 years agoBump Standards-Version to 3.9.1.
Michael Prokop [Mon, 18 Oct 2010 12:52:24 +0000 (14:52 +0200)]
Bump Standards-Version to 3.9.1.

13 years agoremove bashism "read -s" from chroot-script
Christian Hofstaedtler [Mon, 18 Oct 2010 12:17:57 +0000 (14:17 +0200)]
remove bashism "read -s" from chroot-script

chroot-script runs in target, which might very well use dash, which
doesn't have "read -s". Patch based on mira's recommendations.

13 years agoUpdate version number.
Michael Prokop [Wed, 9 Jun 2010 09:44:58 +0000 (11:44 +0200)]
Update version number.

13 years agoUpdate changelog.
Michael Prokop [Wed, 9 Jun 2010 09:44:33 +0000 (11:44 +0200)]
Update changelog.

13 years agoremove 'umount -a' in bailout()
Tong Sun [Tue, 8 Jun 2010 21:50:52 +0000 (17:50 -0400)]
remove 'umount -a' in bailout()

see http://bts.grml.org/grml/issue806

13 years agoRelease version 0.38. v0.38
Michael Prokop [Thu, 27 May 2010 22:45:50 +0000 (00:45 +0200)]
Release version 0.38.

13 years agoMake sure to reread the correct partition table if using SW-RAID.
Michael Prokop [Tue, 18 May 2010 11:46:32 +0000 (13:46 +0200)]
Make sure to reread the correct partition table if using SW-RAID.

13 years agoSource specified configuration file at according stage.
Michael Prokop [Tue, 18 May 2010 11:45:54 +0000 (13:45 +0200)]
Source specified configuration file at according stage.

13 years agoFix comment regarding local CHOOSE_MIRROR.
Michael Prokop [Tue, 18 May 2010 11:40:48 +0000 (13:40 +0200)]
Fix comment regarding local CHOOSE_MIRROR.

14 years agoDo not unmount ISO loopback mount point in finalize(). v0.37
Michael Prokop [Tue, 2 Mar 2010 01:31:58 +0000 (02:31 +0100)]
Do not unmount ISO loopback mount point in finalize().

14 years agoAdd support for specifying filesystem + provide /etc/network/interfaces.examples v0.36
Michael Prokop [Sat, 27 Feb 2010 20:41:00 +0000 (21:41 +0100)]
Add support for specifying filesystem + provide /etc/network/interfaces.examples

14 years agoReplace vol_id command with blkid. v0.35
Michael Prokop [Fri, 26 Feb 2010 14:19:30 +0000 (15:19 +0100)]
Replace vol_id command with blkid.

14 years agoUpdate changelog and bump version number.
Michael Prokop [Fri, 26 Feb 2010 12:28:11 +0000 (13:28 +0100)]
Update changelog and bump version number.

14 years agoDo NOT execute umount -a in chroot.
Michael Prokop [Fri, 26 Feb 2010 12:24:49 +0000 (13:24 +0100)]
Do NOT execute umount -a in chroot.

14 years agoUpdate documentation regarding /etc/debootstrap/config. v0.34
Michael Prokop [Mon, 22 Feb 2010 23:21:20 +0000 (00:21 +0100)]
Update documentation regarding /etc/debootstrap/config.

14 years agoSpecify nopackages in cmdline handling.
Michael Prokop [Mon, 22 Feb 2010 23:12:15 +0000 (00:12 +0100)]
Specify nopackages in cmdline handling.

14 years agoDocument --nopackages option usage screen.
Michael Prokop [Mon, 22 Feb 2010 23:10:35 +0000 (00:10 +0100)]
Document --nopackages option usage screen.

14 years agoFix minor typo in config file comment.
Michael Prokop [Mon, 22 Feb 2010 22:48:12 +0000 (23:48 +0100)]
Fix minor typo in config file comment.

14 years agoSupport config variable RM_APTCACHE.
Michael Prokop [Mon, 22 Feb 2010 22:46:58 +0000 (23:46 +0100)]
Support config variable RM_APTCACHE.

14 years agoIntroduce option --nopackages
Michael Prokop [Mon, 22 Feb 2010 22:34:30 +0000 (23:34 +0100)]
Introduce option --nopackages

14 years agoRevert "Updated grml-debootstrap parameter handling"
Michael Prokop [Mon, 22 Feb 2010 22:25:17 +0000 (23:25 +0100)]
Revert "Updated grml-debootstrap parameter handling"
This reverts commit 190788f7894ad368ea24d27b8acc2cef7db692d4.

14 years agoSlightly improve checks for grub-install/update-grub.
Michael Prokop [Mon, 22 Feb 2010 21:31:14 +0000 (22:31 +0100)]
Slightly improve checks for grub-install/update-grub.

14 years agoDisplay executed debootstrap cmdline when running it.
Michael Prokop [Mon, 22 Feb 2010 21:23:55 +0000 (22:23 +0100)]
Display executed debootstrap cmdline when running it.

14 years agoMove the apt cache removal function to the end to avoid failure of grub installation.
Michael Prokop [Mon, 22 Feb 2010 21:17:57 +0000 (22:17 +0100)]
Move the apt cache removal function to the end to avoid failure of grub installation.

14 years agoBump Standards-Version to 3.8.4; update changelog for release 0.33. v0.33
Michael Prokop [Mon, 15 Feb 2010 21:33:06 +0000 (22:33 +0100)]
Bump Standards-Version to 3.8.4; update changelog for release 0.33.

14 years agoUpdated unit test for latest changes
Ulrich Dangel [Sat, 30 Jan 2010 15:44:08 +0000 (16:44 +0100)]
Updated unit test for latest changes

14 years agoUpdated grml-debootstrap parameter handling
Tong Sun [Sat, 30 Jan 2010 15:41:48 +0000 (16:41 +0100)]
Updated grml-debootstrap parameter handling

14 years agoAdded unit tests for cmddlineopts.clp
Ulrich Dangel [Tue, 29 Dec 2009 17:44:31 +0000 (18:44 +0100)]
Added unit tests for cmddlineopts.clp

14 years agoFix sed usage for fall back to old behaviour in MBR handling
Michael Prokop [Fri, 18 Dec 2009 11:30:47 +0000 (12:30 +0100)]
Fix sed usage for fall back to old behaviour in MBR handling

14 years agoMove remove_apt_cache behind stage extrapackages
Michael Prokop [Tue, 15 Dec 2009 02:38:37 +0000 (03:38 +0100)]
Move remove_apt_cache behind stage extrapackages

14 years agoUpdate TODO (drop grub2 issue which has been implemented already)
Michael Prokop [Mon, 14 Dec 2009 23:43:54 +0000 (00:43 +0100)]
Update TODO (drop grub2 issue which has been implemented already)

14 years agoUpdate changelog for release 0.33.
Michael Prokop [Mon, 14 Dec 2009 23:42:10 +0000 (00:42 +0100)]
Update changelog for release 0.33.

14 years agoMerge branch 't/pre_scripts'
Michael Prokop [Mon, 14 Dec 2009 23:33:02 +0000 (00:33 +0100)]
Merge branch 't/pre_scripts'

14 years agoUse apt-get clean instead of manually removing files in /var/cache/apt/archives
Michael Prokop [Mon, 14 Dec 2009 23:26:46 +0000 (00:26 +0100)]
Use apt-get clean instead of manually removing files in /var/cache/apt/archives

14 years agoMerge commit 'remotes/origin/t/remove_apt_cache'
Michael Prokop [Mon, 14 Dec 2009 23:25:25 +0000 (00:25 +0100)]
Merge commit 'remotes/origin/t/remove_apt_cache'

14 years agoadd doku about --pre-scripts
Michael Gebetsroither [Sat, 5 Dec 2009 17:27:09 +0000 (18:27 +0100)]
add doku about --pre-scripts

14 years agoadd default config and activate pre_scripts there
Michael Gebetsroither [Sat, 5 Dec 2009 17:26:55 +0000 (18:26 +0100)]
add default config and activate pre_scripts there

14 years agointroduce --pre-scripts to be executed before chroot-scripts
Michael Gebetsroither [Sat, 5 Dec 2009 16:16:19 +0000 (17:16 +0100)]
introduce --pre-scripts to be executed before chroot-scripts

14 years agoremove cached debs to reduce diskpace during bootstrap
Michael Gebetsroither [Thu, 3 Dec 2009 21:21:07 +0000 (22:21 +0100)]
remove cached debs to reduce diskpace during bootstrap

Signed-off-by: Michael Gebetsroither <michael@mgeb.org>
14 years agoInstall to directory: normalise the path to an absolute directory name.
Michael Prokop [Thu, 3 Dec 2009 18:21:18 +0000 (19:21 +0100)]
Install to directory: normalise the path to an absolute directory name.

14 years agoOnly set PARTITION=1 if target is a block device.
Ulrich Dangel [Thu, 3 Dec 2009 21:06:57 +0000 (22:06 +0100)]
Only set PARTITION=1 if target is a block device.

14 years agoSwitched order of including cmdlineopts.clp, first check local directory
Ulrich Dangel [Thu, 3 Dec 2009 20:43:02 +0000 (21:43 +0100)]
Switched order of including cmdlineopts.clp, first check local directory
and afterwards system directory.

14 years agoRemove trailing whitespace from debian/rules
Ulrich Dangel [Thu, 3 Dec 2009 20:39:58 +0000 (21:39 +0100)]
Remove trailing whitespace from debian/rules

14 years agoAdjusted Filename comment in cmdlineopts.clp
Ulrich Dangel [Thu, 3 Dec 2009 18:41:06 +0000 (19:41 +0100)]
Adjusted Filename comment in cmdlineopts.clp

14 years agoRemove duplicate : in getopt definition. Caused wrong parameter handling.
Ulrich Dangel [Thu, 3 Dec 2009 18:29:42 +0000 (19:29 +0100)]
Remove duplicate : in getopt definition. Caused wrong parameter handling.

14 years agohandle /dev/shm/* as directory, not as an mountpoint
Michael Gebetsroither [Thu, 3 Dec 2009 17:10:22 +0000 (18:10 +0100)]
handle /dev/shm/* as directory, not as an mountpoint

14 years agoReplace /bin/true with true in chroot-script
Ulrich Dangel [Sun, 22 Nov 2009 14:24:42 +0000 (15:24 +0100)]
Replace /bin/true with true in chroot-script

14 years agoInstall signal handler to always cleanup chroot.
Ulrich Dangel [Sun, 22 Nov 2009 14:21:23 +0000 (15:21 +0100)]
Install signal handler to always cleanup chroot.

14 years agoAlways execute install_policy_rcd in chroot [Closes: issue778]
Ulrich Dangel [Sun, 22 Nov 2009 14:20:20 +0000 (15:20 +0100)]
Always execute install_policy_rcd in chroot [Closes: issue778]

14 years agoAdjusted umount handling in bailout() to work with set -e
Ulrich Dangel [Sun, 22 Nov 2009 13:55:27 +0000 (14:55 +0100)]
Adjusted umount handling in bailout() to work with set -e

14 years agoDo not run MAKEDEV inside the chroot.
Ulrich Dangel [Sun, 15 Nov 2009 15:48:50 +0000 (16:48 +0100)]
Do not run MAKEDEV inside the chroot.

14 years agoSupport and enable per default --keyring option. [Closes: issue746]
Ulrich Dangel [Wed, 11 Nov 2009 17:20:40 +0000 (18:20 +0100)]
Support and enable per default --keyring option. [Closes: issue746]

14 years agoDo not provide the 'install bootloader into partition' feature in the interactive...
Michael Prokop [Thu, 29 Oct 2009 00:41:33 +0000 (01:41 +0100)]
Do not provide the 'install bootloader into partition' feature in the interactive menu.

14 years agoAdd backwards compability checks and NEWS file v0.32
Michael Prokop [Wed, 28 Oct 2009 22:44:11 +0000 (23:44 +0100)]
Add backwards compability checks and NEWS file

14 years agoDrop deprecated sarge specific code
Michael Prokop [Wed, 28 Oct 2009 22:30:02 +0000 (23:30 +0100)]
Drop deprecated sarge specific code

14 years agoUpdate for release
Michael Prokop [Wed, 28 Oct 2009 22:25:32 +0000 (23:25 +0100)]
Update for release

14 years agoExecute blockdev to reread partition table; replace vol_id with blkid
Michael Prokop [Wed, 28 Oct 2009 21:43:48 +0000 (22:43 +0100)]
Execute blockdev to reread partition table; replace vol_id with blkid

14 years agoDrop support for Etch, simplify grub handling
Michael Prokop [Wed, 28 Oct 2009 20:42:37 +0000 (21:42 +0100)]
Drop support for Etch, simplify grub handling

14 years agoUpdate for release 0.31 v0.31
Michael Prokop [Sat, 24 Oct 2009 09:18:21 +0000 (11:18 +0200)]
Update for release 0.31

14 years agoMove displaying installation notes into umount_chroot()
Michael Prokop [Sat, 24 Oct 2009 01:26:46 +0000 (03:26 +0200)]
Move displaying installation notes into umount_chroot()

14 years agoFix typo in GRUB_CMDLINE_LINUX
Michael Prokop [Sat, 24 Oct 2009 01:20:38 +0000 (03:20 +0200)]
Fix typo in GRUB_CMDLINE_LINUX

14 years agoDrop -y from update-grub when using grub2
Michael Prokop [Sat, 24 Oct 2009 01:16:43 +0000 (03:16 +0200)]
Drop -y from update-grub when using grub2

14 years agoAdjust grub handling and support INSTALL_NOTES
Michael Prokop [Sat, 24 Oct 2009 00:48:20 +0000 (02:48 +0200)]
Adjust grub handling and support INSTALL_NOTES

14 years agoUse cdn.debian.net as default mirror
Michael Prokop [Sat, 24 Oct 2009 00:05:39 +0000 (02:05 +0200)]
Use cdn.debian.net as default mirror