grml2usb.git
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

7 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

7 years agopep8 cleanups
Michael Prokop [Fri, 27 Apr 2012 00:42:44 +0000 (02:42 +0200)]
pep8 cleanups

7 years agoDrop oudated tarball-online make target and support prepare-release instead
Michael Prokop [Thu, 26 Apr 2012 15:56:10 +0000 (17:56 +0200)]
Drop oudated tarball-online make target and support prepare-release instead

7 years agofix manpage markup
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

7 years agoBump Standards-Version to 3.9.3
Michael Prokop [Wed, 25 Apr 2012 14:49:36 +0000 (16:49 +0200)]
Bump Standards-Version to 3.9.3

7 years agoRebuild loopback.cfg with present configuration files
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.

7 years agogrml2iso: use shell for calculation instead of using bc
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.

7 years agoRelease new version 0.11.6 v0.11.6
Michael Prokop [Fri, 27 Jan 2012 11:34:18 +0000 (12:34 +0100)]
Release new version 0.11.6

7 years agoSupport template parameters in overlay directory. For now only mru/grml2iso-templates
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.

7 years agoCanonicalize overlay directory
Ulrich Dangel [Fri, 27 Jan 2012 02:52:56 +0000 (03:52 +0100)]
Canonicalize overlay directory

7 years agoRelease new version 0.11.5 v0.11.5
Michael Prokop [Wed, 11 Jan 2012 15:12:40 +0000 (16:12 +0100)]
Release new version 0.11.5

7 years agoOnly modify live-media-path for current flavour
Ulrich Dangel [Wed, 11 Jan 2012 12:04:03 +0000 (13:04 +0100)]
Only modify live-media-path for current flavour

7 years agoStreamline grml_flavour modification
Ulrich Dangel [Tue, 10 Jan 2012 17:34:17 +0000 (18:34 +0100)]
Streamline grml_flavour modification

7 years agoModify grub config files for the specified flavour instead of all grub config files
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

7 years agoSupport multiple flavours on a cd
Ulrich Dangel [Sat, 31 Dec 2011 11:53:46 +0000 (12:53 +0100)]
Support multiple flavours on a cd

7 years agoRelease new version 0.11.4 v0.11.4
Michael Prokop [Mon, 9 Jan 2012 15:38:04 +0000 (16:38 +0100)]
Release new version 0.11.4

7 years agoMake sure we don't fail in device check when using /dev/disk-by-label/*
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

7 years agoCopy complete Grml flavour directory instead of explicit specifing files
Ulrich Dangel [Tue, 27 Dec 2011 00:38:37 +0000 (01:38 +0100)]
Copy complete Grml flavour directory instead of explicit specifing files

7 years agoRelease new version 0.11.3 v0.11.3
Michael Prokop [Thu, 22 Dec 2011 22:55:43 +0000 (23:55 +0100)]
Release new version 0.11.3

7 years agoLoad loop kernel module [Closes: issue1097]
Christian Hofstaedtler [Thu, 22 Dec 2011 00:41:50 +0000 (01:41 +0100)]
Load loop kernel module [Closes: issue1097]

7 years agoWarn that older versions can't do multi-flavour grub
Christian Hofstaedtler [Wed, 21 Dec 2011 15:25:56 +0000 (16:25 +0100)]
Warn that older versions can't do multi-flavour grub

7 years agoUse grub config from ISO instead of writing a new one
Christian Hofstaedtler [Wed, 21 Dec 2011 03:08:12 +0000 (04:08 +0100)]
Use grub config from ISO instead of writing a new one

7 years agoMimic /boot/%SHORT_NAME% like on the ISO
Christian Hofstaedtler [Wed, 21 Dec 2011 03:25:12 +0000 (04:25 +0100)]
Mimic /boot/%SHORT_NAME% like on the ISO

7 years agoFix typo
Christian Hofstaedtler [Wed, 21 Dec 2011 13:41:17 +0000 (14:41 +0100)]
Fix typo

7 years agoFix add/remove bootoptions with new kernel/initrd names
Christian Hofstaedtler [Wed, 21 Dec 2011 02:41:56 +0000 (03:41 +0100)]
Fix add/remove bootoptions with new kernel/initrd names

7 years agoAdd support for new kernel/initrd filenames
Christian Hofstaedtler [Mon, 19 Dec 2011 16:56:55 +0000 (17:56 +0100)]
Add support for new kernel/initrd filenames

7 years agoCleanup grub.cfg install logic
Christian Hofstaedtler [Mon, 19 Dec 2011 15:37:03 +0000 (16:37 +0100)]
Cleanup grub.cfg install logic

