grml2usb.git
4 years agoRelease new version 0.14.11 v0.14.11
Michael Prokop [Thu, 26 Feb 2015 13:35:35 +0000 (14:35 +0100)]
Release new version 0.14.11

4 years agoDocument --skip-usb-check option
Michael Prokop [Thu, 26 Feb 2015 13:33:55 +0000 (14:33 +0100)]
Document --skip-usb-check option

4 years agoSupport usage of grml2usb on EFI systems
Michael Prokop [Wed, 25 Feb 2015 13:41:32 +0000 (14:41 +0100)]
Support usage of grml2usb on EFI systems

Closes: #768906

4 years agoDisable usage of --copy-only and --grub at the same time
Lukas Prokop [Wed, 25 Feb 2015 10:18:58 +0000 (11:18 +0100)]
Disable usage of --copy-only and --grub at the same time

4 years agoAdd syslinux-utils to Recommends + adjust error message for isohybrid
Michael Prokop [Wed, 25 Feb 2015 13:24:58 +0000 (14:24 +0100)]
Add syslinux-utils to Recommends + adjust error message for isohybrid

isohybrid was moved from isolinux to syslinux-utils in Debian/jessie,
see #751724

4 years agoSync filesystems before returning from MBR installation
Michael Prokop [Wed, 25 Feb 2015 11:28:57 +0000 (12:28 +0100)]
Sync filesystems before returning from MBR installation

We need to make sure the device/filesystem is synced, otherwise
syslinux installation might fail with:

| [...]
| Installing default MBR
| Installing syslinux as bootloader
| syslinux: /dev/sdb1: No such file or directory
| Fatal: Error executing syslinux (either try --fat16 or use grub?)

fsync-ing via dd isn't enough, so we need to make it
a full sync.

Closes: #779193

4 years agoAdjust sorting of cmdline options
Michael Prokop [Wed, 25 Feb 2015 10:26:43 +0000 (11:26 +0100)]
Adjust sorting of cmdline options

4 years agoDisplay information when using --skip-usb-check options
Michael Prokop [Wed, 25 Feb 2015 08:59:44 +0000 (09:59 +0100)]
Display information when using --skip-usb-check options

4 years agoIntroduce skip-usb-check
Lukas Prokop [Tue, 24 Feb 2015 22:52:08 +0000 (23:52 +0100)]
Introduce skip-usb-check

5 years agoRelease new version 0.14.10 v0.14.10
Michael Prokop [Mon, 13 Oct 2014 08:52:37 +0000 (10:52 +0200)]
Release new version 0.14.10

5 years agoFix "global name 'parted' is not defined" error in grml2usb
Evgeni Golov [Sat, 11 Oct 2014 18:01:27 +0000 (20:01 +0200)]
Fix "global name 'parted' is not defined" error in grml2usb

Thanks to Charles Hewson for reporting the issue.
Blame myself for introducing this issue after Mika got it right in
the first version of his patch.

5 years agoDocument --skip-bootflag cmdline option
Michael Prokop [Thu, 9 Oct 2014 07:57:27 +0000 (09:57 +0200)]
Document --skip-bootflag cmdline option

5 years agoRelease new version 0.14.9 v0.14.9
Michael Prokop [Tue, 7 Oct 2014 06:47:57 +0000 (08:47 +0200)]
Release new version 0.14.9

5 years agoUse pyparted to check for bootflag [Closes: issue1248]
Michael Prokop [Wed, 25 Sep 2013 12:54:06 +0000 (14:54 +0200)]
Use pyparted to check for bootflag [Closes: issue1248]

The approach to check the 7th field in the MBR for the
bootable flag being set isn't enough. This fails to detect
bootable partitions if they aren't the first primary ones.

pyparted provides a way to check whether the specified
partition really has the boot flag set, so let's use this
approach, iff pyparted is available.

The check can also be completely skipped using the
--skip-bootflag parameter.

