grml-live.git
7 years agoDrop trailing dot in 'Boot from next boot device'
Michael Prokop [Fri, 13 Sep 2013 10:57:57 +0000 (12:57 +0200)]
Drop trailing dot in 'Boot from next boot device'

This was inconsistent with all the other entries.

Thanks: Andreas Gredler for noticing

7 years agoFix check for presence of pxelinux.0 file
Michael Prokop [Wed, 11 Sep 2013 07:54:29 +0000 (09:54 +0200)]
Fix check for presence of pxelinux.0 file

This worked only on for build systems where /usr/lib/syslinux/pxelinux.0
was present on the build system itself. :)

7 years agoscripts/generate_netboot_package.sh: add closing brace to error message
Michael Prokop [Tue, 10 Sep 2013 13:52:32 +0000 (15:52 +0200)]
scripts/generate_netboot_package.sh: add closing brace to error message

7 years agoRelease new version 0.21.4 v0.21.4
Michael Prokop [Tue, 10 Sep 2013 11:25:05 +0000 (13:25 +0200)]
Release new version 0.21.4

7 years agoExecute freshclam only if class FRESHCLAM is set
Michael Prokop [Tue, 10 Sep 2013 08:33:15 +0000 (10:33 +0200)]
Execute freshclam only if class FRESHCLAM is set

A current grml-full daily ISO has ~360MB without freshclam data,
including freshclam data it has ~429MB - this isn't worth the disk space,
especially as you're interested in up2date definitions anyway and
freshclam can be executed on the live ISO then.

7 years agoRelease new version 0.21.3 v0.21.3
Michael Prokop [Mon, 9 Sep 2013 21:45:55 +0000 (23:45 +0200)]
Release new version 0.21.3

7 years agoSW: add clonezilla to GRML_FULL
Michael Prokop [Fri, 6 Sep 2013 13:33:01 +0000 (15:33 +0200)]
SW: add clonezilla to GRML_FULL

Thanks to ludinator for the suggestion.

Acked-by: Alexander Wirt <formorer@grml.org>
Acked-by: Evgeni Golov <evgeni@grml.org>
Acked-by: Frank Terbeck <ft@grml.org>
7 years agoSW: add nwipe to GRML_SMALL
Michael Prokop [Fri, 6 Sep 2013 09:51:20 +0000 (11:51 +0200)]
SW: add nwipe to GRML_SMALL

Acked-by: Alexander Wirt <formorer@grml.org>
7 years agoSW: add nwipe to GRML_FULL
Michael Prokop [Fri, 6 Sep 2013 09:49:25 +0000 (11:49 +0200)]
SW: add nwipe to GRML_FULL

Thanks to ludinator for the suggestion.

7 years agoRelease new version 0.21.2 v0.21.2
Michael Prokop [Wed, 4 Sep 2013 15:11:58 +0000 (17:11 +0200)]
Release new version 0.21.2

7 years agoSW: add xz-utils to GRMLBASE
Michael Prokop [Wed, 28 Aug 2013 09:13:59 +0000 (11:13 +0200)]
SW: add xz-utils to GRMLBASE

We use compress=xz inside
/etc/grml/fai/config/files/etc/initramfs-tools/conf.d/xz-compress/GRMLBASE
so we always need to have xz-utils present.

7 years agoRelease new version 0.21.1 v0.21.1
Michael Prokop [Wed, 14 Aug 2013 11:59:20 +0000 (13:59 +0200)]
Release new version 0.21.1

7 years agodocs: use wheezy and http.debian.net in base.tgz instructions
Michael Prokop [Tue, 18 Jun 2013 07:31:45 +0000 (09:31 +0200)]
docs: use wheezy and http.debian.net in base.tgz instructions

7 years agotemplates: Use lowercase 'timeout' command in syslinux configuration
Michael Prokop [Mon, 10 Jun 2013 22:59:09 +0000 (00:59 +0200)]
templates: Use lowercase 'timeout' command in syslinux configuration

Related to issue1262 in Grml's BTS.

7 years agoRelease new version 0.21.0 v0.21.0
Michael Prokop [Thu, 6 Jun 2013 22:47:18 +0000 (00:47 +0200)]
Release new version 0.21.0

7 years agoSW: drop febootstrap from GRML_FULL
Michael Prokop [Thu, 6 Jun 2013 22:39:04 +0000 (00:39 +0200)]
SW: drop febootstrap from GRML_FULL

While febootstrap was a "tool for bootstrapping a Fedora system
(like Debian debootstrap)" until and including the squeeze
release, starting with wheezy it's a "tool for building supermin
appliances" (actually being a transitional package, depending on
package supermin). It's actually a rewrite of febootstrap but
with its present feature set it doesn't seem to be of any use for
Grml.

