Michael Prokop [Wed, 26 Jun 2013 15:28:53 +0000 (17:28 +0200)]
Release new version 0.14.0
Michael Prokop [Wed, 26 Jun 2013 15:21:39 +0000 (17:21 +0200)]
grml2iso: make sure we have the sbin directories in our PATH
Under Debian/wheezy it fails out-of-the-box under sudo:
| sudo /usr/sbin/grml2iso -c ./source/templates -o grml64-sipwise-release_20130626.iso grml64-full_2013.02.iso
| Error: Could not find grml2usb executable. Is /usr/sbin missing in PATH?
because of:
| ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
| ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
in /etc/login.defs.
Michael Prokop [Wed, 26 Jun 2013 14:06:49 +0000 (16:06 +0200)]
grml2iso: disable UEFI mode by default, only enable for xorriso under according prerequisites
Getting an error message like:
| isohybrid version supports --uefi option, enabling
| Creating dd-able ISO using isohybrid
| isohybrid: custom_grml.iso: unable to find efi image
is quite confusing, especially if the /efi/boot/bootx64.efi
and /boot/efi.img files are actually present on the image.
When using xorriso everything is fine, but when using genisoimage
within grml2iso the ISO lacks according UEFI support and the
above mention error message appears. So instead only enable UEFI
mode if building with xorriso and all the other prerequisites are
fulfilled as well.
Michael Prokop [Wed, 26 Jun 2013 14:04:25 +0000 (16:04 +0200)]
grml2iso: mention isolinux in 'isohybrid executable not found' message, add isolinux to recommends
Binary package syslinux in version 3:4.05+dfsg-6+deb7u3 ships the
isohybrid binary, but starting with version 3:6.00+dfsg-1 the
isohybrid binary is part of the isolinux binary package...
Michael Prokop [Wed, 26 Jun 2013 14:03:39 +0000 (16:03 +0200)]
grml2iso: extend error message of required ISO generation tools with xorriso
Michael Prokop [Mon, 10 Jun 2013 22:53:41 +0000 (00:53 +0200)]
Use lowercase 'timeout' command in syslinux configuration [Closes: issue1262]
With an uppercase 'TIMEOUT' command the system seems to be failing
to autoboot for a user (using kernel version 3.9-1-amd64 on a
ThinkPad T410s). While syslinux shouldn't care about it
("Keywords are case insensitive") changing the uppercase command
to lowercase fixes the issue, so let's go for it.
Thanks: Martin Ć louf for reporting this bug including a workaround
Michael Prokop [Sun, 2 Jun 2013 10:30:59 +0000 (12:30 +0200)]
grml2iso: skip --uefi option of isohybrid if ISO doesn't ship /boot/efi.img
Grml's 32bit ISOs don't provide /boot/efi.img, so there's no
point in running isohybrid with its --uefi option then as
this fails.
Michael Prokop [Wed, 15 May 2013 12:54:29 +0000 (14:54 +0200)]
Release new version 0.13.8
Michael Prokop [Wed, 15 May 2013 11:59:00 +0000 (13:59 +0200)]
Skip check for bootflag if a GPT header is present
The bootflag is not required when using GPT, so skip the check
and do not fail if no bootflag is present.
Michael Prokop [Tue, 14 May 2013 17:09:15 +0000 (19:09 +0200)]
Release new version 0.13.7
meisterluk [Wed, 8 May 2013 00:49:38 +0000 (02:49 +0200)]
Further bugfixes.
* Remove "Error:" prefix which will be added as "Critical:" anyway.
* Fix wrong usage of string formatting parameters.
meisterluk [Mon, 6 May 2013 19:38:08 +0000 (21:38 +0200)]
Bugfixes.
Several bugfixes concerning the error handling of the previous commits.
meisterluk [Sat, 4 May 2013 19:57:57 +0000 (21:57 +0200)]
Fix FORMAT definition for logging module.
Level does not specify that only messages of this level are printed
out, but the minimum level. So a definition like this
FORMAT = "Debug: %(asctime)-15s %(message)s"
FORMAT = "%(asctime)-15s %(message)s"
misleads the user into thinking that every message printed out is
actually a debug message, which is not true.
We now use "%(message)s" for everything except verbose mode which
annotates the timestamp to the message.
meisterluk [Fri, 3 May 2013 22:22:46 +0000 (00:22 +0200)]
Fix typo.
meisterluk [Fri, 3 May 2013 17:09:27 +0000 (19:09 +0200)]
Provide top-level critical error message.
Instead of registering error message using the logging module before
raising the corresponding Exception, we use the Exception to provide
user-level error messages (and use logging.debug or logging.error to
store dev-level error messages before).
The main routine catches those exceptions and forwards the messages
to the logging module.
meisterluk [Fri, 3 May 2013 16:16:48 +0000 (18:16 +0200)]
Wrap main method with try...except Exception construct.
This construct will catch any Exception and suppresses the backtrace.
Any error message is registered by logging before. In the current
commit this is already satisfied, but error message might get registered
twice.
Next we don't register error messages with logging before and move the
logging.critical message to the top-level except-Exception.
meisterluk [Fri, 3 May 2013 16:10:11 +0000 (18:10 +0200)]
Improve error handling.
In method unmount: If unmount impossible, write a message to logging
before it finally raises (fixes inconsistency with other error handling).
In method copy_bootloader_files: Provide an Exception instance to provide
an useful error message.
meisterluk [Fri, 3 May 2013 16:03:45 +0000 (18:03 +0200)]
Fix spelling.
Evgeni Golov [Mon, 13 May 2013 07:21:50 +0000 (09:21 +0200)]
"if not" also triggers when value is 0, use "if is None" instead
Christian Hofstaedtler [Wed, 8 May 2013 13:23:22 +0000 (15:23 +0200)]
Remove obsolete DM-Upload-Allowed flag
Michael Prokop [Tue, 23 Apr 2013 20:32:59 +0000 (22:32 +0200)]
Release new version 0.13.6
Michael Prokop [Tue, 23 Apr 2013 15:20:46 +0000 (17:20 +0200)]
Normalize temporary working directory to not fail with relative directory path
When invoking "grml2is -t tmpdir ..." then the kernel and
initrd files receive a wrong leading directory path on the
resulting ISO, leading to a broken ISO. Since specifying
a relative path ("-t tmpdir" instead of "-t ${PWD}/tmpdir")
should be possible as well let's just normalize it.
Michael Prokop [Tue, 23 Apr 2013 14:08:09 +0000 (16:08 +0200)]
grml2iso: provide more user-friendly error message if grml2usb executable is not available
Michael Prokop [Tue, 23 Apr 2013 14:07:50 +0000 (16:07 +0200)]
Make sure modprobe executable can be accessed
If /sbin is missing in $PATH then we fail with a traceback otherwise
Michael Prokop [Tue, 23 Apr 2013 13:15:10 +0000 (15:15 +0200)]
grml2iso: make sure to exit properly if provided argument to -c option does not exist
Otherwise we're hiding the actual error message.
Michael Prokop [Mon, 18 Mar 2013 14:12:30 +0000 (15:12 +0100)]
Release new version 0.13.5
Evgeni Golov [Sun, 17 Mar 2013 11:13:35 +0000 (12:13 +0100)]
fix detection of strange (xxxNpM) structures when finding the device for a partition [Closes: issue1244]
Michael Prokop [Thu, 10 Jan 2013 13:08:28 +0000 (14:08 +0100)]
Release new version 0.13.4
Michael Prokop [Thu, 10 Jan 2013 13:00:18 +0000 (14:00 +0100)]
Mention /lib/live/mount/medium for new live path + adjust ISO versions
Debian's live-boot changed the path from /live/image to
/lib/live/mount/medium, so adopt our code to support those
new versions without breaking older ISOs.
While at it raise ISO names from version 2009.10 to upcoming 2013.01.
Michael Prokop [Wed, 9 Jan 2013 00:40:44 +0000 (01:40 +0100)]
Do not use partition for bootflag check but disk itself
A device like /dev/sdX1 won't have a bootflag enabled, so instead
look for the bootflag on the corresponding /dev/sdX device instead.
Tested-by: Markus Rekkenbeil
Michael Prokop [Mon, 7 Jan 2013 13:29:21 +0000 (14:29 +0100)]
Add realpath to Depends as it's required by grml2iso
Michael Prokop [Mon, 17 Dec 2012 12:22:38 +0000 (13:22 +0100)]
Release new version 0.13.3
Using distribution 'experimental' to keep unstable open
for possible uploads targeting wheezy.
Michael Prokop [Mon, 17 Dec 2012 12:17:44 +0000 (13:17 +0100)]
Bump Standards-Version to 3.9.4
Michael Prokop [Tue, 13 Nov 2012 13:34:04 +0000 (14:34 +0100)]
Verify that the bootflag is enabled
Michael Prokop [Fri, 5 Oct 2012 10:29:31 +0000 (12:29 +0200)]
grml2iso: use absolute path for working directory to not fail when user specified relative path
Otherwise using for example:
| # grml2iso -t builddir ...
fails with:
| isohybrid version supports --uefi option, enabling
| Creating dd-able ISO using isohybrid
| isohybrid: [snip]/image.iso: unable to find efi image
Michael Prokop [Tue, 11 Sep 2012 16:28:43 +0000 (18:28 +0200)]
Release new version 0.13.2
Michael Prokop [Tue, 11 Sep 2012 14:09:20 +0000 (16:09 +0200)]
Exit with better error message if running with toram=... and invoking with /live/image
If running in RAM mode without all the files in /live/image
(happens if using boot option "toram=....squashfs", but NOT when
using just "toram"!) then there are several files missing. We
could use kernel + initrd from /boot, but files like logo.16
aren't available at all. Inform the user about this situation and
possible workarounds.
Lukas Prokop [Tue, 11 Sep 2012 12:16:48 +0000 (14:16 +0200)]
Fix error message.
Replace
| root@grml ~ # grml2usb --fat16 /live/image /dev/sdb1 --bootoptions="ssh=secret" --grub
| Executing grml2usb version 0.13.0
| Are you sure you want to format the specified partition with fat16? y/N y
| Note: you can skip this question using the option --force
| Formating partition with fat16 filesystem
| mkfs.vfat 3.0.13 (30 Jun 2012)
| Using /live/image as install base
| Error: could not find grml-version file.
| Traceback (most recent call last):
| File "/usr/sbin/grml2usb", line 1738, in <module>
| main()
| File "/usr/sbin/grml2usb", line 1715, in main
| install(iso, device)
| File "/usr/sbin/grml2usb", line 1444, in install
| install_grml(iso_mountpoint, device)
| File "/usr/sbin/grml2usb", line 1478, in install_grml
| grml_flavours = identify_grml_flavour(mountpoint)
| File "/usr/sbin/grml2usb", line 1112, in identify_grml_flavour
| raise
| TypeError: exceptions must be old-style classes or derived from
| BaseException, not NoneType
| 1 root@grml ~ #
with
| root@grml ~ # grml2usb --fat16 /live/image /dev/sdb1 --bootoptions="ssh=secret" --grub
| Executing grml2usb version 0.13.0
| Are you sure you want to format the specified partition with fat16? y/N y
| Note: you can skip this question using the option --force
| Formating partition with fat16 filesystem
| mkfs.vfat 3.0.13 (30 Jun 2012)
| Using /live/image as install base
| Error: could not find grml-version file.
| Cleaning up before exiting...
| 1 root@grml ~ #
Michael Prokop [Tue, 11 Sep 2012 11:34:38 +0000 (13:34 +0200)]
Fix logging message if operating on a directory
Michael Prokop [Tue, 11 Sep 2012 10:16:46 +0000 (12:16 +0200)]
Release new version 0.13.1
Michael Prokop [Tue, 11 Sep 2012 10:13:41 +0000 (12:13 +0200)]
grml2iso: make ISOs dd-able through isohybrid
Michael Prokop [Mon, 10 Sep 2012 07:14:09 +0000 (09:14 +0200)]
Release new version 0.13.0
Michael Prokop [Thu, 26 Jul 2012 14:20:38 +0000 (16:20 +0200)]
grml2iso: support -t to set temporary working directory
Lukas Prokop [Thu, 26 Jul 2012 14:08:00 +0000 (16:08 +0200)]
grml2usb: introduce option --tmpdir
Michael Prokop [Tue, 24 Jul 2012 12:54:49 +0000 (14:54 +0200)]
grml2iso: fix typo + improve wording
Michael Prokop [Mon, 28 May 2012 15:17:24 +0000 (17:17 +0200)]
Release new version 0.12.2
Michael Prokop [Mon, 28 May 2012 15:05:44 +0000 (17:05 +0200)]
copy_addons: install all *.c32 addons in /boot/addons/
Do not depend on options.syslinux, instead always install the files
Michael Prokop [Sun, 27 May 2012 20:23:27 +0000 (22:23 +0200)]
Release new version 0.12.1
Michael Prokop [Sun, 27 May 2012 19:36:04 +0000 (21:36 +0200)]
Support multiple flavours inside one ISO
On grml96 we have multiple grml-version files inside one single ISO,
so we need to find all those grml-version files.
Thanks: Christopher Schramm for the bugreport
Thanks: Ulrich Dangel for the patch
Closes: issue1172
Michael Prokop [Wed, 9 May 2012 10:59:02 +0000 (12:59 +0200)]
Release new version 0.12.0
Michael Prokop [Wed, 9 May 2012 10:58:40 +0000 (12:58 +0200)]
Adjust PROG_VERSION code in debian/rules for pep8 cleanup
Michael Prokop [Fri, 27 Apr 2012 00:42:44 +0000 (02:42 +0200)]
pep8 cleanups
Michael Prokop [Thu, 26 Apr 2012 15:56:10 +0000 (17:56 +0200)]
Drop oudated tarball-online make target and support prepare-release instead
Evgeni Golov [Wed, 25 Apr 2012 14:52:35 +0000 (16:52 +0200)]
fix manpage markup
- single dashes don't need to be escaped
- * has to apear directly after the string
Michael Prokop [Wed, 25 Apr 2012 14:49:36 +0000 (16:49 +0200)]
Bump Standards-Version to 3.9.3
Michael Prokop [Mon, 5 Mar 2012 16:02:35 +0000 (17:02 +0100)]
Rebuild loopback.cfg with present configuration files
Related to grml-live's recent commit titled "Generate static
loopback.cfg configuration without depending on GRUB's regexp
module" (94a9b17) to address the regexp issue of Debian/squeeze's
GRUB.
Michael Prokop [Wed, 8 Feb 2012 22:14:38 +0000 (23:14 +0100)]
grml2iso: use shell for calculation instead of using bc
We are lacking a dependency on bc but there shouldn't be any
reason why we'd have to use bc to calculate the cylinder foo,
so let's just use the internal shell mechanism.
Michael Prokop [Fri, 27 Jan 2012 11:34:18 +0000 (12:34 +0100)]
Release new version 0.11.6
Ulrich Dangel [Fri, 27 Jan 2012 01:49:23 +0000 (02:49 +0100)]
Support template parameters in overlay directory. For now only
GRML_NAME, VERSION RELEASENAME DATE SHORT_NAME RELEASE_INFO and BOOTID are
supported.
As in grml-live grml2iso supports template filename as well which you will need
for modifying file entries.
Ulrich Dangel [Fri, 27 Jan 2012 02:52:56 +0000 (03:52 +0100)]
Canonicalize overlay directory
Michael Prokop [Wed, 11 Jan 2012 15:12:40 +0000 (16:12 +0100)]
Release new version 0.11.5
Ulrich Dangel [Wed, 11 Jan 2012 12:04:03 +0000 (13:04 +0100)]
Only modify live-media-path for current flavour
Ulrich Dangel [Tue, 10 Jan 2012 17:34:17 +0000 (18:34 +0100)]
Streamline grml_flavour modification
Ulrich Dangel [Tue, 10 Jan 2012 17:12:49 +0000 (18:12 +0100)]
Modify grub config files for the specified flavour instead of all grub config files
Ulrich Dangel [Sat, 31 Dec 2011 11:53:46 +0000 (12:53 +0100)]
Support multiple flavours on a cd
Michael Prokop [Mon, 9 Jan 2012 15:38:04 +0000 (16:38 +0100)]
Release new version 0.11.4
Michael Prokop [Thu, 5 Jan 2012 13:52:55 +0000 (14:52 +0100)]
Make sure we don't fail in device check when using /dev/disk-by-label/*
Quoting Bernhard on IRC:
| i usually use ~by-label/<mysticksname> as device names, so that
| I don't mix up any /dev/sd?? devices and I just realized that
| when i do this (of course I can use ~bylabel/<mysticksname>(:A)
| in the future) grml2usb does neither recognize that my device is
| already mounted (not much of a problem with current kernel
| apparently), but the "superdisk" check which just looks for a
| digit in the last char of the device string, fails as well
Thanks: Bernhard Tittelbach for bugreport and patch
Ulrich Dangel [Tue, 27 Dec 2011 00:38:37 +0000 (01:38 +0100)]
Copy complete Grml flavour directory instead of explicit specifing files
Michael Prokop [Thu, 22 Dec 2011 22:55:43 +0000 (23:55 +0100)]
Release new version 0.11.3
Christian Hofstaedtler [Thu, 22 Dec 2011 00:41:50 +0000 (01:41 +0100)]
Load loop kernel module [Closes: issue1097]
Christian Hofstaedtler [Wed, 21 Dec 2011 15:25:56 +0000 (16:25 +0100)]
Warn that older versions can't do multi-flavour grub
Christian Hofstaedtler [Wed, 21 Dec 2011 03:08:12 +0000 (04:08 +0100)]
Use grub config from ISO instead of writing a new one
Christian Hofstaedtler [Wed, 21 Dec 2011 03:25:12 +0000 (04:25 +0100)]
Mimic /boot/%SHORT_NAME% like on the ISO
Christian Hofstaedtler [Wed, 21 Dec 2011 13:41:17 +0000 (14:41 +0100)]
Fix typo
Christian Hofstaedtler [Wed, 21 Dec 2011 02:41:56 +0000 (03:41 +0100)]
Fix add/remove bootoptions with new kernel/initrd names
Christian Hofstaedtler [Mon, 19 Dec 2011 16:56:55 +0000 (17:56 +0100)]
Add support for new kernel/initrd filenames
Christian Hofstaedtler [Mon, 19 Dec 2011 15:37:03 +0000 (16:37 +0100)]
Cleanup grub.cfg install logic
Christian Hofstaedtler [Mon, 19 Dec 2011 14:03:01 +0000 (15:03 +0100)]
Remove hardcoded version from grml2usb
Christian Hofstaedtler [Mon, 19 Dec 2011 13:46:39 +0000 (14:46 +0100)]
Use grub splash image from ISO
Michael Prokop [Thu, 15 Dec 2011 13:36:28 +0000 (14:36 +0100)]
Release new version 0.11.2
Michael Prokop [Thu, 15 Dec 2011 13:17:36 +0000 (14:17 +0100)]
add UEFI boot support to grml2iso
Christian Hofstaedtler [Mon, 12 Dec 2011 19:35:06 +0000 (20:35 +0100)]
Remove failsafe boot menu entry
Christian Hofstaedtler [Mon, 12 Dec 2011 19:34:44 +0000 (20:34 +0100)]
Remove 'quiet' from standard boot options
Michael Prokop [Sun, 11 Dec 2011 20:28:31 +0000 (21:28 +0100)]
Release new version 0.11.1
Christian Hofstaedtler [Sun, 11 Dec 2011 02:46:58 +0000 (03:46 +0100)]
sync grub.cfg menu entries with grml-live templates
Christian Hofstaedtler [Sun, 11 Dec 2011 02:41:19 +0000 (03:41 +0100)]
Add nokms option to grub menu
Michael Prokop [Thu, 8 Dec 2011 14:00:22 +0000 (15:00 +0100)]
Release new version 0.11.0
Michael Prokop [Sun, 27 Nov 2011 20:22:26 +0000 (21:22 +0100)]
install boot files required for [U]EFI boot
Ack-ed by: Christian Hofstaedtler <ch@grml.org>
Michael Prokop [Sat, 26 Nov 2011 19:30:47 +0000 (20:30 +0100)]
Release new version 0.10.2
Christian Hofstaedtler [Thu, 13 Oct 2011 17:13:03 +0000 (19:13 +0200)]
Disable validation of autogenerated docbook xml
Christian Hofstaedtler [Thu, 17 Nov 2011 09:06:32 +0000 (10:06 +0100)]
Remove mention of grml2hd
Christian Hofstaedtler [Tue, 4 Oct 2011 07:55:59 +0000 (09:55 +0200)]
Release new version 0.10.1.
Christian Hofstaedtler [Fri, 30 Sep 2011 14:27:46 +0000 (16:27 +0200)]
Reword/reformat some text in debian/copyright
Christian Hofstaedtler [Tue, 4 Oct 2011 07:45:47 +0000 (09:45 +0200)]
Fix FTBFS on i386: must build arch package in binary-arch
Christian Hofstaedtler [Mon, 3 Oct 2011 21:31:14 +0000 (23:31 +0200)]
Release new version 0.10.0
Christian Hofstaedtler [Mon, 3 Oct 2011 21:26:55 +0000 (23:26 +0200)]
Ready debian/control for Debian
Christian Hofstaedtler [Mon, 3 Oct 2011 21:14:36 +0000 (23:14 +0200)]
Release new version 0.9.35
Christian Hofstaedtler [Mon, 3 Oct 2011 21:03:44 +0000 (23:03 +0200)]
Update Maintainer/Uploaders to Team
Also set DM-Upload-Allowed: yes, even though this doesn't mean
anything for Grml, but see this as a preparation for Debian.
Christian Hofstaedtler [Mon, 3 Oct 2011 21:02:44 +0000 (23:02 +0200)]
Switch section to admin, from grml
Christian Hofstaedtler [Mon, 3 Oct 2011 21:01:28 +0000 (23:01 +0200)]
Use dh_prep, bump debhelper compat level to 7