7 years agoRemove hardcoded version from grml2usb
Christian Hofstaedtler [Mon, 19 Dec 2011 14:03:01 +0000 (15:03 +0100)]
Remove hardcoded version from grml2usb

7 years agoUse grub splash image from ISO
Christian Hofstaedtler [Mon, 19 Dec 2011 13:46:39 +0000 (14:46 +0100)]
Use grub splash image from ISO

7 years agoRelease new version 0.11.2 v0.11.2
Michael Prokop [Thu, 15 Dec 2011 13:36:28 +0000 (14:36 +0100)]
Release new version 0.11.2

7 years agoadd UEFI boot support to grml2iso
Michael Prokop [Thu, 15 Dec 2011 13:17:36 +0000 (14:17 +0100)]
add UEFI boot support to grml2iso

7 years agoRemove failsafe boot menu entry
Christian Hofstaedtler [Mon, 12 Dec 2011 19:35:06 +0000 (20:35 +0100)]
Remove failsafe boot menu entry

7 years agoRemove 'quiet' from standard boot options
Christian Hofstaedtler [Mon, 12 Dec 2011 19:34:44 +0000 (20:34 +0100)]
Remove 'quiet' from standard boot options

7 years agoRelease new version 0.11.1 v0.11.1
Michael Prokop [Sun, 11 Dec 2011 20:28:31 +0000 (21:28 +0100)]
Release new version 0.11.1

7 years agosync grub.cfg menu entries with grml-live templates
Christian Hofstaedtler [Sun, 11 Dec 2011 02:46:58 +0000 (03:46 +0100)]
sync grub.cfg menu entries with grml-live templates

7 years agoAdd nokms option to grub menu
Christian Hofstaedtler [Sun, 11 Dec 2011 02:41:19 +0000 (03:41 +0100)]
Add nokms option to grub menu

7 years agoRelease new version 0.11.0 v0.11.0
Michael Prokop [Thu, 8 Dec 2011 14:00:22 +0000 (15:00 +0100)]
Release new version 0.11.0

7 years agoinstall boot files required for [U]EFI boot
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>

7 years agoRelease new version 0.10.2 v0.10.2
Michael Prokop [Sat, 26 Nov 2011 19:30:47 +0000 (20:30 +0100)]
Release new version 0.10.2

7 years agoDisable validation of autogenerated docbook xml
Christian Hofstaedtler [Thu, 13 Oct 2011 17:13:03 +0000 (19:13 +0200)]
Disable validation of autogenerated docbook xml

7 years agoRemove mention of grml2hd
Christian Hofstaedtler [Thu, 17 Nov 2011 09:06:32 +0000 (10:06 +0100)]
Remove mention of grml2hd

8 years agoRelease new version 0.10.1. v0.10.1
Christian Hofstaedtler [Tue, 4 Oct 2011 07:55:59 +0000 (09:55 +0200)]
Release new version 0.10.1.

8 years agoReword/reformat some text in debian/copyright
Christian Hofstaedtler [Fri, 30 Sep 2011 14:27:46 +0000 (16:27 +0200)]
Reword/reformat some text in debian/copyright

8 years agoFix FTBFS on i386: must build arch package in binary-arch
Christian Hofstaedtler [Tue, 4 Oct 2011 07:45:47 +0000 (09:45 +0200)]
Fix FTBFS on i386: must build arch package in binary-arch

8 years agoRelease new version 0.10.0 v0.10.0
Christian Hofstaedtler [Mon, 3 Oct 2011 21:31:14 +0000 (23:31 +0200)]
Release new version 0.10.0

8 years agoReady debian/control for Debian
Christian Hofstaedtler [Mon, 3 Oct 2011 21:26:55 +0000 (23:26 +0200)]
Ready debian/control for Debian

8 years agoRelease new version 0.9.35 v0.9.35
Christian Hofstaedtler [Mon, 3 Oct 2011 21:14:36 +0000 (23:14 +0200)]
Release new version 0.9.35

8 years agoUpdate Maintainer/Uploaders to Team
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.

8 years agoSwitch section to admin, from grml
Christian Hofstaedtler [Mon, 3 Oct 2011 21:02:44 +0000 (23:02 +0200)]
Switch section to admin, from grml

8 years agoUse dh_prep, bump debhelper compat level to 7
Christian Hofstaedtler [Mon, 3 Oct 2011 21:01:28 +0000 (23:01 +0200)]
Use dh_prep, bump debhelper compat level to 7