7 years agoSW: replace epdfview with xpdf in GRML_FULL
Michael Prokop [Thu, 6 Jun 2013 22:32:43 +0000 (00:32 +0200)]
SW: replace epdfview with xpdf in GRML_FULL

epdfview is unmaintained and abandonned upstream, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710550

xpdf with ~5500kB disk space is quite small and useful
for the average user (as compared to zathura and mupdf
which have no buttons)

7 years agoDEBORPHAN/98-clean-chroot: be more verbose about executed steps
Michael Prokop [Wed, 5 Jun 2013 18:40:44 +0000 (20:40 +0200)]
DEBORPHAN/98-clean-chroot: be more verbose about executed steps

7 years agoRevert "Avoid file-rc being considered for removal by deborphan"
Michael Prokop [Wed, 5 Jun 2013 18:36:40 +0000 (20:36 +0200)]
Revert "Avoid file-rc being considered for removal by deborphan"

This reverts commit f565065789c9c28146a9acd2efe5a5a1d2b0d2fb.

Looks like it's not deborphan which removes file-rc but
file-rc gets removed earlier and is just purged through
the DEBORPHAN/98-clean-chroot script.

7 years agoAvoid file-rc being considered for removal by deborphan
Michael Prokop [Wed, 5 Jun 2013 17:44:49 +0000 (19:44 +0200)]
Avoid file-rc being considered for removal by deborphan

For whatever reason deborphan seems to consider file-rc
being available for removal since a few days:

| =====   shell: DEBORPHAN/98-clean-chroot   =====
| [...]
| (Reading database ... 24676 files and directories currently installed.)
| Removing file-rc ...
| Purging configuration files for file-rc ...
| Please purge /var/backups/rc.* manually.
| DEBORPHAN/98-clean-chroot OK.

7 years agoUse UTC as default TIMEZONE
Michael Prokop [Mon, 3 Jun 2013 11:19:43 +0000 (13:19 +0200)]
Use UTC as default TIMEZONE

Related to issue1261

7 years agoSW: Add puppet to GRML_FULL
Ulrich Dangel [Fri, 31 May 2013 15:43:38 +0000 (17:43 +0200)]
SW: Add puppet to GRML_FULL

Shipping puppet in GRML_FULL allows to use puppet receipes for system management out of the box.

Closes #11 at github

7 years agoSW: Drop makedev from all GRML_* classes
Michael Prokop [Wed, 29 May 2013 15:45:09 +0000 (17:45 +0200)]
SW: Drop makedev from all GRML_* classes

We once again run into this annoying behaviour of the fuse package:

| Setting up makedev (2.3.1-92) ...
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| Setting up fuse (2.9.2-2) ...
| Creating fuse group...
| Adding group `fuse' (GID 104) ...
| Done.
| Creating fuse device...
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| chown: cannot access '/dev/fuse': No such file or directory
| dpkg: error processing fuse (--configure):
|  subprocess installed post-installation script returned error exit status 1

as reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696055

The bind mounted /dev in the chroot seems to cause makedev to not execute
anything, while /var/lib/dpkg/info/fuse.postinst uses the following code:

| [...]
|                 if [ ! -d /run/udev ]
|                 then
|                         if [ -x /sbin/MAKEDEV ]
|                         then
|                                 echo "Creating fuse device..."
|
|                                 cd /dev
|                                 MAKEDEV fuse
|                                 chown root:fuse /dev/fuse
|                                 chmod 0660 /dev/fuse
|                         else
|                                 echo "MAKEDEV not installed, skipping device node creation."
|                         fi
|                 else
| [...]

So let's try to get rid of the deprecated makedev package.

7 years agoRelease new version 0.20.2 v0.20.2
Michael Prokop [Mon, 20 May 2013 21:46:13 +0000 (23:46 +0200)]
Release new version 0.20.2

7 years agoGRMLBASE/45-grub-images: fix typo from previous commit
Michael Prokop [Mon, 20 May 2013 21:34:15 +0000 (23:34 +0200)]
GRMLBASE/45-grub-images: fix typo from previous commit

Don't commit on your free day...

Git-Dch: ignore

7 years agoGRMLBASE/45-grub-images: drop raid.mod from static module list
Michael Prokop [Mon, 20 May 2013 21:32:22 +0000 (23:32 +0200)]
GRMLBASE/45-grub-images: drop raid.mod from static module list

Related to previous commit (be660305).

7 years agoGRMLBASE/45-grub-images: adapt script for renamed raid.mod file
Michael Prokop [Mon, 20 May 2013 17:26:45 +0000 (19:26 +0200)]
GRMLBASE/45-grub-images: adapt script for renamed raid.mod file

Up until (and including) grub version 1.99-27.1 it's called
raid.mod, starting with grub version 2.00-14 the raid.mod
file no longer exists.

Fixes:

| =====   shell: GRMLBASE/45-grub-images   =====
| grub-mkimage: error: cannot stat `/usr/lib/grub/i386-pc/raid.mod': No such file or directory.
| GRMLBASE/45-grub-images FAILED with exit code 1.

