Initial version of compat version
authorMichael Prokop <mika@grml.org>
Wed, 21 Oct 2009 20:25:20 +0000 (22:25 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 21 Oct 2009 21:58:10 +0000 (23:58 +0200)
Makefile
debian/changelog
debian/control
debian/rules
grml2iso-compat [moved from grml2iso with 100% similarity]
grml2iso-compat.8.txt [moved from grml2iso.8.txt with 93% similarity]
grml2usb-compat [moved from grml2usb with 99% similarity]
grml2usb-compat.8.txt [moved from grml2usb.8.txt with 99% similarity]
tarball.sh

index 982c7ad..6d77769 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,59 +4,59 @@ doc: doc_man doc_html
 
 doc_html: html-stamp
 
-html-stamp: grml2usb.8.txt grml2iso.8.txt
-       asciidoc -b xhtml11 -a icons -a toc -a numbered grml2usb.8.txt
-       asciidoc -b xhtml11 -a icons -a toc -a numbered grml2iso.8.txt
+html-stamp: grml2usb-compat.8.txt grml2iso-compat.8.txt
+       asciidoc -b xhtml11 -a icons -a toc -a numbered grml2usb-compat.8.txt
+       asciidoc -b xhtml11 -a icons -a toc -a numbered grml2iso-compat.8.txt
        touch html-stamp
 
 doc_man: man-stamp
 
-man-stamp: grml2usb.8.txt grml2iso.8.txt
-       # grml2usb:
-       asciidoc -d manpage -b docbook grml2usb.8.txt
-       sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2usb.8.xml
-       xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb.8.xml
+man-stamp: grml2usb-compat.8.txt grml2iso-compat.8.txt
+       # grml2usb-compat:
+       asciidoc -d manpage -b docbook grml2usb-compat.8.txt
+       sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2usb-compat.8.xml
+       xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2usb-compat.8.xml
        # ugly hack to avoid duplicate empty lines in manpage
        # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
-       cp grml2usb.8 grml2usb.8.tmp
-       uniq grml2usb.8.tmp > grml2usb.8
+       cp grml2usb-compat.8 grml2usb-compat.8.tmp
+       uniq grml2usb-compat.8.tmp > grml2usb-compat.8
        # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
-       sed -i 's/\.sp//' grml2usb.8
-       rm grml2usb.8.tmp
-       # grml2iso:
-       asciidoc -d manpage -b docbook grml2iso.8.txt
-       sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2iso.8.xml
-       xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2iso.8.xml
+       sed -i 's/\.sp//' grml2usb-compat.8
+       rm grml2usb-compat.8.tmp
+       # grml2iso-compat:
+       asciidoc -d manpage -b docbook grml2iso-compat.8.txt
+       sed -i 's/<emphasis role="strong">/<emphasis role="bold">/' grml2iso-compat.8.xml
+       xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml2iso-compat.8.xml
        # ugly hack to avoid duplicate empty lines in manpage
        # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2!
-       cp grml2iso.8 grml2iso.8.tmp
-       uniq grml2iso.8.tmp > grml2iso.8
+       cp grml2iso-compat.8 grml2iso-compat.8.tmp
+       uniq grml2iso-compat.8.tmp > grml2iso-compat.8
        # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
-       sed -i 's/\.sp//' grml2iso.8
-       rm grml2iso.8.tmp
+       sed -i 's/\.sp//' grml2iso-compat.8
+       rm grml2iso-compat.8.tmp
        # we're done
        touch man-stamp
 
 online: all
-       scp grml2usb.8.html grml:/var/www/grml/grml2usb/index.html
-       scp images/icons/*          grml:/var/www/grml/grml2usb/images/icons/
-       scp images/screenshot.png   grml:/var/www/grml/grml2usb/images/
+       scp grml2usb-compat.8.html  grml:/var/www/grml/grml2usb-compat/index.html
+       scp images/icons/*          grml:/var/www/grml/grml2usb-compat/images/icons/
+       scp images/screenshot.png   grml:/var/www/grml/grml2usb-compat/images/
 
 tarball: all
        ./tarball.sh
 
 tarball-online: tarball
-       scp grml2usb.tgz grml2usb.tgz.md5.asc grml:/var/www/grml/grml2usb/
+       scp grml2usb-compat.tgz grml2usb-compat.tgz.md5.asc grml:/var/www/grml/grml2usb/
 
 clean:
-       rm -rf grml2usb.8.html grml2usb.8.xml grml2usb.8
-       rm -rf grml2iso.8.html grml2iso.8.xml grml2iso.8
-       rm -rf html-stamp man-stamp grml2usb.tar.gz grml2usb.tgz grml2usb.tgz.md5.asc
+       rm -rf grml2usb-compat.8.html grml2usb-compat.8.xml grml2usb-compat.8
+       rm -rf grml2iso-compat.8.html grml2iso-compat.8.xml grml2iso-compat.8
+       rm -rf html-stamp man-stamp grml2usb-compat.tar.gz grml2usb-compat.tgz grml2usb-compat.tgz.md5.asc
 
 codecheck:
-       pylint --include-ids=y --max-line-length=120 grml2usb
-       # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb
-       # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb
+       pylint --include-ids=y --max-line-length=120 grml2usb-compat
+       # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb-compat
+       # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb-compat
 
 # graph:
-#      sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1
+#      sudo pycallgraph grml2usb-compat /grml/isos/grml-small_2008.11.iso /dev/sdb1
index ef762a9..a656c8f 100644 (file)
@@ -1,330 +1,6 @@
-grml2usb (0.9.13) UNRELEASED; urgency=low
+grml2usb-compat (0.9.13) unstable; urgency=low
 
-  * Update documentation regarding syslinux and FAT32 (thanks to
-    Stefan Traby <stefan@hello-penguin.com> for the hint).
-
- -- Michael Prokop <mika@grml.org>  Mon, 21 Sep 2009 17:55:00 +0200
-
-grml2usb (0.9.12) unstable; urgency=low
-
-  * Replace 'logging.*("%s" % foo)' with 'logging.*("%s", foo)'
-    so the logging works with python2.6 as well.
-
- -- Michael Prokop <mika@grml.org>  Thu, 10 Sep 2009 16:21:06 +0200
-
-grml2usb (0.9.11) unstable; urgency=low
-
-  * Improve handling the 'No space left on device' situation through
-    using an according rsync handler function.
-
- -- Michael Prokop <mika@grml.org>  Mon, 07 Sep 2009 23:05:30 +0200
-
-grml2usb (0.9.10) unstable; urgency=low
-
-  * Support the directory where the grml2usb script resides as base
-    directory so /usr/share/grml2usb isn't necessarily needed.
-    Thanks for the patch to Alexander 'Leo' Bergolth <leo@strike.wu.ac.at>!
-  * Make sure grub.conf isn't a symlink but a plain file instead,
-    otherwise it will break on FAT16 filesystems. This works around
-    grub-install of (at least) Fedora 10.
-    Thanks for the patch to Alexander 'Leo' Bergolth <leo@strike.wu.ac.at>!
-  * Use 'pci=nomsi' in failsafe bootoption. Thanks to Marc 'HE' Brockschmidt.
-  * Mention the --syslinux option if grub-install fails.
-  * Fix usage of --force in combination with --fat16. Thanks to
-    Johannes Endres and Reiko Kaps for the bugreport.
-  * Replace hint to '--grub' with 'grub'.
-  * New option --grub-mbr which allows installation of grub in MBR instead
-    of installation into a partition (PBR) which is necessary when using grub2.
-
- -- Michael Prokop <mika@grml.org>  Mon, 07 Sep 2009 17:12:54 +0200
-
-grml2usb (0.9.9) unstable; urgency=low
-
-  * Use ascii.pf2 as grub2 font, since grub2 (1.96+20090307-1)
-    the old ascii.pff isn't available anymore.
-  * Use terminal_output if available, otherwise fallback to old
-    older 'terminal'-command (thanks to Felix Zielcke for helping).
-  * Document the 'grub-setup fails after Attempting to install GRUB
-    to a partition instead of the MBR' issue.
-  * Use "set gfxpayload=1024x768x16,1024x768" instead of vga=791 in
-    grub2 configuration. This requires a recent version of the linux
-    loader as the new linux loader loads the kernel at 32bit entry point
-    and not at 16 bit anymore so it has to be translated for the Linux
-    kernel (as the kernel parses vga= in 16 bit code). In the long run
-    we don't seem to have another option, so let's change it.
-    Thanks to Felix Zielcke and Robert Millan for first hand information.
-  * Increase timeout from 5 to 10 seconds in grub2 configuration.
-  * Load memtest86+ binary via 'linux16' in grub2 (otherwise it fails).
-  * Drop the serial boot entry from grub2 (I assume users with usb
-    pens don't need that option).
-  * Change the way MirOS bsd4grml is loaded (use the fallback method
-    as default).
-  * Improve descriptions of grml's grub2 entries.
-  * Bump Standards-Version to 3.8.3 (no further changes).
-  * Fix creation and installation of grub1's configuration file (menu.lst).
-    Thanks to Mario 'BitKoenig' Holbe.
-
- -- Michael Prokop <mika@grml.org>  Tue, 25 Aug 2009 23:53:51 +0200
-
-grml2usb (0.9.8) unstable; urgency=low
-
-  * Support installation on /dev/loop*-devices.
-  * Generate configuration for syslinux and grub by default, no
-    matter which bootloader the users chooses.
-  * Added options --skip-syslinux-config and --skip-grub-config
-    if someone wants to skip the generation of any bootloader
-    configuration files.
-  * Make sure grub-install is available before executing it.
-  * Display information about default grml flavour and the other
-    available grml flavours at the end of the grml2usb run.
-  * Use /sbin/blkid (e2fsprogs) instead of vol_id as vol_id is going to be
-    removed from udev. Thanks for the patch to Andras Korn!
-  * Use rsync instead of cp. Thanks for the patch to Andras Korn!
-    [Closes: issue683]
-  * Use 'forensic' and 'readonly' in the forensic bootoption itself.
-  * Spelling fixes (thanks to Thorsten Glaser <tg@mirbsd.org>).
-  * Write GRUB2 config even if the target is a directory (thanks, Thorsten)
-  * All these "set root=" are not needed for GRUB2 (thanks, Thorsten)
-  * Switch order of check whether the specified device is a directory
-    and check for usb device (as the usb device check will fail if
-    it's a directory).
-  * Add grml2iso for creating a bootable DVD:
-    - thanks once more to Thorsten Glaser for helping and patches
-    - thanks to Ernesto Domato for reporting the issue regarding
-      i386<->amd64 with grub-mkimage
-  * Move syslinux check to install_syslinux_mbr()
-  * Drop the reference to --grub option (thanks for the bugreport
-    to Peter Palfrader)
-  * Update documentation:
-    - mention the dd approach
-    - mention grml2iso
-    - improve section link names for the online version
-    - add 'grub-probe: error: unknown filesystem'
-  * Support use with python version 2.4.
-  * Bump Standard Version to 3.8.2 (no further changes).
-  * Depend on debhelper >=5 (using compat version 5).
-
- -- Michael Prokop <mika@grml.org>  Tue, 21 Jul 2009 18:01:50 +0200
-
-grml2usb (0.9.7) unstable; urgency=low
-
-  * Fix typo in manpage of grml2usb (thanks to Wernfried Haas).
-  * Fix bootoption toram: it should be toram=$FLAVOUR.squashfs instead
-    of toram=$FLAVOUR. Thanks to Wernfried Haas and Frank Prochnow
-    for the bugreport and debugging! [Closes: issue680]
-
- -- Michael Prokop <mika@grml.org>  Tue, 02 Jun 2009 23:32:13 +0200
-
-grml2usb (0.9.6) unstable; urgency=low
-
-  * Support installation of the currently running grml live
-    system ("grml2usb /live/image /dev/sdx1").
-  * Add "persistent" entry to grub/syslinux menu. [Closes: issue669]
-
- -- Michael Prokop <mika@grml.org>  Wed, 20 May 2009 19:32:02 +0200
-
-grml2usb (0.9.5) unstable; urgency=low
-
-  * Fix dashes of options in manpage (thanks for the bugreport,
-    Thorsten Glaser).
-  * Display program version during execution.
-  * Apply fix by Peter Daum <gator@cs.tu-berlin.de>, making sure
-    to use the normalized path for unmounting. Thanks!
-  * Use 'multiboot' for booting MirOS BSD when using grub2.
-  * Catch exception if copying files fails.
-  * Make sure to exit if installing grub fails.
-  * Integrate hdt (Hardware Detection Tool) in bootsplash (but
-    only if using syslinux as grub isn't supported).
-
- -- Michael Prokop <mika@grml.org>  Mon, 04 May 2009 22:31:30 +0200
-
-grml2usb (0.9.4) unstable; urgency=low
-
-  * Bugfix: move kernel commandline from initrd to kernel option in
-    generate_flavour_specific_grub2_config().
-
- -- Michael Prokop <mika@grml.org>  Thu, 09 Apr 2009 00:04:56 +0200
-
-grml2usb (0.9.3) unstable; urgency=low
-
-  * Drop some leftover 'lang=us' references.
-  * Update mbr.S (thanks, Thorsten Glaser).
-  * Rename --mbr-manager into --mbr-menu (people seem to be confused
-    what this option does). Improve the according documentation.
-  * Update failsafe bootoption.
-  * Fix comments section in manpage (thanks for reporting,
-    Alexander Steinböck).
-  * Mention the Debian package in the error message (thanks to
-    Lothar Speil for the bugreport).
-  * Mention grml-repository in the docs.
-  * Support older kernel versions in check for removable usb device.
-    (Thanks to Ralf Gross for the report and relevant information.)
-  * Also add specified bootoptions to default entry in configuration
-    file of grub version 1. (Thanks to Ralf Gross for the bugreport.)
-  * Make sure that options "--quiet" and "--verbose" aren't accepted
-    at the same time in the command line. Thanks for bugreport and
-    code example, Karl Voit!
-  * Bump Standard Version to 3.8.1 (no further changes).
-  * Set debhelper's compat version from 4 to 5.
-
- -- Michael Prokop <mika@grml.org>  Wed, 08 Apr 2009 00:09:46 +0200
-
-grml2usb (0.9.2) unstable; urgency=low
-
-  * Rewrote grml2usb from scratch (in python). New features:
-    - you no longer need to setup the device via /etc/fstab, just
-      directly invoke "grml2usb /path/to/iso /dev/sdb1"
-    - initial multi-iso / multi-boot support
-      [Closes: issue501]  [Closes: issue584]
-    - provide *several* new options like --bootloader-only,
-      --bootoptions=... check out the manpage for all the details
-    - get rid of "polution" of root directory on usb-pen
-      [Closes: issue466]
-    - always write a default MBR (thanks a lot to the work
-      and help of Thorsten Glaser!) [Closes: issue295]
-    - use grub by default (but support for syslinux is present as
-      well of course)
-    - fix regressions for temporary mountpoints / wrong directories
-      [Closes: issue603] [Closes: issue602]
-  * Update debian stuff:
-    - Bump Standard Version to 3.8.0 (no further changes)
-    - Change XS-Vcs-* to Vcs-* headers and replace mercurial with
-      grml's nowadays git repository URLs
-    - drop mtools from depends
-    - slightly improve long description
-    - add asciidoc, xsltproc and docbook-xsl to Build-Depends
-    - either depend on syslinux | grub2 | grub
-
- -- Michael Prokop <mika@grml.org>  Mon, 02 Mar 2009 16:40:55 +0100
-
-grml2usb (0.9.1) unstable; urgency=low
-
-  * Fix problem with comment chars in /etc/fstab.
-    Thanks for debugging and the patch to Robert Euhus!
-  * Some minor cleanups in Debian packaging.
-
- -- Michael Prokop <mika@grml.org>  Sun, 25 May 2008 01:29:30 +0200
-
-grml2usb (0.9.0) unstable; urgency=low
-
-  * Support new directory layout of different grml-flavours
-  * Fix uninstall option (really clean up usb device)
-
- -- Michael Prokop <mika@grml.org>  Sat, 23 Feb 2008 23:43:57 +0100
-
-grml2usb (0.8.0) unstable; urgency=low
-
-  * Fix the "mv: cannot move `/mnt/usb-sdb1/boot/grub' to a subdirectory of
-    itself, `/mnt/usb-sdb1/grub'" issue.
-
- -- Michael Prokop <mika@grml.org>  Sat, 19 Jan 2008 16:57:08 +0100
-
-grml2usb (0.7.8) unstable; urgency=low
-
-  * Adjust grml2usb for a present grub directory.
-
- -- Michael Prokop <mika@grml.org>  Fri, 16 Nov 2007 08:29:20 +0100
-
-grml2usb (0.7.7) unstable; urgency=low
-
-  * Improve error handling for execution of syslinux.
-
- -- Michael Prokop <mika@grml.org>  Thu, 13 Sep 2007 01:38:31 +0200
-
-grml2usb (0.7.6) unstable; urgency=low
-
-  * The "reworked grml2usb for JUXLALA"-release.
-  * Added fs check via vol_id.
-  * Improved error handling.
-  * Fixed some code parts regarding use of $TMPMNT.
-
- -- Michael Prokop <mika@grml.org>  Fri, 08 Jun 2007 18:07:09 +0200
-
-grml2usb (0.7.5) unstable; urgency=low
-
-  * supporting directories and direct blockdevices as source for the iso.
-
- -- Michael Gebetsroither <gebi@grml.org>  Tue, 03 Apr 2007 23:28:19 +0200
-
-grml2usb (0.7.4) unstable; urgency=low
-
-  * Get rid of bashism, thanks for reporting - Paul Weaver!
-  * Change version schema from x.y-z to x.y.z.
-
- -- Michael Prokop <mika@grml.org>  Fri, 16 Mar 2007 14:43:49 +0100
-
-grml2usb (0.7-3) unstable; urgency=low
-
-  * The manpage was just a template, added the missing documentation
-    now. Thanks for reporting, Jens Heidrich!
-
- -- Michael Prokop <mika@grml.org>  Sat,  3 Feb 2007 11:08:30 +0100
-
-grml2usb (0.7-2) unstable; urgency=low
-
-  * Use 'Architecture: all' in debian/control so we can use the
-    package on non-x86 as well.
-  * Bumb Standard Version to 3.7.2 (no further changes).
-
- -- Michael Prokop <mika@grml.org>  Sat, 11 Nov 2006 12:46:35 +0100
-
-grml2usb (0.7-1) unstable; urgency=low
-
-  * Use different exit codes for different code parts, and quote
-    $ISO, thanks - Richard Hartmann!
-  * Remove unused configure lines in debian/rules.
-
- -- Michael Prokop <mika@grml.org>  Mon,  6 Nov 2006 23:48:46 +0100
-
-grml2usb (0.6-1) unstable; urgency=low
-
-  * Allow overwriting of $TMPMNT.
-
- -- Michael Prokop <mika@grml.org>  Wed,  4 Oct 2006 22:50:58 +0200
-
-grml2usb (0.5-1) unstable; urgency=low
-
-  * bailout if mounting of target device failes.
-
- -- Michael Prokop <mika@grml.org>  Mon, 11 Sep 2006 23:47:01 +0200
-
-grml2usb (0.4-1) unstable; urgency=low
-
-  * Check for existence of syslinux before running the script.
-  * Updated copyright file (new fsfs address).
-
- -- Michael Prokop <mika@grml.org>  Sat,  3 Jun 2006 21:02:53 +0200
-
-grml2usb (0.3-1) unstable; urgency=low
-
-  * Added uninstall option.
-  * Improved error handling and its output.
-  * Added colors to improve manual text parsing.
-
- -- Michael Prokop <mika@grml.org>  Fri, 10 Mar 2006 20:19:28 +0100
-
-grml2usb (0.2-1) unstable; urgency=low
-
-  * Improved usage information.
-
- -- Michael Prokop <mika@grml.org>  Tue, 10 Jan 2006 09:35:20 +0100
-
-grml2usb (0.1-3) unstable; urgency=low
-
-  * Changed 'cp -a' to 'cp -dR --preserve=mode,timestamps' so we don't
-    get the ownership-permission-warnings.
-
- -- Michael Prokop <mika@grml.org>  Fri,  2 Sep 2005 18:02:22 +0200
-
-grml2usb (0.1-2) unstable; urgency=low
-
-  * Fixed small typo (SYSDEV/TMPDEV) [thanks for hint, tklauser!].
-
- -- Michael Prokop <mika@grml.org>  Wed, 17 Aug 2005 21:50:32 +0200
-
-grml2usb (0.1-1) unstable; urgency=low
-
-  * Initial release.
-
- -- Michael Prokop <mika@grml.org>  Sun, 14 Aug 2005 15:31:04 +0200
+  * Initial release (based on grml2usb 0.9.13, git commit
+    d6075913d11383b10d64eff50b1bd77a735a6726).
 
+ -- Michael Prokop <mika@grml.org>  Wed, 21 Oct 2009 22:22:37 +0200
index 7dc98aa..1ea75ce 100644 (file)
@@ -1,4 +1,4 @@
-Source: grml2usb
+Source: grml2usb-compat
 Section: grml
 Priority: optional
 Maintainer: Michael Prokop <mika@grml.org>
@@ -9,10 +9,18 @@ Homepage: http://grml.org/grml2usb/
 Vcs-git: git://git.grml.org/grml2usb.git
 Vcs-Browser: http://git.grml.org/?p=grml2usb.git
 
-Package: grml2usb
+Package: grml2usb-compat
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, syslinux | grub2 | grub, python
-Description: install grml system / ISO to usb device
+Description: install grml system / ISO to usb device - compat version
  This script installs a grml ISO to an USB device to be able
  to boot from it.  Make sure you have at least one grml ISO
  or a running grml system (/live/image) available.
+ .
+ This package provides support for installation of older grml ISOs.
+ Whereas the grml2usb package (without -compat) supports ISOs
+ which are build using grml-live >=0.9.24 (grml releases >= 2009.10)
+ this package is meant to be a compability package so
+ installation of older ISOs is possible as well. This grml2usb
+ version is expected to be work with current grml ISOs as well,
+ though it lacks support for the new vesamenu based bootsplashes.
index f905062..1be33dd 100755 (executable)
@@ -33,15 +33,15 @@ install: build
        dh_testdir
        dh_testroot
        dh_clean -k
-       dh_installdirs usr/share/grml2usb/lilo usr/share/grml2usb/grub usr/share/grml2usb/mbr
+       dh_installdirs usr/share/grml2usb-compat/lilo usr/share/grml2usb-compat/grub usr/share/grml2usb-compat/mbr
 
-       # Add here commands to install the package into debian/grml2usb.
-       install -m 755 grml2usb               debian/grml2usb/usr/sbin/grml2usb
-       install -m 755 grml2iso               debian/grml2usb/usr/sbin/grml2iso
-       install -m 644 mbr/mbrmgr             debian/grml2usb/usr/share/grml2usb/mbr/mbrmgr
-       install -m 644 mbr/mbrldr             debian/grml2usb/usr/share/grml2usb/mbr/mbrldr
-       cp -a          lilo/                  debian/grml2usb/usr/share/grml2usb/
-       cp -a          grub/                  debian/grml2usb/usr/share/grml2usb/
+       # Add here commands to install the package into debian/grml2usb-compat.
+       install -m 755 grml2usb-compat debian/grml2usb-compat/usr/sbin/grml2usb-compat
+       install -m 755 grml2iso-compat debian/grml2usb-compat/usr/sbin/grml2iso-compat
+       install -m 644 mbr/mbrmgr      debian/grml2usb-compat/usr/share/grml2usb-compat/mbr/mbrmgr
+       install -m 644 mbr/mbrldr      debian/grml2usb-compat/usr/share/grml2usb-compat/mbr/mbrldr
+       cp -a          lilo/           debian/grml2usb-compat/usr/share/grml2usb-compat/
+       cp -a          grub/           debian/grml2usb-compat/usr/share/grml2usb-compat/
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -53,12 +53,12 @@ binary-indep: build install
        dh_testroot
        dh_installchangelogs
        dh_installdocs TODO
-       dh_installman grml2usb.8 grml2iso.8
+       dh_installman grml2usb-compat.8 grml2iso-compat.8
        dh_link
        dh_strip
        dh_compress
-       mkdir -p debian/grml2usb/usr/share/lintian/overrides/
-       cp -av debian/overrides debian/grml2usb/usr/share/lintian/overrides/grml2usb
+       mkdir -p debian/grml2usb-compat/usr/share/lintian/overrides/
+       cp -av debian/overrides debian/grml2usb-compat/usr/share/lintian/overrides/grml2usb-compat
        dh_fixperms
        dh_installdeb
        dh_shlibdeps
similarity index 100%
rename from grml2iso
rename to grml2iso-compat
similarity index 93%
rename from grml2iso.8.txt
rename to grml2iso-compat.8.txt
index eed39bb..61e7e9d 100644 (file)
@@ -1,13 +1,13 @@
-grml2iso(8)
-==========
+grml2iso-compat(8)
+==================
 
 Name
 ----
-grml2iso - create a multiboot grml ISO using grml2usb
+grml2iso-compat - create a multiboot grml ISO using grml2usb (compat version)
 
 Synopsis
 --------
-grml2iso -o <target.iso> <ISO[s]>
+grml2iso-compat -o <target.iso> <ISO[s]>
 
 *******************************************************************************
 Important! The grml team does not take responsibility for loss of any data!
similarity index 99%
rename from grml2usb
rename to grml2usb-compat
index 974c4f6..99da03f 100755 (executable)
--- a/grml2usb
@@ -18,7 +18,7 @@ from inspect import isroutine, isclass
 import datetime, logging, os, re, subprocess, sys, tempfile, time, os.path
 
 # global variables
-PROG_VERSION = "0.9.13-pre1"
+PROG_VERSION = "0.9.13-compat"
 MOUNTED = set()  # register mountpoints
 TMPFILES = set() # register tmpfiles
 DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg
similarity index 99%
rename from grml2usb.8.txt
rename to grml2usb-compat.8.txt
index 32436fc..029f990 100644 (file)
@@ -1,13 +1,13 @@
-grml2usb(8)
-==========
+grml2usb-compat(8)
+==================
 
 Name
 ----
-grml2usb - install grml ISO(s) on usb device for booting
+grml2usb-compat - install grml ISO(s) on usb device for booting (compat version)
 
 Synopsis
 --------
-grml2usb [ options ] <ISO[s]> <device>
+grml2usb-compat [ options ] <ISO[s]> <device>
 
 *******************************************************************************
 Important! The grml team does not take responsibility for loss of any data!
index 05c6f49..41f7d86 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Filename:      tarball.sh
-# Purpose:       generate tarball for using grml2usb on non-Debian systems
+# Purpose:       generate tarball for using grml2usb-compat on non-Debian systems
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
@@ -8,32 +8,32 @@
 
 set -e
 
-VERSION="$(awk '/^PROG_VERSION/ { print $3}' grml2usb | tr -d \")"
+VERSION="$(awk '/^PROG_VERSION/ { print $3}' grml2usb-compat | tr -d \" | sed 's/-.*//')"
 
-DIR="grml2usb-${VERSION}"
+DIR="grml2usb-compat-${VERSION}"
 [ -d "$DIR" ] || mkdir "$DIR"
 
 cat > "${DIR}"/README << EOF
 README
 ------
 
-grml2usb installs grml ISO(s) on usb device for booting.
+grml2usb-compat installs grml ISO(s) on usb device for booting.
 
-This tarball provides all the necessary files for running grml2usb.
+This tarball provides all the necessary files for running grml2usb-compat.
 Execute the script install.sh with root permissions to install the
 files provided by the tarball in the filesystem.
 
 Updating is possible via downloading the most recent tarball and
 executing install.sh again.
 
-If you want to remove grml2usb from your system just execute
+If you want to remove grml2usb-compat from your system just execute
 the provided uninstall.sh script with root permissions.
 
 Note:
 
 If you are using Debian (or a Debian based system like grml, Ubuntu,...)
-consider using the provided grml2usb Debian package:
-http://deb.grml.org/ => http://deb.grml.org/pool/main/g/grml2usb/
+consider using the provided grml2usb-compat Debian package:
+http://deb.grml.org/ => http://deb.grml.org/pool/main/g/grml2usb-compat/
 
 Please report bugs and feedback to Michael Prokop <mika@grml.org>.
 EOF
@@ -52,33 +52,33 @@ BASE="\$(dirname \$0)"
 
 printf "Installing files:\n"
 
-printf "  - /usr/sbin/grml2usb\n"
-install -m 755 \${BASE}/grml2usb /usr/sbin/grml2usb
+printf "  - /usr/sbin/grml2usb-compat\n"
+install -m 755 \${BASE}/grml2usb-compat /usr/sbin/grml2usb-compat
 
-printf "  - /usr/sbin/grml2iso\n"
-install -m 755 \${BASE}/grml2iso /usr/sbin/grml2iso
+printf "  - /usr/sbin/grml2iso-compat\n"
+install -m 755 \${BASE}/grml2iso-compat /usr/sbin/grml2iso-compat
 
-[ -d /usr/share/grml2usb/grub ] || mkdir -p /usr/share/grml2usb/grub
-printf "  - /usr/share/grml2usb/grub/splash.xpm.gz\n"
-install -m 644 \${BASE}/splash.xpm.gz /usr/share/grml2usb/grub/splash.xpm.gz
-printf "  - /usr/share/grml2usb/grub/grml.png\n"
-install -m 644 \${BASE}/grml.png      /usr/share/grml2usb/grub/grml.png
+[ -d /usr/share/grml2usb-compat/grub ] || mkdir -p /usr/share/grml2usb-compat/grub
+printf "  - /usr/share/grml2usb-compat/grub/splash.xpm.gz\n"
+install -m 644 \${BASE}/splash.xpm.gz /usr/share/grml2usb-compat/grub/splash.xpm.gz
+printf "  - /usr/share/grml2usb-compat/grub/grml.png\n"
+install -m 644 \${BASE}/grml.png      /usr/share/grml2usb-compat/grub/grml.png
 
-[ -d /usr/share/grml2usb/lilo ] || mkdir -p /usr/share/grml2usb/lilo
-printf "  - /usr/share/grml2usb/lilo/lilo.static.amd64\n"
-install -m 755 \${BASE}/lilo.static.amd64 /usr/share/grml2usb/lilo/lilo.static.amd64
-printf "  - /usr/share/grml2usb/lilo/lilo.static.i386\n"
-install -m 755 \${BASE}/lilo.static.i386  /usr/share/grml2usb/lilo/lilo.static.i386
+[ -d /usr/share/grml2usb-compat/lilo ] || mkdir -p /usr/share/grml2usb-compat/lilo
+printf "  - /usr/share/grml2usb-compat/lilo/lilo.static.amd64\n"
+install -m 755 \${BASE}/lilo.static.amd64 /usr/share/grml2usb-compat/lilo/lilo.static.amd64
+printf "  - /usr/share/grml2usb-compat/lilo/lilo.static.i386\n"
+install -m 755 \${BASE}/lilo.static.i386  /usr/share/grml2usb-compat/lilo/lilo.static.i386
 
-[ -d /usr/share/grml2usb/mbr ] || mkdir -p /usr/share/grml2usb/mbr
-printf "  - /usr/share/grml2usb/mbr/mbrmgr\n"
-install -m 644 \${BASE}/mbrmgr /usr/share/grml2usb/mbr/mbrmgr
-printf "  - /usr/share/grml2usb/mbr/mbrldr\n"
-install -m 644 \${BASE}/mbrldr /usr/share/grml2usb/mbr/mbrldr
+[ -d /usr/share/grml2usb-compat/mbr ] || mkdir -p /usr/share/grml2usb-compat/mbr
+printf "  - /usr/share/grml2usb-compat/mbr/mbrmgr\n"
+install -m 644 \${BASE}/mbrmgr /usr/share/grml2usb-compat/mbr/mbrmgr
+printf "  - /usr/share/grml2usb-compat/mbr/mbrldr\n"
+install -m 644 \${BASE}/mbrldr /usr/share/grml2usb-compat/mbr/mbrldr
 
 [ -d /usr/share/man/man8/ ] || mkdir -p /usr/share/man/man8
-printf "  - /usr/share/man/man8/grml2usb.8.gz\n"
-install -m 644 \${BASE}/grml2usb.8.gz /usr/share/man/man8/grml2usb.8.gz
+printf "  - /usr/share/man/man8/grml2usb-compat.8.gz\n"
+install -m 644 \${BASE}/grml2usb-compat.8.gz /usr/share/man/man8/grml2usb-compat.8.gz
 
 printf "Finished installation.\n"
 EOF
@@ -96,15 +96,15 @@ if [ "\$UID" != 0 ] ; then
 fi
 
 for file in \\
-  /usr/sbin/grml2usb \\
-  /usr/sbin/grml2iso \\
-  /usr/share/grml2usb/grub/splash.xpm.gz \\
-  /usr/share/grml2usb/grub/grml.png \\
-  /usr/share/grml2usb/lilo/lilo.static.amd64 \\
-  /usr/share/grml2usb/lilo/lilo.static.i386 \\
-  /usr/share/grml2usb/mbr/mbrmgr \\
-  /usr/share/grml2usb/mbr/mbrldr \\
-  /usr/share/man/man8/grml2usb.8.gz \\
+  /usr/sbin/grml2usb-compat \\
+  /usr/sbin/grml2iso-compat \\
+  /usr/share/grml2usb-compat/grub/splash.xpm.gz \\
+  /usr/share/grml2usb-compat/grub/grml.png \\
+  /usr/share/grml2usb-compat/lilo/lilo.static.amd64 \\
+  /usr/share/grml2usb-compat/lilo/lilo.static.i386 \\
+  /usr/share/grml2usb-compat/mbr/mbrmgr \\
+  /usr/share/grml2usb-compat/mbr/mbrldr \\
+  /usr/share/man/man8/grml2usb-compat.8.gz \\
 ; do
   printf "Removing \$file: "
   rm -f \$file && printf "done\n" || printf "failed\n"
@@ -116,22 +116,22 @@ chmod 755 "${DIR}"/uninstall.sh
 fakeroot debian/rules build
 
 # manpage
-cp grml2usb.8.txt grml2usb-$VERSION/
-cp grml2iso.8.txt grml2usb-$VERSION/
-gzip -9 --to-stdout grml2usb-$VERSION/grml2usb.8.txt > grml2usb-$VERSION/grml2usb.8.gz
-gzip -9 --to-stdout grml2usb-$VERSION/grml2iso.8.txt > grml2usb-$VERSION/grml2iso.8.gz
-rm grml2usb-$VERSION/grml2usb.8.txt
-rm grml2usb-$VERSION/grml2iso.8.txt
+cp grml2usb-compat.8.txt grml2usb-compat-$VERSION/
+cp grml2iso-compat.8.txt grml2usb-compat-$VERSION/
+gzip -9 --to-stdout grml2usb-compat-$VERSION/grml2usb-compat.8.txt > grml2usb-compat-$VERSION/grml2usb-compat.8.gz
+gzip -9 --to-stdout grml2usb-compat-$VERSION/grml2iso-compat.8.txt > grml2usb-compat-$VERSION/grml2iso-compat.8.gz
+rm grml2usb-compat-$VERSION/grml2usb-compat.8.txt
+rm grml2usb-compat-$VERSION/grml2iso-compat.8.txt
 
 # binaries, grub, lilo
-cp grml2usb grml2iso mbr/mbrldr mbr/mbrmgr grub/* lilo/lilo.static.* grml2usb-$VERSION/
+cp grml2usb-compat grml2iso-compat mbr/mbrldr mbr/mbrmgr grub/* lilo/lilo.static.* grml2usb-compat-$VERSION/
 
-tar zcf grml2usb.tgz "${DIR}"
+tar zcf grml2usb-compat.tgz "${DIR}"
 
 rm -rf "${DIR}"
-md5sum grml2usb.tgz > grml2usb.tgz.md5
-gpg --clearsign grml2usb.tgz.md5
-rm grml2usb.tgz.md5
-echo "Generated grml2usb.tgz and grml2usb.tgz.md5.asc of grml2usb $VERSION"
+md5sum grml2usb-compat.tgz > grml2usb-compat.tgz.md5
+gpg --clearsign grml2usb-compat.tgz.md5
+rm grml2usb-compat.tgz.md5
+echo "Generated grml2usb-compat.tgz and grml2usb-compat.tgz.md5.asc of grml2usb-compat $VERSION"
 
 ## END OF FILE #################################################################