8 years agoReformat older NEWS entry, remove the oldest one
Christian Hofstaedtler [Mon, 3 Oct 2011 21:00:01 +0000 (23:00 +0200)]
Reformat older NEWS entry, remove the oldest one

8 years agoAdd NEWS entry for this release
Christian Hofstaedtler [Mon, 3 Oct 2011 20:58:36 +0000 (22:58 +0200)]
Add NEWS entry for this release

8 years agoRemove grml2usb-compat
Christian Hofstaedtler [Mon, 3 Oct 2011 20:57:46 +0000 (22:57 +0200)]
Remove grml2usb-compat

8 years agoRemove static lilo binaries and lilo support
Christian Hofstaedtler [Mon, 3 Oct 2011 20:46:09 +0000 (22:46 +0200)]
Remove static lilo binaries and lilo support

8 years agoNo longer mention mkisofs in debian/control
Christian Hofstaedtler [Tue, 20 Sep 2011 20:57:50 +0000 (22:57 +0200)]
No longer mention mkisofs in debian/control

8 years agoFix debian-rules-missing-recommended-target lintian warning
Christian Hofstaedtler [Tue, 20 Sep 2011 19:55:52 +0000 (21:55 +0200)]
Fix debian-rules-missing-recommended-target lintian warning

8 years agoSet debian/source/format to 3.0 (native)
Christian Hofstaedtler [Tue, 20 Sep 2011 19:50:13 +0000 (21:50 +0200)]
Set debian/source/format to 3.0 (native)

8 years agogrml2iso: fix check for grml2usb
Christian Hofstaedtler [Tue, 20 Sep 2011 19:44:53 +0000 (21:44 +0200)]
grml2iso: fix check for grml2usb

8 years agoMerge branch 'mika/0.9.34'
Michael Prokop [Thu, 18 Aug 2011 16:58:11 +0000 (18:58 +0200)]
Merge branch 'mika/0.9.34'

8 years agoAdd debian/control headers Origin, Bugs
Christian Hofstaedtler [Wed, 27 Jul 2011 19:30:30 +0000 (21:30 +0200)]
Add debian/control headers Origin, Bugs

8 years agoAdd debian/control headers Origin, Bugs
Christian Hofstaedtler [Wed, 27 Jul 2011 19:30:30 +0000 (21:30 +0200)]
Add debian/control headers Origin, Bugs

8 years agoSupport USB keys with superfloppy format
Christian Hofstaedtler [Sat, 23 Jul 2011 20:05:32 +0000 (22:05 +0200)]
Support USB keys with superfloppy format

8 years agoDrop grub1 support
Christian Hofstaedtler [Sat, 23 Jul 2011 20:04:29 +0000 (22:04 +0200)]
Drop grub1 support

8 years agoLoop-mount ISO with read-only option
Christian Hofstaedtler [Sat, 23 Jul 2011 19:16:57 +0000 (21:16 +0200)]
Loop-mount ISO with read-only option

Quiets a mount warning.

8 years agoReleasing new version 0.9.34. v0.9.34
Michael Prokop [Fri, 22 Jul 2011 07:41:34 +0000 (09:41 +0200)]
Releasing new version 0.9.34.

8 years agoFix warning message for missing files.
Michael Prokop [Sun, 10 Jul 2011 23:45:18 +0000 (01:45 +0200)]
Fix warning message for missing files.

8 years agoRelease new version 0.9.33. v0.9.33
Christian Hofstaedtler [Sun, 15 May 2011 22:50:01 +0000 (00:50 +0200)]
Release new version 0.9.33.

8 years agoDon't nag users about gpxe.lkrn
Christian Hofstaedtler [Sun, 15 May 2011 22:33:32 +0000 (00:33 +0200)]
Don't nag users about gpxe.lkrn

8 years agoRelease new version 0.9.32. v0.9.32
Christian Hofstaedtler [Tue, 10 May 2011 20:45:54 +0000 (22:45 +0200)]
Release new version 0.9.32.

8 years agoUpdate debian/overrides for newer lintian versions
Christian Hofstaedtler [Tue, 10 May 2011 20:45:02 +0000 (22:45 +0200)]
Update debian/overrides for newer lintian versions

8 years agoBump Standards-Version to 3.9.2
Christian Hofstaedtler [Tue, 10 May 2011 20:44:53 +0000 (22:44 +0200)]
Bump Standards-Version to 3.9.2

8 years agoAdd pyflakes to codecheck.
Michael Prokop [Thu, 5 May 2011 23:50:41 +0000 (01:50 +0200)]
Add pyflakes to codecheck.