Thanks: Jordan Uggla for the feedback

7 years agogrml-live-remaster: check for /remaster before using it, mount-bind /run and /dev...
Michael Prokop [Tue, 12 Mar 2013 11:33:45 +0000 (12:33 +0100)]
grml-live-remaster: check for /remaster before using it, mount-bind /run and /dev/pts, create filesystem.module [Closes: issue1241]

Thanks: Moritz Molle for the initial patch

7 years agoRelease new version 0.20.1 v0.20.1
Michael Prokop [Tue, 26 Feb 2013 11:15:47 +0000 (12:15 +0100)]
Release new version 0.20.1

7 years agoSW: add genisoimage to GRML_FULL
Michael Prokop [Tue, 26 Feb 2013 11:00:13 +0000 (12:00 +0100)]
SW: add genisoimage to GRML_FULL

Required at least by grml-live-remaster (which is neither very
stable nor beautiful but anyway useful in certain situations, so
make its usage at least as easy as possible).

Thanks: Charles A. Hewson <cahewson@eskimo.com> for the bug report
Acked-by: Alexander Wirt <formorer@grml.org>
7 years agogrml-cheatcodes: adjust live image path for new live-boot default
Michael Prokop [Tue, 26 Feb 2013 10:56:30 +0000 (11:56 +0100)]
grml-cheatcodes: adjust live image path for new live-boot default

7 years agoisolinux boot splashes: adjust path to grml-cheatcodes.txt
Michael Prokop [Tue, 26 Feb 2013 10:52:38 +0000 (11:52 +0100)]
isolinux boot splashes: adjust path to grml-cheatcodes.txt

7 years agoAdopt grml-live-remaster for live-boot's new /lib/live/mount/medium/
Michael Prokop [Tue, 26 Feb 2013 10:52:04 +0000 (11:52 +0100)]
Adopt grml-live-remaster for live-boot's new /lib/live/mount/medium/

7 years agoRelease new version 0.20.0 v0.20.0
Michael Prokop [Mon, 4 Feb 2013 12:39:44 +0000 (13:39 +0100)]
Release new version 0.20.0

7 years agoSW: drop firmware-ipw2x00 from GRMLBASE
Michael Prokop [Mon, 14 Jan 2013 22:59:37 +0000 (23:59 +0100)]
SW: drop firmware-ipw2x00 from GRMLBASE

This is crap:

| Unpacking firmware-ipw2x00 (from .../firmware-ipw2x00_0.36_all.deb) ...
|
| firmware-ipw2x00 agree question could not be asked
| try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive
|
| dpkg: error processing /var/cache/apt/archives/firmware-ipw2x00_0.36_all.deb (--unpack):
|  subprocess new pre-installation script returned error exit status 2

7 years agoSW: Move firmware packages to GRMLBASE
Alexander Wirt [Sat, 5 Jan 2013 15:46:29 +0000 (16:46 +0100)]
SW: Move firmware packages to GRMLBASE

We want to have the firmware packages on all Grml based ISOs.

List based on output generated via:

  ( echo -e '\n# firmware packages' ;  apt-cache search firmware | \
    awk '$1 ~/(^firmware|firmware$|firmware-linux-free|firmware-linux-nonfree$)/{print $1}' | \
    egrep -v '(midisport|wlan-ng|installer|crystal|ivtv)' | sort ) >> GRMLBASE

Signed-off-by: Michael Prokop <mika@grml.org>
7 years agoRelease new version 0.19.9 v0.19.9
Michael Prokop [Mon, 17 Dec 2012 11:59:04 +0000 (12:59 +0100)]
Release new version 0.19.9

7 years agoBump Standards-Version to 3.9.4
Michael Prokop [Mon, 17 Dec 2012 11:58:21 +0000 (12:58 +0100)]
Bump Standards-Version to 3.9.4

7 years agoRelease new version 0.19.8 v0.19.8
Michael Prokop [Mon, 26 Nov 2012 14:10:39 +0000 (15:10 +0100)]
Release new version 0.19.8

7 years agoSW: add uuid-runtime to GRMLBASE [Closes: issue1218]
Michael Prokop [Mon, 26 Nov 2012 14:06:38 +0000 (15:06 +0100)]
SW: add uuid-runtime to GRMLBASE [Closes: issue1218]

