Use quilt instead of dpatch
authorUlrich Dangel <mru@grml.org>
Mon, 13 Jun 2011 00:47:00 +0000 (02:47 +0200)
committerUlrich Dangel <mru@grml.org>
Mon, 13 Jun 2011 00:47:00 +0000 (02:47 +0200)
20 files changed:
debian/control
debian/patches/00list [deleted file]
debian/patches/03_grml_version_file_hook.patch [moved from debian/patches/03_grml_version_file_hook.dpatch with 76% similarity, mode: 0644]
debian/patches/05_boot_failure_message_grml.patch [moved from debian/patches/05_boot_failure_message_grml.dpatch with 100% similarity]
debian/patches/07_support_findiso.patch [moved from debian/patches/07_support_findiso.dpatch with 100% similarity]
debian/patches/08_grml_defaults.patch [moved from debian/patches/08_grml_defaults.dpatch with 100% similarity]
debian/patches/10_validateroot.patch [moved from debian/patches/10_validateroot.dpatch with 100% similarity]
debian/patches/11_dhcphostname.patch [moved from debian/patches/11_dhcphostname.dpatch with 100% similarity]
debian/patches/12_uuid_support.patch [moved from debian/patches/12_uuid_support.dpatch with 100% similarity]
debian/patches/13_always_display_warnings_and_failures.patch [moved from debian/patches/13_always_display_warnings_and_failures.dpatch with 100% similarity]
debian/patches/14_no_blkid_on_lenny.patch [moved from debian/patches/14_no_blkid_on_lenny.dpatch with 100% similarity]
debian/patches/15_networking_grml.patch [moved from debian/patches/15_networking_grml.dpatch with 100% similarity]
debian/patches/16_nodhcp.patch [moved from debian/patches/16_nodhcp.dpatch with 100% similarity]
debian/patches/19_revert_toram_bootoption_to_expected_behaviour.patch [moved from debian/patches/19_revert_toram_bootoption_to_expected_behaviour.dpatch with 100% similarity]
debian/patches/25_support_lvm_for_live-media.patch [moved from debian/patches/25_support_lvm_for_live-media.dpatch with 100% similarity]
debian/patches/26_support_dns_bootoption.patch [moved from debian/patches/26_support_dns_bootoption.dpatch with 100% similarity]
debian/patches/27_support_static_ip.patch [moved from debian/patches/27_support_static_ip.dpatch with 100% similarity]
debian/patches/disabled/09_fix_resolvconf_pxeboot.dpatch [deleted file]
debian/patches/series [new file with mode: 0644]
debian/rules

index 996533e..c1ed2da 100644 (file)
@@ -2,7 +2,7 @@ Source: live-boot
 Section: misc
 Priority: optional
 Maintainer: Grml Team <team@grml.org>
-Build-Depends: debhelper (>= 8), dpatch
+Build-Depends: debhelper (>= 8), quilt
 Standards-Version: 3.9.2
 Homepage: http://live.debian.net/devel/live-boot/
 Vcs-Browser: http://git.grml.org/?p=live-boot-grml.git
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644 (file)
index fa8205e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-03_grml_version_file_hook.dpatch
-05_boot_failure_message_grml.dpatch
-07_support_findiso.dpatch
-08_grml_defaults.dpatch
-10_validateroot.dpatch
-11_dhcphostname.dpatch
-12_uuid_support.dpatch
-13_always_display_warnings_and_failures.dpatch
-14_no_blkid_on_lenny.dpatch
-15_networking_grml.dpatch
-16_nodhcp.dpatch
-19_revert_toram_bootoption_to_expected_behaviour.dpatch
-25_support_lvm_for_live-media.dpatch
-26_support_dns_bootoption.dpatch
-27_support_static_ip.dpatch
old mode 100755 (executable)
new mode 100644 (file)
similarity index 76%
rename from debian/patches/03_grml_version_file_hook.dpatch
rename to debian/patches/03_grml_version_file_hook.patch
index 5909885..df27676
@@ -6,12 +6,10 @@
 
 @DPATCH@
 
-diff --git a/hooks/live b/hooks/live
-index b5d43f2..ef95275 100755
 --- a/hooks/live
 +++ b/hooks/live
-@@ -38,6 +38,12 @@ then
-        done
+@@ -40,6 +40,12 @@
+       done
  fi
  
 +# Grml version information:
@@ -22,4 +20,4 @@ index b5d43f2..ef95275 100755
 +
  # Handling live-boot
  
- # Configuration
+ [ "${QUIET}" ] || echo -n " "core
diff --git a/debian/patches/disabled/09_fix_resolvconf_pxeboot.dpatch b/debian/patches/disabled/09_fix_resolvconf_pxeboot.dpatch
deleted file mode 100755 (executable)
index 89bda0d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 09_fix_resolvconf_pxeboot.dpatch by Michael Prokop <mika@grml.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: fix resolvconf handling when booting via PXE
-##
-## When installing grml for PXE boot the system has network after
-## boot but no usable DNS. /etc/resolv.conf is empty except the
-## warning to not edit this file manually but to use the resolvconf
-## tool.
-##
-## The problem is, that the 23networking scripte in the initrd
-## correctly creates the resolv.conf, but it's being overwritten by
-## the resolvconf utility on boot.
-##
-## The fix for now is to remove the symlink so resolvconf breaks
-## early and DNS is working then.
-
-@DPATCH@
-diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking
-index 72aaf12..244eeca 100755
---- a/grml/23networking
-+++ b/grml/23networking
-@@ -110,6 +110,11 @@ EOF
-       then
-               if [ -f /netboot.config ]
-               then
-+                      if [ -h /root/etc/resolv.conf ]
-+                      then
-+                              rm /root/etc/resolv.conf
-+                      fi
-+
-                       # create a resolv.conf if it is not present or empty
-                       cp /netboot.config /root/var/log/netboot.config
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..44f3ef1
--- /dev/null
@@ -0,0 +1,15 @@
+03_grml_version_file_hook.patch
+05_boot_failure_message_grml.patch
+07_support_findiso.patch
+08_grml_defaults.patch
+10_validateroot.patch
+11_dhcphostname.patch
+12_uuid_support.patch
+13_always_display_warnings_and_failures.patch
+14_no_blkid_on_lenny.patch
+15_networking_grml.patch
+16_nodhcp.patch
+19_revert_toram_bootoption_to_expected_behaviour.patch
+25_support_lvm_for_live-media.patch
+26_support_dns_bootoption.patch
+27_support_static_ip.patch
index 3065213..6d9ad98 100755 (executable)
@@ -1,18 +1,13 @@
 #!/usr/bin/make -f
 
-include /usr/share/dpatch/dpatch.make
-
-build: patch-stamp
+build:
        # this is needed because dpatch doesn't do file modes on diffs.
        chmod a+rx scripts/live-bottom/*
        # regular build.
        dh build
 
-clean: unpatch
-       dh clean
-
 %:
-       dh ${@}
+       dh ${@} --with quilt
 
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=debian/live-boot