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
+++ /dev/null
-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
@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:
+
# Handling live-boot
- # Configuration
+ [ "${QUIET}" ] || echo -n " "core
+++ /dev/null
-#! /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
-
--- /dev/null
+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
#!/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