grml-debootstrap.git
2 years agoRelease new version 0.79 v0.79
Michael Prokop [Thu, 17 Aug 2017 12:42:21 +0000 (14:42 +0200)]
Release new version 0.79

2 years agoBump Standards-Version to 4.0.1
Michael Prokop [Thu, 17 Aug 2017 12:40:12 +0000 (14:40 +0200)]
Bump Standards-Version to 4.0.1

2 years agoDepend on fdisk | util-linux (<< 2.29.2-3~)
Michael Prokop [Thu, 17 Aug 2017 12:38:45 +0000 (14:38 +0200)]
Depend on fdisk | util-linux (<< 2.29.2-3~)

As recently announced on debian-devel-announce
(https://lists.debian.org/debian-devel-announce/2017/08/msg00005.html)
packages who need any of sfdisk, cfdisk or fdisk will need to add
a dependency on the new fdisk package.

Closes: #872219
Thanks: Andreas Henriksson <andreas@fatal.se>

2 years agoAdd documentation for --defaultinterfaces command line option
Darshaka Pathirana [Fri, 28 Jul 2017 22:34:20 +0000 (00:34 +0200)]
Add documentation for --defaultinterfaces command line option

Closes: grml/grml-debootstrap#103

2 years agoUpdate /dev and /dev/pts mount from --bind to proper fs type
Bigo [Sun, 9 Jul 2017 11:41:24 +0000 (12:41 +0100)]
Update /dev and /dev/pts mount from --bind to proper fs type

2 years agoRelease new version 0.78 v0.78
Michael Prokop [Thu, 26 Jan 2017 00:18:33 +0000 (01:18 +0100)]
Release new version 0.78

2 years agoDebian stretch is the new default release
Michael Prokop [Thu, 26 Jan 2017 00:02:54 +0000 (01:02 +0100)]
Debian stretch is the new default release

Update documentation accordingly, also related to squeeze EOL

2 years agoDon't generate rootfs entry in /etc/fstab if we don't know its UUID [Closes: issue2182]
Michael Prokop [Wed, 25 Jan 2017 23:46:41 +0000 (00:46 +0100)]
Don't generate rootfs entry in /etc/fstab if we don't know its UUID [Closes: issue2182]

With a command line like:

  grml-debootstrap --grub /dev/sda -t /media/sda1 ...

the resulting fstab gets:

  /media/sda1 /  auto    defaults,errors=remount-ro 0   1

which is for sure unwanted. So don't such an entry in the fstab
if we lack details about the underlying rootfs and instead warn
the user that this *might* be a problem.

2 years agoDrop sysfsutils from default software package list [Closes: issue2240]
Michael Prokop [Tue, 24 Jan 2017 22:03:00 +0000 (23:03 +0100)]
Drop sysfsutils from default software package list [Closes: issue2240]

sysfsutils was reported to take 2.5 seconds during system
startup.  Also the package is maintained by the Debian QA Group
and isn't useful and relevant enough to justify being part of the
default software selection.

Thanks to PaulePanter for the hint on IRC.

diff --git a/packages b/packages
index c4b7806..72433b6 100644
--- a/packages
+++ b/packages
@@ -1,7 +1,7 @@
 locales console-data console-common
 initramfs-tools mdadm lvm2
 grub-pc os-prober
-bzip2 file less lsof most pciutils resolvconf screen ssh strace sysfsutils usbutils vim w3m zsh
+bzip2 file less lsof most pciutils resolvconf screen ssh strace usbutils vim w3m zsh
 rsync
 postfix
 lsb-release

2 years agodon't fiddle around with /etc/hosts
Evgeni Golov [Tue, 24 Jan 2017 21:53:56 +0000 (22:53 +0100)]
don't fiddle around with /etc/hosts

netbase generates a nice /etc/hosts for us since squeeze.
for the weird case it did not (ohai lenny!), deploy the version
netbase in stretch has.

Fixes: #94

2 years agoRelease new version 0.77 v0.77
Michael Prokop [Tue, 24 Jan 2017 20:37:24 +0000 (21:37 +0100)]
Release new version 0.77

2 years agoHonor GRUB_DISABLE_LINUX_UUID=true for all Debian releases
Michael Prokop [Tue, 24 Jan 2017 20:33:53 +0000 (21:33 +0100)]
Honor GRUB_DISABLE_LINUX_UUID=true for all Debian releases

There's no point in having a release specific check when
checking configuration setting for GRUB_DISABLE_LINUX_UUID.
So if GRUB_DISABLE_LINUX_UUID is set to "true" then always
honor it.

Thanks: hex2a for the initial patch (see PR #96)
Closes grml/grml-debootstrap#87

2 years agoForbid xsltproc to use network for building
Christian Hofstaedtler [Sun, 18 Dec 2016 18:08:09 +0000 (18:08 +0000)]
Forbid xsltproc to use network for building

2 years agoBump debhelper compat level to 10
Christian Hofstaedtler [Sun, 18 Dec 2016 18:06:13 +0000 (18:06 +0000)]
Bump debhelper compat level to 10

2 years agoUpdate my email address
Christian Hofstaedtler [Sun, 18 Dec 2016 18:05:36 +0000 (18:05 +0000)]
Update my email address

2 years agoExport TARGET_HOSTNAME before running post-scripts
Stefan Schlesinger [Thu, 15 Dec 2016 17:45:08 +0000 (18:45 +0100)]
Export TARGET_HOSTNAME before running post-scripts

Export $HOSTNAME in TARGET_HOSTNAME so one is able to do customize things based upon the hostname of the installed machine (eg. to populate /e/n/interfaces by doing a external database lookup).

2 years agoRelease new version 0.76 v0.76
Michael Prokop [Thu, 22 Sep 2016 12:25:57 +0000 (14:25 +0200)]
Release new version 0.76

2 years agoBump Standards-Version to 3.9.8
Michael Prokop [Thu, 22 Sep 2016 12:25:11 +0000 (14:25 +0200)]
Bump Standards-Version to 3.9.8

2 years agoSwitch Homepage + Vcs-Browser fields to https
Michael Prokop [Thu, 22 Sep 2016 12:24:51 +0000 (14:24 +0200)]
Switch Homepage + Vcs-Browser fields to https

2 years agoIgnore packer/packer_cache during dpkg-source generation
Michael Prokop [Thu, 22 Sep 2016 12:08:21 +0000 (14:08 +0200)]
Ignore packer/packer_cache during dpkg-source generation

Otherwise if packer/packer_cache contains the cached ISO files
the generated grml-debootstrap_*.tar.xz contains all the cache
files which is clearly unwanted.

Thanks: Guillem Jover for the hint

2 years agoDisable ^metadata_csum' feature when creating ext fs for releases <= jessie [Closes...
Michael Prokop [Thu, 22 Sep 2016 11:26:27 +0000 (13:26 +0200)]
Disable ^metadata_csum' feature when creating ext fs for releases <= jessie [Closes: issue2178]

Otherwise fsck complains about:

| /dev/mapper/.... has unsupported feature(s): metadata_csum
| e2fsck: Get a newer version of e2fsck!
| fsck failed with error code 8.

3 years agopacker: apply predictable network interface workaround for Debian/stretch and newer
Michael Prokop [Thu, 11 Aug 2016 21:34:53 +0000 (23:34 +0200)]
packer: apply predictable network interface workaround for Debian/stretch and newer

We currently get a default network configuration in
/etc/network/interfaces which refers to eth0 (and eth1). But on
Debian/stretch and newer the devices follow the new network
interface naming schema (see udev's README.Debian for further
details). This causes e.g. a vagrant up run for a stretch based
base box to fail since it can't login via SSH then. Until there's
a better approach available just use the predictable network
interface naming schema via udev as recommended.

3 years agopacker: explicitly set Bash as default shell for Vagrant user
Michael Prokop [Thu, 11 Aug 2016 21:33:33 +0000 (23:33 +0200)]
packer: explicitly set Bash as default shell for Vagrant user

If the provision script fails with Zsh setup then it's annoying
to be dropped to /bin/sh, so let's assume /bin/bash as safe
default.

3 years agoHide errors during loading of efivars module
Michael Prokop [Fri, 15 Jul 2016 10:16:51 +0000 (12:16 +0200)]
Hide errors during loading of efivars module

If efivars can't be loaded then EFI support isn't present,
but don't display the error message of the module loading
to the user.

3 years agoRelease new version 0.75 v0.75
Michael Prokop [Fri, 10 Jun 2016 09:34:33 +0000 (11:34 +0200)]
Release new version 0.75

3 years agoAdd EFI support via --efi <device> option
Michael Prokop [Wed, 2 Mar 2016 15:04:23 +0000 (16:04 +0100)]
Add EFI support via --efi <device> option

This is useful for systems using (U)EFI, otherwise it needs
annoying manual work, so instead automate the steps, assuming
<device> is a valid EFI partition.

NOTE: we need /sys inside the target system, so ensure it's available.

Thanks: Darshaka Pathirana <dpat@syn-net.org> for the pair programming session

3 years agoRelease new version 0.74 v0.74
Michael Prokop [Mon, 22 Feb 2016 21:23:19 +0000 (22:23 +0100)]
Release new version 0.74

3 years agoUpdate copyright year information
Michael Prokop [Mon, 22 Feb 2016 21:14:54 +0000 (22:14 +0100)]
Update copyright year information

3 years agoBump Standards-Version to 3.9.7
Michael Prokop [Mon, 22 Feb 2016 21:14:19 +0000 (22:14 +0100)]
Bump Standards-Version to 3.9.7

3 years agoNo longer depend on mksh + drop check for mksh
Michael Prokop [Mon, 22 Feb 2016 21:13:47 +0000 (22:13 +0100)]
No longer depend on mksh + drop check for mksh

3 years agoEnsure that grub-pc/install_devices is pointing to the requested device
Michael Prokop [Mon, 22 Feb 2016 20:23:38 +0000 (21:23 +0100)]
Ensure that grub-pc/install_devices is pointing to the requested device

Noticed via a customer (MT#16911), while it's not causing
real problems with wheezy->jessie upgrades it still might
hit us in the future, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711019

3 years agoEnsure that MBR jumping to GRUB's core.img code
Sebastian Pipping [Tue, 4 Aug 2015 11:09:29 +0000 (13:09 +0200)]
Ensure that MBR jumping to GRUB's core.img code

Previously, bootgrub.mksh took that job but we just resolved it.
New approach based as done on [1] but with copying 440 bytes only
(rather than 446), to keep existing disk identifier in place [2].

[1] http://pete.akeo.ie/2014/05/compiling-and-installing-grub2-for.html
[2] https://en.wikipedia.org/wiki/Master_boot_record#Sector_layout

3 years agoMark first partition bootable
Sebastian Pipping [Tue, 4 Aug 2015 10:56:08 +0000 (12:56 +0200)]
Mark first partition bootable

3 years agoResolve now unused bootgrub.mksh (issue #90)
Sebastian Pipping [Thu, 30 Jul 2015 15:44:17 +0000 (17:44 +0200)]
Resolve now unused bootgrub.mksh (issue #90)

3 years agoUse parted to create partition table (issue #90)
Sebastian Pipping [Thu, 30 Jul 2015 15:41:40 +0000 (17:41 +0200)]
Use parted to create partition table (issue #90)

3 years agoimproved amd64 on i386 build attempt bailout msg
Patrick Schleizer [Thu, 17 Dec 2015 22:44:07 +0000 (23:44 +0100)]
improved amd64 on i386 build attempt bailout msg

4 years agoRelease new version 0.73 v0.73
Michael Prokop [Tue, 18 Aug 2015 11:31:17 +0000 (13:31 +0200)]
Release new version 0.73

4 years agoDocker setup for automated builds + environment for testing
Michael Prokop [Wed, 8 Jul 2015 14:24:41 +0000 (16:24 +0200)]
Docker setup for automated builds + environment for testing

It would be nice to automatically execute a wide range of tests
on each commit to the grml-debootstrap repository. We aren't
there yet, but a combination of docker and packer builds should
provide a decent starting point.

This change includes a Dockerfile to provide a public available
grml-debootstrap docker environment via the Docker Hub Registry
as well as scripts and tests for further exploration.

Please refer to the included README or visit
https://registry.hub.docker.com/u/mika/grml-debootstrap/ for
further information.

4 years agoAdd kmod to Depends, required for modprobe(8) for loop device handling
Michael Prokop [Wed, 8 Jul 2015 14:40:21 +0000 (16:40 +0200)]
Add kmod to Depends, required for modprobe(8) for loop device handling

We need loop device handling for the VM setup, while this isn't
a strict requirement when installing non-VMs it still makes sense
to depend on kmod/modprobe to provide a proper user experience.

4 years agoUse official redirector address httpredir.debian.org [1]
Paul Menzel [Wed, 17 Jun 2015 18:16:30 +0000 (20:16 +0200)]
Use official redirector address httpredir.debian.org [1]

The address `http.debian.net` is officially replaced by
`httpredir.debian.org`.

Use the following command to update all places.

git grep -l 'http.debian.net/debian' | xargs sed -i 's,http.debian.net/debian,httpredir.debian.org/debian,g'

[1] http://httpredir.debian.org

4 years agoRelease new version 0.72 v0.72
Michael Prokop [Tue, 16 Jun 2015 09:19:50 +0000 (11:19 +0200)]
Release new version 0.72

4 years agoReport CONFFILES usage in config overview
Michael Prokop [Tue, 9 Jun 2015 22:04:08 +0000 (00:04 +0200)]
Report CONFFILES usage in config overview

CONFFILES defaults to /etc/debootstrap, but especially if
something else gets used (e.g. with packer runs and
GRML_DEBOOTSTRAP_VERSION=local) this should be clearly visible on
the execution screen.

4 years agoDrop --force-yes option from chroot-scripts' apt-get usage
Michael Prokop [Tue, 9 Jun 2015 22:02:02 +0000 (00:02 +0200)]
Drop --force-yes option from chroot-scripts' apt-get usage

The --force-yes option may lead to installation of packages that
fail GPG verification checks. If someone really needs the
--force-yes option (to actually really force package
installation) then this should be handled via DPKG_OPTIONS
instead.

Fixes #62 @ github

4 years agopacker: improve support for testing local grml-debootstrap version
Michael Prokop [Tue, 9 Jun 2015 22:01:54 +0000 (00:01 +0200)]
packer: improve support for testing local grml-debootstrap version

Sadly packer lacks an option to copy an entire directory
*excluding* certain files, otherwise we could just copy the whole
grml-debootstrap.git directory. But as to the packer_cache
directory is present in grml-debootstrap.git directory during
packer execution this makes no sense. So use a workaround to get
the same behaviour. Allow testing of grml-debootstrap without
having to commit and push stuff to git first, so one can hack on
stuff, test and only then commit and push it.

4 years agoRelease new version 0.71 v0.71
Michael Prokop [Fri, 5 Jun 2015 23:36:46 +0000 (01:36 +0200)]
Release new version 0.71

4 years agoUpdate debian/copyright + move to dep5 style
Michael Prokop [Fri, 5 Jun 2015 23:27:46 +0000 (01:27 +0200)]
Update debian/copyright + move to dep5 style

4 years agoDrop unmaintained THANKS file
Michael Prokop [Fri, 5 Jun 2015 23:19:10 +0000 (01:19 +0200)]
Drop unmaintained THANKS file

4 years agoAdd stretch to release-table and update lenny installation instructions
Michael Prokop [Fri, 5 Jun 2015 23:07:39 +0000 (01:07 +0200)]
Add stretch to release-table and update lenny installation instructions

4 years agoconfig: change from GPL-2 to GPL-2+
Michael Prokop [Fri, 5 Jun 2015 21:48:23 +0000 (23:48 +0200)]
config: change from GPL-2 to GPL-2+

4 years agopacker/Vagrant: make jessie the new default Debian release
Michael Prokop [Fri, 5 Jun 2015 13:19:18 +0000 (15:19 +0200)]
packer/Vagrant: make jessie the new default Debian release

4 years agopacker: support different Debian + grml-debootstrap releases
Michael Prokop [Fri, 5 Jun 2015 10:48:50 +0000 (12:48 +0200)]
packer: support different Debian + grml-debootstrap releases

* update Grml ISO to version 2014.11
* instead of running 'make packer' now it's possible to execute
  "make $debian_version" with support for lenny, squeeze, wheezy,
  jessie and stretch as $debian_version (lenny lacking support for
  Virtualbox Guest Additions though)
* setting GRML_DEBOOTSTRAP_VERSION allows to control the
  grml-debootstrap version that should be used, defaults to the
  latest CI build from jenkins.grml.org

4 years agoDisplay error message if --vmfile and --grub are used in same cmdline
Michael Prokop [Fri, 5 Jun 2015 08:43:50 +0000 (10:43 +0200)]
Display error message if --vmfile and --grub are used in same cmdline

This is an invalid and unneeded combination.

Fixes #84 @ github

4 years agoMake mountpoint output silent
Michael Prokop [Thu, 4 Jun 2015 13:26:08 +0000 (15:26 +0200)]
Make mountpoint output silent

Related to issue #66 @ github / commit 9d9ec2d4cee334ce5b378fb880a2c58c57e4f6e7

4 years agoDisable SCRIPTS by default, replaced by POST_SCRIPTS
Michael Prokop [Thu, 4 Jun 2015 13:12:43 +0000 (15:12 +0200)]
Disable SCRIPTS by default, replaced by POST_SCRIPTS

4 years agoMake check for GRUB_DISABLE_LINUX_UUID more stable
Michael Prokop [Thu, 4 Jun 2015 13:04:31 +0000 (15:04 +0200)]
Make check for GRUB_DISABLE_LINUX_UUID more stable

Thanks: Patrick Schleizer <adrelanos@riseup.net> for the feedback

4 years agoRun code for --remove-configs before unmounting chroot
Michael Prokop [Thu, 4 Jun 2015 12:59:45 +0000 (14:59 +0200)]
Run code for --remove-configs before unmounting chroot

Otherwise the mountpoint won't be there anymore.
Also check whether the mountpoint exists before trying
to delete anything.

Fixes #66 @ github

4 years agoWrite hostname to installed system (fix for bedb4090)
Michael Prokop [Thu, 4 Jun 2015 12:54:43 +0000 (14:54 +0200)]
Write hostname to installed system (fix for bedb4090)

Fixes #54 @ github
Thanks: Sebastian Pipping <sebastian@pipping.org> for catching this issue

4 years agoFix syntax error for introduced in 91f2e990ca65aa367
Michael Prokop [Thu, 4 Jun 2015 12:38:34 +0000 (14:38 +0200)]
Fix syntax error for introduced in 91f2e990ca65aa367

4 years agoProvide new option --remove-configs to delete grml-debootstrap configuration files...
Michael Prokop [Thu, 4 Jun 2015 12:24:36 +0000 (14:24 +0200)]
Provide new option --remove-configs to delete grml-debootstrap configuration files from installed system

Fixes #66 @ github

4 years agoHonor GRUB_DISABLE_LINUX_UUID=true and don't set root=UUID then
Michael Prokop [Thu, 4 Jun 2015 12:11:22 +0000 (14:11 +0200)]
Honor GRUB_DISABLE_LINUX_UUID=true and don't set root=UUID then

According to the bug report pygrub doesn't support the UUID
magic.  If the user explicitely sets GRUB_DISABLE_LINUX_UUID=true
in /etc/default/grub we should honor that. Don't adjust grub.cfg
but instead prompt a warning then.

Fixes #65 @ github

4 years agoEnsure that grub-pc is installed in VMs even when using --nopackages
Michael Prokop [Thu, 4 Jun 2015 11:40:12 +0000 (13:40 +0200)]
Ensure that grub-pc is installed in VMs even when using --nopackages

We're always setting up GRUB as bootloader when installing a VM.
If the --nopackages options is present the grub-pc package is
missing inside the VM. Therefore ensure that the grub-pc is still
present.

Fixes #40 @ github

4 years agoProvide hostname to pre-scripts by setting up /etc/hostname
Michael Prokop [Thu, 4 Jun 2015 11:38:30 +0000 (13:38 +0200)]
Provide hostname to pre-scripts by setting up /etc/hostname

While at it fix coding style and quoting of execute_pre_scripts() function.

Fixes #54 @ github

4 years agoExplicitely set LANGUAGE=C to avoid possible locale issues
Michael Prokop [Thu, 4 Jun 2015 11:33:34 +0000 (13:33 +0200)]
Explicitely set LANGUAGE=C to avoid possible locale issues

In github issue #48 the following was reported when running with
option --debopt "--verbose --include=grub-pc,locales":

| *** update-locale: Error: invalid locale settings:  LANGUAGE=en_US:en LANG=en_US.UTF-8

While this shouldn't be a real problem but just a warning message
it still might be a good idea to explictely reset LANGUAGE=C.

See https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html
for details regarding LANG/LC_ALL/LANGUAGE handling.

Fixes #48 @ github

4 years agoRename --scripts to --post-scripts for consistency
Michael Prokop [Thu, 4 Jun 2015 10:43:56 +0000 (12:43 +0200)]
Rename --scripts to --post-scripts for consistency

The --scripts option and SCRIPTS config are still supported but display a
deprecation warning now.

Fixes #52 @ github

4 years agoInclude HTML documentation in Debian package
Michael Prokop [Thu, 4 Jun 2015 10:39:23 +0000 (12:39 +0200)]
Include HTML documentation in Debian package

4 years agoMake it more friendly to install on non-Debian distributions
Michael Prokop [Thu, 4 Jun 2015 10:33:25 +0000 (12:33 +0200)]
Make it more friendly to install on non-Debian distributions

* make DOCBOOK_XML=... supports providing a custom docbook.xsl
  instead of the default (/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl)
* provide install target via Makefile, supporting $DESTDIR
* minimize debian/rules

This should allow installation of grml-debootstrap on e.g. Fedora + Gentoo.
Thanks: Sebastian Pipping <sebastian@pipping.org> for feature request
Fixes #57 @ github

4 years agoDo not copy `packages` file if --nopackages option is present
Michael Prokop [Thu, 4 Jun 2015 09:00:35 +0000 (11:00 +0200)]
Do not copy `packages` file if --nopackages option is present

Fixes #46 @ github

4 years agoImprove --vm and --vmfile usage instructions
Michael Prokop [Thu, 4 Jun 2015 08:58:04 +0000 (10:58 +0200)]
Improve --vm and --vmfile usage instructions

Fixes #45 @ github

4 years agoDon't try to re-read partition table when building VMs using loop devices
Michael Prokop [Thu, 4 Jun 2015 08:30:30 +0000 (10:30 +0200)]
Don't try to re-read partition table when building VMs using loop devices

This always causes "BLKRRPART: Invalid argument", so there's probably
no point in executing this at all.

Fixes #38 @ github

4 years agoAlways remove /boot/grub/device.map to avoid leaking host data
Michael Prokop [Thu, 4 Jun 2015 08:06:40 +0000 (10:06 +0200)]
Always remove /boot/grub/device.map to avoid leaking host data

Thanks: Patrick Schleizer <adrelanos@riseup.net> for bug report and feedback
Fixes #27 @ github

4 years agoProvide workaround for GRUB font path bug in jessie (Debian #787685)
Michael Prokop [Thu, 4 Jun 2015 07:58:08 +0000 (09:58 +0200)]
Provide workaround for GRUB font path bug in jessie (Debian #787685)

4 years agoImprove check for identifying underlying block device
Michael Prokop [Thu, 4 Jun 2015 07:56:22 +0000 (09:56 +0200)]
Improve check for identifying underlying block device

There's no point in trying to read the partition table
for e.g. /dev/loop if we get /dev/loop0.

Fixes #42 @ github
Closes: #771192

4 years agoRelease new version 0.70 v0.70
Michael Prokop [Wed, 3 Jun 2015 15:09:22 +0000 (17:09 +0200)]
Release new version 0.70

4 years agodocs: mention --contrib + --non-free options
Michael Prokop [Wed, 3 Jun 2015 15:08:04 +0000 (17:08 +0200)]
docs: mention --contrib + --non-free options

4 years agoDrop contrib + non-free from default COMPONENTS, support --contrib + -non-free cmdlin...
Michael Prokop [Wed, 3 Jun 2015 13:48:22 +0000 (15:48 +0200)]
Drop contrib + non-free from default COMPONENTS, support --contrib + -non-free cmdline options

Let's see if firmware-linux really matters nowadays.

By default we include the 'main' component only,
to enable 'contrib' + 'non-free' either use the
new command line options --contrib + -non-free
or set COMPONENTS in grml-debootstrap's config.

Thanks to Philip Hands for raising this

4 years agoInstall firmware-linux only when non-free is among the COMPONENTS
Michael Prokop [Wed, 3 Jun 2015 13:43:29 +0000 (15:43 +0200)]
Install firmware-linux only when non-free is among the COMPONENTS

Closes: #786966
Thanks: Philip Hands <phil@hands.com> for the patch

4 years agoUse full fingerprint instead of short GPG key ids for Grml repository
Michael Prokop [Fri, 8 May 2015 19:43:55 +0000 (21:43 +0200)]
Use full fingerprint instead of short GPG key ids for Grml repository

Using output of `gpg --fingerprint F61E2E7CECDEA787` (minus space chars).

Thanks: Patrick Schleizer <adrelanos@riseup.net> for bug report and feedback
Fixes #64 @ github

4 years agoimplemented trap ERR for grml-debootstrap and chroot-script; changed chroot script...
Patrick Schleizer [Tue, 16 Dec 2014 18:49:17 +0000 (18:49 +0000)]
implemented trap ERR for grml-debootstrap and chroot-script; changed chroot script from sh to bash script, because trap ERR is a bashism

4 years agoFix grub-install invocation for post-wheezy releases and sid (issue #78)
Sebastian Pipping [Wed, 6 May 2015 17:29:33 +0000 (19:29 +0200)]
Fix grub-install invocation for post-wheezy releases and sid (issue #78)

4 years agoInstall GRUB once, at most (second take, issue #78)
Sebastian Pipping [Wed, 6 May 2015 16:56:46 +0000 (18:56 +0200)]
Install GRUB once, at most (second take, issue #78)

4 years agoRevert "Add grub-common to recommended dependencies for grub-mkimage (issue #61)"
Sebastian Pipping [Wed, 6 May 2015 18:27:29 +0000 (20:27 +0200)]
Revert "Add grub-common to recommended dependencies for grub-mkimage (issue #61)"

This reverts commit 9d3d53815af22205fb4ba15419c254f21d410a19.

4 years agoRevert "Check for grub-mkimage when creating virtual machine images (issue #61)"
Sebastian Pipping [Wed, 6 May 2015 18:27:16 +0000 (20:27 +0200)]
Revert "Check for grub-mkimage when creating virtual machine images (issue #61)"

This reverts commit d945d993b294e9052833c8826fc483be3ae22908.

4 years agoMerge remote-tracking branch 'hartwork:one-more-umount-fix'
Michael Prokop [Fri, 8 May 2015 11:59:05 +0000 (13:59 +0200)]
Merge remote-tracking branch 'hartwork:one-more-umount-fix'

PR 82 on github

Conflicts:
grml-debootstrap

4 years agoAdd support for installation of Debian stretch (issue #77)
Sebastian Pipping [Wed, 6 May 2015 17:59:02 +0000 (19:59 +0200)]
Add support for installation of Debian stretch (issue #77)

Default release (jessie) remains as-is.

4 years agoFix current release-related texts before adding stretch (issue #77)
Sebastian Pipping [Wed, 6 May 2015 17:58:12 +0000 (19:58 +0200)]
Fix current release-related texts before adding stretch (issue #77)

4 years agoNo longer write too many disk ID bytes (issue #75)
Sebastian Pipping [Wed, 6 May 2015 14:57:08 +0000 (16:57 +0200)]
No longer write too many disk ID bytes (issue #75)

4 years agoMount and unmount /dev/pts for chrooting (issue #39)
Sebastian Pipping [Wed, 11 Mar 2015 14:49:26 +0000 (15:49 +0100)]
Mount and unmount /dev/pts for chrooting (issue #39)

Addressing:

| E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)

4 years agoFix unmounting [..]/dev once more (issue #50)
Sebastian Pipping [Wed, 6 May 2015 18:23:41 +0000 (20:23 +0200)]
Fix unmounting [..]/dev once more (issue #50)

4 years agoRelease new version 0.69 v0.69
Michael Prokop [Fri, 24 Apr 2015 16:20:39 +0000 (18:20 +0200)]
Release new version 0.69

4 years agoDefine ewarn function to properly display warning messages
Michael Prokop [Tue, 10 Mar 2015 14:16:34 +0000 (15:16 +0100)]
Define ewarn function to properly display warning messages

Closes: #780204

4 years agoAdd missing escaping of user input (issue #58)
Sebastian Pipping [Fri, 6 Mar 2015 13:06:21 +0000 (14:06 +0100)]
Add missing escaping of user input (issue #58)

4 years agoSource cmdlineopts.clp from same folder as grml-debootstrap file (issue #59)
Sebastian Pipping [Fri, 6 Mar 2015 15:51:06 +0000 (16:51 +0100)]
Source cmdlineopts.clp from same folder as grml-debootstrap file (issue #59)

Simplified, this fixes CVE-2015-1378 for everyone but grml-debootstrap developers.

4 years agoFixed version reported when run from Git (issue #55)
Sebastian Pipping [Tue, 10 Mar 2015 00:47:10 +0000 (01:47 +0100)]
Fixed version reported when run from Git (issue #55)

4 years agoAdd grub-common to recommended dependencies for grub-mkimage (issue #61)
Sebastian Pipping [Tue, 10 Mar 2015 00:33:08 +0000 (01:33 +0100)]
Add grub-common to recommended dependencies for grub-mkimage (issue #61)

4 years agoCheck for grub-mkimage when creating virtual machine images (issue #61)
Sebastian Pipping [Tue, 10 Mar 2015 00:32:41 +0000 (01:32 +0100)]
Check for grub-mkimage when creating virtual machine images (issue #61)

4 years agoDo not stop hosts' SSH + mdadm services in cleanup procedure
Michael Prokop [Tue, 10 Mar 2015 13:49:41 +0000 (14:49 +0100)]
Do not stop hosts' SSH + mdadm services in cleanup procedure

The init script uses start-stop-daemon with the pidfile
/var/run/sshd.pid. We can't just stop the service from
outside the chroot because this terminates the process of the
host system instead of the process *inside* the chroot.

Thanks: Sebastian Pipping for debugging and bug report
Fixes #63 (GH-37, PR 71)

4 years agoFix packer/Makefile dependencies
Sebastian Pipping [Tue, 10 Mar 2015 00:11:20 +0000 (01:11 +0100)]
Fix packer/Makefile dependencies

4 years agoInitialize packer/.gitignore
Sebastian Pipping [Tue, 10 Mar 2015 00:07:28 +0000 (01:07 +0100)]
Initialize packer/.gitignore

4 years agoDelete binary packer/fake-uname.so (issue #49)
Sebastian Pipping [Tue, 10 Mar 2015 00:06:52 +0000 (01:06 +0100)]
Delete binary packer/fake-uname.so (issue #49)

4 years agoBreak when using unsupported generic codenames "stable" or "testing"
Patrick Schleizer [Sat, 29 Nov 2014 16:23:02 +0000 (16:23 +0000)]
Break when using unsupported generic codenames "stable" or "testing"

Fixes #37 (GH-37, PR 43)