Took the get_partition_for_path function from Evgeni Golov's
https://github.com/evgeni/grml2usb/tree/pyparted with his
permission.

5 years agoRelease new version 0.14.8 v0.14.8
Michael Prokop [Thu, 2 Oct 2014 09:47:24 +0000 (11:47 +0200)]
Release new version 0.14.8

5 years agoBump Standards-Version to 3.9.6
Michael Prokop [Thu, 2 Oct 2014 09:47:08 +0000 (11:47 +0200)]
Bump Standards-Version to 3.9.6

5 years agoExtend search paths for syslinux MBRs
joeran [Thu, 4 Sep 2014 18:52:34 +0000 (20:52 +0200)]
Extend search paths for syslinux MBRs

5 years agostyle fixes.
Florian Apolloner [Mon, 11 Aug 2014 20:31:31 +0000 (22:31 +0200)]
style fixes.

5 years agoRelease new version 0.14.7 v0.14.7
Michael Prokop [Mon, 11 Aug 2014 20:09:38 +0000 (22:09 +0200)]
Release new version 0.14.7

5 years agoFix usage of grub-install command
Michael Prokop [Mon, 11 Aug 2014 20:06:57 +0000 (22:06 +0200)]
Fix usage of grub-install command

Thanks: martin f krafft <madduck@debian.org> for spotting the problem
Closes: #755768

5 years agoExecute wrap-and-sort on debian directory
Michael Prokop [Tue, 29 Jul 2014 20:59:48 +0000 (22:59 +0200)]
Execute wrap-and-sort on debian directory

5 years agoRelease new version 0.14.6 v0.14.6
Michael Prokop [Fri, 4 Jul 2014 08:08:37 +0000 (10:08 +0200)]
Release new version 0.14.6

5 years agoAdd support for Python 3
Michael Prokop [Fri, 4 Jul 2014 07:59:23 +0000 (09:59 +0200)]
Add support for Python 3

'ExceptionType, name' is deprecated since 2.6 and disestablished
since Python 3, so use 'ExceptionType as name' instead.

Also the print statement has been replaced with a print() function.

Reviewed-by: Evgeni Golov <evgeni@grml.org>
5 years agoRelease new version 0.14.5 v0.14.5
Michael Prokop [Thu, 3 Jul 2014 10:48:55 +0000 (12:48 +0200)]
Release new version 0.14.5

5 years agodocs: fix typo (persisten*t*-path and wrong uppercase usage of Grml64/Grml in syslinux)
Michael Prokop [Thu, 3 Jul 2014 10:12:48 +0000 (12:12 +0200)]
docs: fix typo (persisten*t*-path and wrong uppercase usage of Grml64/Grml in syslinux)

5 years agoMerge branch 'master' of https://github.com/jimmy42/grml2usb
Michael Prokop [Thu, 3 Jul 2014 10:08:26 +0000 (12:08 +0200)]
Merge branch 'master' of https://github.com/jimmy42/grml2usb

5 years agoallow grub-install to be called grub2-install (used in gentoo)
dansan [Mon, 2 Jun 2014 09:19:13 +0000 (11:19 +0200)]
allow grub-install to be called grub2-install (used in gentoo)

5 years agoReplaced all occurences of iso or Iso with ISO(s) in the manpages
Andreas "Jimmy" Gredler [Sun, 23 Mar 2014 20:18:47 +0000 (13:18 -0700)]
Replaced all occurences of iso or Iso with ISO(s) in the manpages

5 years agoReplaced all occurences of grml with Grml in the manpages
Andreas "Jimmy" Gredler [Sun, 23 Mar 2014 20:12:22 +0000 (13:12 -0700)]
Replaced all occurences of grml with Grml in the manpages

5 years agoMinor change in manpage
Andreas "Jimmy" Gredler [Sun, 23 Mar 2014 05:58:12 +0000 (22:58 -0700)]
Minor change in manpage