With less than 130kB installed size it's a no-brainer and
uuidgen is something we want to have on each Grml system
available.

Thanks: Raoul <raoul@bhatia.at> for the feature request

8 years agodrop log call when trying to source /etc/grml/grml-live.conf
Michael Prokop [Tue, 2 Oct 2012 08:22:29 +0000 (10:22 +0200)]
drop log call when trying to source /etc/grml/grml-live.conf

We don't have log() available at that stage yet.

8 years agoFix typo
Michael Prokop [Thu, 27 Sep 2012 06:22:24 +0000 (08:22 +0200)]
Fix typo

Git-Dch: Ignore

8 years agoSource /etc/grml/grml-live.conf only if it can be read
Michael Prokop [Wed, 26 Sep 2012 17:41:00 +0000 (19:41 +0200)]
Source /etc/grml/grml-live.conf only if it can be read

We no longer depend on the file /etc/grml/grml-live.conf as
we keep system defaults in the program nowadays, so do not
fail if file can not be read.

Thanks: Evgeni Golov for reporting

8 years agodocs: update list of supported Debian suites
Michael Prokop [Wed, 26 Sep 2012 17:38:18 +0000 (19:38 +0200)]
docs: update list of supported Debian suites

8 years agocreate a list of non-free packages and their licenses
Evgeni Golov [Tue, 25 Sep 2012 16:31:18 +0000 (18:31 +0200)]
create a list of non-free packages and their licenses

8 years agoSW: add ifenslave-2.6 to GRML_FULL and GRML_SMALL
Michael Prokop [Wed, 26 Sep 2012 14:51:31 +0000 (16:51 +0200)]
SW: add ifenslave-2.6 to GRML_FULL and GRML_SMALL

Acked-by: Evgeni Golov
Acked-by: Alexander Wirt
8 years agopersistency boot option: mention full-ov + custom-ov in help text
Michael Prokop [Thu, 13 Sep 2012 14:10:10 +0000 (16:10 +0200)]
persistency boot option: mention full-ov + custom-ov in help text

8 years agoNew persistency mode is used via boot option "persistence" instead of "persistent"
Michael Prokop [Thu, 13 Sep 2012 13:13:33 +0000 (15:13 +0200)]
New persistency mode is used via boot option "persistence" instead of "persistent"

8 years agoRelease new version 0.19.7 v0.19.7
Michael Prokop [Tue, 11 Sep 2012 13:13:20 +0000 (15:13 +0200)]
Release new version 0.19.7

8 years agoStore md5sum of all files being available in build output directory
Michael Prokop [Wed, 5 Sep 2012 07:22:59 +0000 (09:22 +0200)]
Store md5sum of all files being available in build output directory

As of commit ff80c12bbdaf7ffaff4722bbd96808f2dbfbcad9
['Install "GRML" files into GRML/$GRML_NAME/']
the squashfs file is missing in the md5sum file, even
though the squashfs file is the most important one to
check for.

8 years agoSW: drop ia32-libs from GRML_FULL
Michael Prokop [Fri, 31 Aug 2012 08:25:12 +0000 (10:25 +0200)]
SW: drop ia32-libs from GRML_FULL

ia32-libs now needs multiarch enabled for i386 on amd64

Acked-by: Evgeni Golov
8 years agoDrop insserv removal from instsoft.GRMLBASE hook script
Michael Prokop [Tue, 28 Aug 2012 07:18:36 +0000 (09:18 +0200)]
Drop insserv removal from instsoft.GRMLBASE hook script

Nowadays even file-rc depends on insserv, so let's see how well
this works out and be prepared...

8 years agodpkg-divert grub-probe binary to avoid problems in OpenVZ environments
Michael Prokop [Mon, 27 Aug 2012 18:20:55 +0000 (20:20 +0200)]
dpkg-divert grub-probe binary to avoid problems in OpenVZ environments

It's a hard to debug problem as it doesn't seem to be
reproducible in every OpenVZ environment and on the other hand
makes the system unusable as soon as the bug is triggered. :(

On the command line/in the logs you'll notice something like
that before the system is becoming unuseable:

| Setting up grub-common (1.99-22.1) ...
| Setting up grub2-common (1.99-22.1) ...
| Setting up grub-pc-bin (1.99-22.1) ...
| Setting up grub-pc (1.99-22.1) ...
|
| Creating config file /etc/default/grub with new version
| grub-probe: error: cannot find a device for / (is /dev mounted?).
| grub-probe: error: cannot find a device for /boot (is /dev mounted?).
| grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).

To avoid grub-probe being executed during software installation
let's dpkg-divert the binary during the FAI dirinstall process
through the existing hook script instsoft.GRMLBASE. Then revert
the dpkg-divert via scripts/GRMLBASE/98-clean-chroot before
actually building the ISO again.