5 years agoFixed manpages
Andreas "Jimmy" Gredler [Sun, 23 Mar 2014 05:53:54 +0000 (22:53 -0700)]
Fixed manpages

Manpages were including the text .5v at the end of some paragraphs. This was
caused by an old hack in the Makefile which removed the text .sp, which was
accidently added to the end of some paragraphs. (sed -i 's/\.sp//') Looks like
this hack is not needed any longer so it was just commented out and so the .5v
disappeared (which might have been the text ".sp 5v")

5 years agoRelease new version 0.14.4 v0.14.4
Michael Prokop [Mon, 24 Feb 2014 15:02:53 +0000 (16:02 +0100)]
Release new version 0.14.4

5 years agoMore consequently use "Grml" instead of "grml"
Michael Prokop [Mon, 24 Feb 2014 14:43:14 +0000 (15:43 +0100)]
More consequently use "Grml" instead of "grml"

5 years agoSilent error for StandardError, not RuntimeError
Lukas Prokop [Wed, 19 Feb 2014 22:48:08 +0000 (23:48 +0100)]
Silent error for StandardError, not RuntimeError

RuntimeError was caught to catch set modification during iteration.
Now I want to catch all system-related exception.

5 years agoCreate copies of set before iteration
Lukas Prokop [Wed, 19 Feb 2014 22:47:38 +0000 (23:47 +0100)]
Create copies of set before iteration

5 years agoProvide log message for umounted device in cleanup()
Lukas Prokop [Wed, 19 Feb 2014 22:50:55 +0000 (23:50 +0100)]
Provide log message for umounted device in cleanup()

5 years agoImplement folder cleanup support for TMPFILES. Closes #5.
Lukas Prokop [Wed, 19 Feb 2014 22:16:27 +0000 (23:16 +0100)]
Implement folder cleanup support for TMPFILES. Closes #5.

5 years agoSilence errors the right way.
Lukas Prokop [Wed, 19 Feb 2014 22:04:15 +0000 (23:04 +0100)]
Silence errors the right way.

Catch exceptions per operation (for-loop) per value (iterator).

5 years agoAdverb is actually adjective.
Lukas Prokop [Wed, 19 Feb 2014 21:56:38 +0000 (22:56 +0100)]
Adverb is actually adjective.

5 years agoAsk user whether he really wants to use non-grml folder
Lukas Prokop [Fri, 14 Feb 2014 11:28:29 +0000 (12:28 +0100)]
Ask user whether he really wants to use non-grml folder

5 years agoRelease new version 0.14.3 v0.14.3
Michael Prokop [Fri, 7 Feb 2014 17:39:11 +0000 (18:39 +0100)]
Release new version 0.14.3

5 years agoFix logic of isohybrid execution if uefi option is not supported
Michael Prokop [Fri, 7 Feb 2014 17:37:01 +0000 (18:37 +0100)]
Fix logic of isohybrid execution if uefi option is not supported

This fixes a problem which makes all 32bit Grml systems
unbootable via grml2iso because uefi isn't supported there.

5 years agoBump Standards-Version to 3.9.5
Michael Prokop [Fri, 7 Feb 2014 17:36:43 +0000 (18:36 +0100)]
Bump Standards-Version to 3.9.5

5 years agoRelease new version 0.14.2 v0.14.2
Michael Prokop [Thu, 31 Oct 2013 07:45:19 +0000 (08:45 +0100)]
Release new version 0.14.2

5 years agoFix typo in /boot/grub/addons.cfg filename
Michael Prokop [Thu, 31 Oct 2013 07:43:42 +0000 (08:43 +0100)]
Fix typo in /boot/grub/addons.cfg filename

/boot/grub/adddons.cfg should be
/boot/grub/addons.cfg of course instead

Thanks: Michael Schierl for the hint

6 years agoRemove Recommends: isolinux, as the package is gone
Christian Hofstaedtler [Sun, 6 Oct 2013 18:53:42 +0000 (20:53 +0200)]
Remove Recommends: isolinux, as the package is gone

6 years agopep8 cleanups
Michael Prokop [Mon, 19 Aug 2013 11:15:53 +0000 (13:15 +0200)]
pep8 cleanups

6 years agoRelease new version 0.14.1 v0.14.1
Michael Prokop [Wed, 14 Aug 2013 11:08:05 +0000 (13:08 +0200)]
Release new version 0.14.1

6 years agoSupport also /usr/share/syslinux/ to look for mbr.bin
Till Maas [Wed, 10 Jul 2013 09:34:56 +0000 (11:34 +0200)]
Support also /usr/share/syslinux/ to look for mbr.bin

Look for the syslinux MBR also in /usr/share/syslinux/mbr.bin, which
is the correct path for it on Fedora.

6 years agoRelease new version 0.14.0 v0.14.0
Michael Prokop [Wed, 26 Jun 2013 15:28:53 +0000 (17:28 +0200)]
Release new version 0.14.0

6 years agogrml2iso: make sure we have the sbin directories in our PATH
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.

6 years agogrml2iso: disable UEFI mode by default, only enable for xorriso under according prere...
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.

6 years agogrml2iso: mention isolinux in 'isohybrid executable not found' message, add isolinux...
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...

6 years agogrml2iso: extend error message of required ISO generation tools with xorriso
Michael Prokop [Wed, 26 Jun 2013 14:03:39 +0000 (16:03 +0200)]
grml2iso: extend error message of required ISO generation tools with xorriso

6 years agoUse lowercase 'timeout' command in syslinux configuration [Closes: issue1262]
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

6 years agogrml2iso: skip --uefi option of isohybrid if ISO doesn't ship /boot/efi.img
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.

6 years agoRelease new version 0.13.8 v0.13.8
Michael Prokop [Wed, 15 May 2013 12:54:29 +0000 (14:54 +0200)]
Release new version 0.13.8

6 years agoSkip check for bootflag if a GPT header is present
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.

6 years agoRelease new version 0.13.7 v0.13.7
Michael Prokop [Tue, 14 May 2013 17:09:15 +0000 (19:09 +0200)]
Release new version 0.13.7

6 years agoFurther bugfixes.
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.

6 years agoBugfixes.
meisterluk [Mon, 6 May 2013 19:38:08 +0000 (21:38 +0200)]
Bugfixes.

Several bugfixes concerning the error handling of the previous commits.

6 years agoFix FORMAT definition for logging module.
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.

6 years agoFix typo.
meisterluk [Fri, 3 May 2013 22:22:46 +0000 (00:22 +0200)]
Fix typo.

6 years agoProvide top-level critical error message.
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.

6 years agoWrap main method with try...except Exception construct.
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.

6 years agoImprove error handling.
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.

6 years agoFix spelling.
meisterluk [Fri, 3 May 2013 16:03:45 +0000 (18:03 +0200)]
Fix spelling.

6 years ago"if not" also triggers when value is 0, use "if is None" instead
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

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

6 years agoRelease new version 0.13.6 v0.13.6
Michael Prokop [Tue, 23 Apr 2013 20:32:59 +0000 (22:32 +0200)]
Release new version 0.13.6

6 years agoNormalize temporary working directory to not fail with relative directory path
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.

6 years agogrml2iso: provide more user-friendly error message if grml2usb executable is not...
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

6 years agoMake sure modprobe executable can be accessed
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

6 years agogrml2iso: make sure to exit properly if provided argument to -c option does not exist
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.

6 years agoRelease new version 0.13.5 v0.13.5
Michael Prokop [Mon, 18 Mar 2013 14:12:30 +0000 (15:12 +0100)]
Release new version 0.13.5

6 years agofix detection of strange (xxxNpM) structures when finding the device for a partition...
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]