While at it also divert update-grub in the same code path as
well.

8 years agoRelease new version 0.19.6 v0.19.6
Michael Prokop [Mon, 27 Aug 2012 13:33:41 +0000 (15:33 +0200)]
Release new version 0.19.6

8 years agoSW: add ssmping to GRML_FULL
Michael Prokop [Mon, 30 Jul 2012 21:35:45 +0000 (23:35 +0200)]
SW: add ssmping to GRML_FULL

Useful for testing if multicast is working between two nodes,
see e.g. http://pve.proxmox.com/wiki/Multicast_notes#test_if_multicast_is_working_between_two_nodes

8 years agoSW: replace fuse-utils with fuse
Michael Prokop [Mon, 30 Jul 2012 15:49:18 +0000 (17:49 +0200)]
SW: replace fuse-utils with fuse

fuse-utils is a transitional package starting with wheezy

8 years agoDo not accept any command line arguments we can't handle
Michael Prokop [Fri, 27 Jul 2012 12:43:40 +0000 (14:43 +0200)]
Do not accept any command line arguments we can't handle

When executing something like:

| grml-live [...] -V B -q

this doesn't skip the mksquashfs stage (and neither the chroot
build stage of course) because the "B" can't be processed for
obvious reasons.  The user mistyped the "-B" here, but then we
shouldn't even try to execute the command line, so just exit in
such a case.

8 years agoDisplay usage information if any unknown cmdline option is used
Michael Prokop [Fri, 27 Jul 2012 12:43:07 +0000 (14:43 +0200)]
Display usage information if any unknown cmdline option is used

This is more user friendly than just displaying an error message

8 years agoSW: add gddrescue to GRML_SMALL
Michael Prokop [Tue, 24 Jul 2012 16:41:29 +0000 (18:41 +0200)]
SW: add gddrescue to GRML_SMALL

Signed-off-by: Alexander Wirt <formorer@grml.org>
8 years agoSW: drop ddrescue from GRML_MEDIUM and GRML_SMALL (removed from Debian, see #677101)
Michael Prokop [Tue, 24 Jul 2012 15:03:30 +0000 (17:03 +0200)]
SW: drop ddrescue from GRML_MEDIUM and GRML_SMALL (removed from Debian, see #677101)

See http://bugs.debian.org/677101

8 years agoSW: add netsniff-ng to GRML_FULL [Closes: issue1197]
Michael Prokop [Mon, 23 Jul 2012 12:23:19 +0000 (14:23 +0200)]
SW: add netsniff-ng to GRML_FULL [Closes: issue1197]

8 years agoRevert "Replace cdn.debian.net with http.debian.net"
Michael Prokop [Thu, 12 Jul 2012 18:42:16 +0000 (20:42 +0200)]
Revert "Replace cdn.debian.net with http.debian.net"

This reverts commit 0533a725f51aa9759cf12312cff52a50756ba47e.
"E: Method gave invalid 200 URI Start message" seems to be
related to http.debian.net

8 years agoRelease new version 0.19.5 v0.19.5
Michael Prokop [Mon, 2 Jul 2012 13:27:30 +0000 (15:27 +0200)]
Release new version 0.19.5

8 years agoSW: add epdfview to GRML_FULL [Closes: issue1189]
Michael Prokop [Mon, 2 Jul 2012 13:22:35 +0000 (15:22 +0200)]
SW: add epdfview to GRML_FULL [Closes: issue1189]

Closes: issue1189
Thanks: Evgeni Golov, Alexander Wirt and Markus Ulrich raising this issue

8 years agotemplates/GRML/README.txt: update to match current development
Michael Prokop [Mon, 2 Jul 2012 13:20:43 +0000 (15:20 +0200)]
templates/GRML/README.txt: update to match current development

8 years agoReplace cdn.debian.net with http.debian.net
Michael Prokop [Mon, 2 Jul 2012 13:05:26 +0000 (15:05 +0200)]
Replace cdn.debian.net with http.debian.net

Visit http://http.debian.net/ for details.

Also drop the "mirror selected via geo-ip" from the comments as
it's missleading if the deb line gets replaced for RELEASE builds
with snapshot.debian.org.

8 years agoSW: add firmware-bnx2 + firmware-bnx2x to GRML_SMALL and GRML_FULL
Michael Prokop [Mon, 2 Jul 2012 10:11:57 +0000 (12:11 +0200)]
SW: add firmware-bnx2 + firmware-bnx2x to GRML_SMALL and GRML_FULL

Acked-by: Alexander Wirt <formorer@grml.org>
8 years agoSW: drop arrayprobe from GRML_FULL + GRML_XL
Michael Prokop [Fri, 22 Jun 2012 21:39:27 +0000 (23:39 +0200)]
SW: drop arrayprobe from GRML_FULL + GRML_XL

The package is gone from Debian (RoQA; unmaintained, RC-buggy),
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656590

8 years agoUnset TMPDIR to avoid leaking the variable into chroot scripts
Michael Prokop [Wed, 13 Jun 2012 15:52:30 +0000 (17:52 +0200)]
Unset TMPDIR to avoid leaking the variable into chroot scripts

We've reports that with TMPDIR being set the FAI scripts fail
inside the chroot, so let's avoid that.

8 years agoRelease new version 0.19.4 v0.19.4
Michael Prokop [Mon, 11 Jun 2012 22:34:35 +0000 (00:34 +0200)]
Release new version 0.19.4

8 years agoGRMLBASE/95-package-information: drop field width option in dpkg-query command
Michael Prokop [Sat, 9 Jun 2012 13:10:47 +0000 (15:10 +0200)]
GRMLBASE/95-package-information: drop field width option in dpkg-query command

dpkg v1.16.4 has a regression, failing the dpkg-query command to
execute correctly. Because of that our daily builds fail, no need
to force usage of the field width option, so let's just drop it.
See Debian's BTS #676796

8 years agoGRMLBASE/45-grub-images: put single quotes to appropriate place
Michael Prokop [Fri, 8 Jun 2012 15:28:14 +0000 (17:28 +0200)]
GRMLBASE/45-grub-images: put single quotes to appropriate place

Works otherwise too but not when testing in shells interpreting '}'

8 years agoGRMLBASE/45-grub-images: calculate real disk size of bootx64.efi
Michael Prokop [Fri, 8 Jun 2012 13:31:01 +0000 (15:31 +0200)]
GRMLBASE/45-grub-images: calculate real disk size of bootx64.efi

Fixes case where size of file is mis-detected due to transparent
compression, resulting in "disk full" error when running 45-grub-images

Thanks: Andras Korn for the patch

8 years agoDo not bailout (incl. cleanup) but just exit if user wants to quit
Michael Prokop [Thu, 7 Jun 2012 23:48:09 +0000 (01:48 +0200)]
Do not bailout (incl. cleanup) but just exit if user wants to quit

There's no need to remove/unmount anything yet unless the
user wants to really run the specified configuration.

8 years agoDo not remove the chroot if the user backs out
Csillag Tamas [Thu, 7 Jun 2012 22:31:28 +0000 (00:31 +0200)]
Do not remove the chroot if the user backs out

Set CLEAN_ARTIFACTS to false if the user aborts.

8 years agoArchitecture sanity check: be more restrictive using a word-regexp grep
Michael Prokop [Mon, 4 Jun 2012 21:26:39 +0000 (23:26 +0200)]
Architecture sanity check: be more restrictive using a word-regexp grep

8 years agoIgnore --uefi option for isohybrid on 32bit systems
Michael Prokop [Mon, 4 Jun 2012 21:23:49 +0000 (23:23 +0200)]
Ignore --uefi option for isohybrid on 32bit systems

This avoids this misleading error message:

| * Creating hybrid ISO file with isohybrid method
| * Detected uefi support for isohybrid, enabling
| isohybrid: /srv/jenkins/jobs/grml32-full_testing/workspace/grml_isos/grml32-full_testing_20120603.iso: unable to find efi image
|                                                                          [ !! ]

8 years agoSW: drop smbfs from GRML_FULL + GRML_XL (provided by cifs-utils nowadays)
Michael Prokop [Mon, 4 Jun 2012 20:24:47 +0000 (22:24 +0200)]
SW: drop smbfs from GRML_FULL + GRML_XL (provided by cifs-utils nowadays)

8 years agoGRMLBASE/33-aptsetup: adjust snapshot.debian.org cmdline and enable it for RELEASE...
Michael Prokop [Wed, 30 May 2012 12:59:04 +0000 (14:59 +0200)]
GRMLBASE/33-aptsetup: adjust snapshot.debian.org cmdline and enable it for RELEASE class

Closes: issue1083

8 years agoGRMLBASE/21-usersetup: drop deprecated workaround for gsmsms (#353967)
Michael Prokop [Tue, 29 May 2012 21:48:45 +0000 (23:48 +0200)]
GRMLBASE/21-usersetup: drop deprecated workaround for gsmsms (#353967)

8 years agoRelease new version 0.19.3 v0.19.3
Michael Prokop [Mon, 28 May 2012 15:25:44 +0000 (17:25 +0200)]
Release new version 0.19.3

8 years agotemplates/boot/grub/addons.cfg: insmod linux16 before running linux16 commands
Michael Prokop [Mon, 28 May 2012 15:19:11 +0000 (17:19 +0200)]
templates/boot/grub/addons.cfg: insmod linux16 before running linux16 commands

Thanks: Evgeni Golov for the bugreport and the fix

8 years agogrml-cheatcodes.txt: update and extend documentation regarding live-media-path
Michael Prokop [Sun, 27 May 2012 22:04:44 +0000 (00:04 +0200)]
grml-cheatcodes.txt: update and extend documentation regarding live-media-path

8 years agoAdd whitespace chars to ssh docs on boot splash f5
Michael Prokop [Sun, 27 May 2012 18:46:10 +0000 (20:46 +0200)]
Add whitespace chars to ssh docs on boot splash f5

8 years agoExtend the infotext about the ssh feature for bootmenu and f5-help at
Markus Ulrich [Sat, 26 May 2012 22:30:51 +0000 (00:30 +0200)]
Extend the infotext about the ssh feature for bootmenu and f5-help at
boot prompt

8 years agoRevert "SW: remove firmware-qlogic from GRML_FULL"
Michael Prokop [Sat, 26 May 2012 00:45:38 +0000 (02:45 +0200)]
Revert "SW: remove firmware-qlogic from GRML_FULL"

This reverts commit 588ee25553bd316a5c3c2595fac421281d36c9c7.

New kernel build is supposed to fix this issue.

8 years agoRevert "SW: drop firmware-linux-free + firmware-linux-nonfree from GRML_FULL"
Michael Prokop [Sat, 26 May 2012 00:45:21 +0000 (02:45 +0200)]
Revert "SW: drop firmware-linux-free + firmware-linux-nonfree from GRML_FULL"

This reverts commit dda6a44ba1325a176dc1e0f7020b32f03cf3b052.

New kernel build is supposed to fix this issue.

8 years agoSW: remove firmware-qlogic from GRML_FULL
Michael Prokop [Fri, 25 May 2012 20:44:44 +0000 (22:44 +0200)]
SW: remove firmware-qlogic from GRML_FULL

Addressing jenkins grml64-full_testing #150:

| dpkg: error processing /var/cache/apt/archives/firmware-qlogic_0.35_all.deb (--unpack):
|  trying to overwrite '/lib/firmware/qlogic/1280.bin', which is also in package linux-image-3.3.0-3-grml-amd64 3.3.7-1+grml.1

8 years agoSW: drop firmware-linux-free + firmware-linux-nonfree from GRML_FULL
Michael Prokop [Fri, 25 May 2012 18:44:25 +0000 (20:44 +0200)]
SW: drop firmware-linux-free + firmware-linux-nonfree from GRML_FULL

Addressing:

| dpkg: error processing /var/cache/apt/archives/firmware-linux-free_3_all.deb (--unpack):
|  trying to overwrite '/lib/firmware/keyspan_pda/keyspan_pda.fw', which is also in package linux-image-3.3.0-3-grml-amd64 3.3.7-1+grml.1
| dpkg: error processing /var/cache/apt/archives/firmware-linux-nonfree_0.35_all.deb (--unpack):
|  trying to overwrite '/lib/firmware/e100/d101m_ucode.bin', which is also in package linux-image-3.3.0-3-grml-amd64 3.3.7-1+grml.1

If there are any firmware files from firmware-linux-free
or firmware-linux-nonfree that we need to ship (like the
ones for radeon) we need to find a different way...

8 years agoRelease new version 0.19.2 v0.19.2
Michael Prokop [Fri, 25 May 2012 14:48:27 +0000 (16:48 +0200)]
Release new version 0.19.2

8 years agoextract ISO feature: make sure *.squashfs files exist + support older ISOs too
Michael Prokop [Fri, 25 May 2012 11:17:14 +0000 (13:17 +0200)]
extract ISO feature: make sure *.squashfs files exist + support older ISOs too

ISOs before release 2011.12 used /live/ for storing squashfs files,
releases starting with 2011.12 use /live/*/ (where "*" corresponds
to the release name). Test whether such files exist before accessing
them and while adding the check also add support for releases older
than 2011.12.

Thanks: Charles A. Hewson <cahewson@eskimo.com> for the bugreport

8 years agoumount_all: also get rid of loopback mount of ISO
Michael Prokop [Fri, 25 May 2012 10:15:15 +0000 (12:15 +0200)]
umount_all: also get rid of loopback mount of ISO

8 years agoUse syslinux's mboot.c32 for booting Grub2
Michael Prokop [Mon, 21 May 2012 22:26:46 +0000 (00:26 +0200)]
Use syslinux's mboot.c32 for booting Grub2

This fixes the broken Grub2 boot entry on 64bit systems.

Thanks: Jordan Uggla for his valuable bootloader knowledge

8 years agoSW: add sysstatt to GRML_FULL
Michael Prokop [Sun, 20 May 2012 18:00:24 +0000 (20:00 +0200)]
SW: add sysstatt to GRML_FULL

Thanks: Michael Renner for reporting

8 years agoRevert "Include linux16.mod in GRUB image file x86_64-efi.img"
Michael Prokop [Sun, 20 May 2012 17:57:02 +0000 (19:57 +0200)]
Revert "Include linux16.mod in GRUB image file x86_64-efi.img"

This reverts commit bf8e3bc45b72c51386b53da9fe5acae2703b6e41.
Breaks grml-live:

| =====   shell: GRMLBASE/45-grub-images   =====
| grub-mkimage: error: cannot stat /usr/lib/grub/x86_64-efi/linux16.mod.
| GRMLBASE/45-grub-images FAILED with exit code 1.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651562 for
the reason why /usr/lib/grub/x86_64-efi/linux16.mod doesn't exist.

8 years agoInclude linux16.mod in GRUB image file x86_64-efi.img
Michael Prokop [Sun, 20 May 2012 16:44:41 +0000 (18:44 +0200)]
Include linux16.mod in GRUB image file x86_64-efi.img

Otherwise [U]EFI systems will fail on some addons because of:

| Grub cannot load `linux16.mod`

Thanks: Paul Menzel for the bug report
Thanks: Ulrich Dangel for the bugfix

8 years agoDrop unused NFSROOT configuration file
Michael Prokop [Sun, 20 May 2012 10:52:41 +0000 (12:52 +0200)]
Drop unused NFSROOT configuration file

8 years agoGenerate /etc/grml_live_version after FAI execution + drop /etc/dpkg/dpkg.cfg.d/unsaf...
Michael Prokop [Sun, 20 May 2012 10:49:30 +0000 (12:49 +0200)]
Generate /etc/grml_live_version after FAI execution + drop /etc/dpkg/dpkg.cfg.d/unsafe-io code

FAI uses /etc to detect whether a chroot exists or not and will
skip debootstrap stage if /etc exists already. This causes serious
problems if the user doesn't have a BASEFILE, therefore we can't
edit files inside /etc before running FAI. :(

As a result:

1) generate /etc/grml_live_version *after* FAI has been executed

2) drop /etc/dpkg/dpkg.cfg.d/unsafe-io related code.
As stated in commit 9269536ba7bb7def8664972d153b71d193450595

| Enable --force-unsafe-io for dpkg
|
| While this might help on resource constrained systems, no performance
| impact has been measured during an unscientific test on a well-geared
| machine.

it does not seem to be that relevant. But even more important: it
doesn't work for systems without BASEFILEs because FAI skips the
debootstrap stage if /etc exists already, so we can't generate
/etc/dpkg/dpkg.cfg.d/unsafe-io *before* running FAI. Unless
someone comes up with benchmarks about real performance impacts
let's skip adding more fcopy logic...

8 years agoGenerate make-fai-nfsroot.conf and nfsroot.conf on-the-fly
Michael Prokop [Sun, 20 May 2012 10:48:21 +0000 (12:48 +0200)]
Generate make-fai-nfsroot.conf and nfsroot.conf on-the-fly

FAI 4 uses nfsroot.conf instead of make-fai-nfsroot.conf without
providing any backwards compatibility. :( So while at it rework
the way how make-fai-nfsroot.conf is handled:

* No longer ship /etc/grml/fai/make-fai-nfsroot.conf at all
* Generate nfsroot.conf based on default settings (can be overriden
  by $FAI_DEBOOTSTRAP + $FAI_DEBOOTSTRAP_OPTS) on the fly
* Provide symlink make-fai-nfsroot.conf pointing to nfsroot.conf
  to support old and new FAI versions at the same time
* After execution copy generated nfsroot.conf file to log directory
  and get rid of make-fai-nfsroot.conf and nfsroot.conf in
  $GRML_FAI_CONFIG (/etc/grml/fai/ by default) afterwards

Note: existing make-fai-nfsroot.conf files will be moved
to make-fai-nfsroot.conf.outdated to avoid possible data loss.

Closes: https://github.com/grml/grml-live/issues/4

8 years agoDEBORPHAN/98-clean-chroot: purge removed packages mika/purge_removed_packages
Michael Prokop [Tue, 15 May 2012 20:41:02 +0000 (22:41 +0200)]
DEBORPHAN/98-clean-chroot: purge removed packages

Make sure we don't have any removed but not-yet-purged packages left,
otherwise GRMLBASE/03-get-sources might try to download unavailable
packages and will fail doing so.