6 years agoRelease new version 0.13.4 v0.13.4
Michael Prokop [Thu, 10 Jan 2013 13:08:28 +0000 (14:08 +0100)]
Release new version 0.13.4

6 years agoMention /lib/live/mount/medium for new live path + adjust ISO versions
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.

6 years agoDo not use partition for bootflag check but disk itself
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
6 years agoAdd realpath to Depends as it's required by grml2iso
Michael Prokop [Mon, 7 Jan 2013 13:29:21 +0000 (14:29 +0100)]
Add realpath to Depends as it's required by grml2iso

6 years agoRelease new version 0.13.3 v0.13.3
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.

6 years agoBump Standards-Version to 3.9.4
Michael Prokop [Mon, 17 Dec 2012 12:17:44 +0000 (13:17 +0100)]
Bump Standards-Version to 3.9.4

6 years agoVerify that the bootflag is enabled
Michael Prokop [Tue, 13 Nov 2012 13:34:04 +0000 (14:34 +0100)]
Verify that the bootflag is enabled

7 years agogrml2iso: use absolute path for working directory to not fail when user specified...
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

7 years agoRelease new version 0.13.2 v0.13.2
Michael Prokop [Tue, 11 Sep 2012 16:28:43 +0000 (18:28 +0200)]
Release new version 0.13.2

7 years agoExit with better error message if running with toram=... and invoking with /live...
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.

7 years agoFix error message.
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 ~ #

7 years agoFix logging message if operating on a directory
Michael Prokop [Tue, 11 Sep 2012 11:34:38 +0000 (13:34 +0200)]
Fix logging message if operating on a directory

7 years agoRelease new version 0.13.1 v0.13.1
Michael Prokop [Tue, 11 Sep 2012 10:16:46 +0000 (12:16 +0200)]
Release new version 0.13.1

7 years agogrml2iso: make ISOs dd-able through isohybrid
Michael Prokop [Tue, 11 Sep 2012 10:13:41 +0000 (12:13 +0200)]
grml2iso: make ISOs dd-able through isohybrid

7 years agoRelease new version 0.13.0 v0.13.0
Michael Prokop [Mon, 10 Sep 2012 07:14:09 +0000 (09:14 +0200)]
Release new version 0.13.0

7 years agogrml2iso: support -t to set temporary working directory
Michael Prokop [Thu, 26 Jul 2012 14:20:38 +0000 (16:20 +0200)]
grml2iso: support -t to set temporary working directory

7 years agogrml2usb: introduce option --tmpdir
Lukas Prokop [Thu, 26 Jul 2012 14:08:00 +0000 (16:08 +0200)]
grml2usb: introduce option --tmpdir

7 years agogrml2iso: fix typo + improve wording
Michael Prokop [Tue, 24 Jul 2012 12:54:49 +0000 (14:54 +0200)]
grml2iso: fix typo + improve wording

7 years agoRelease new version 0.12.2 v0.12.2
Michael Prokop [Mon, 28 May 2012 15:17:24 +0000 (17:17 +0200)]
Release new version 0.12.2

7 years agocopy_addons: install all *.c32 addons in /boot/addons/
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

7 years agoRelease new version 0.12.1 v0.12.1
Michael Prokop [Sun, 27 May 2012 20:23:27 +0000 (22:23 +0200)]
Release new version 0.12.1

7 years agoSupport multiple flavours inside one ISO
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

7 years agoRelease new version 0.12.0 v0.12.0
Michael Prokop [Wed, 9 May 2012 10:59:02 +0000 (12:59 +0200)]
Release new version 0.12.0

7 years agoAdjust PROG_VERSION code in debian/rules for pep8 cleanup
Michael Prokop [Wed, 9 May 2012 10:58:40 +0000 (12:58 +0200)]
Adjust PROG_VERSION code in debian/rules for pep8 cleanup