From: Evgeni Golov Date: Wed, 28 Nov 2012 15:38:22 +0000 (+0100) Subject: allow the use of multiple initramfs hooks and scripts again X-Git-Tag: v3.0_b8-1+grml.1~3 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=b484d6d03914c83c25feaca343d3d651a389d7f6 allow the use of multiple initramfs hooks and scripts again --- diff --git a/debian/patches/40_support_multiple_hooks.patch b/debian/patches/40_support_multiple_hooks.patch new file mode 100644 index 0000000..36f72f2 --- /dev/null +++ b/debian/patches/40_support_multiple_hooks.patch @@ -0,0 +1,20 @@ +Index: live-boot-grml/Makefile +=================================================================== +--- live-boot-grml.orig/Makefile 2012-11-28 16:30:56.243755796 +0100 ++++ live-boot-grml/Makefile 2012-11-28 16:36:50.614711051 +0100 +@@ -47,9 +47,13 @@ + + # Installing executables + mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks +- cp backends/initramfs-tools/live.hook $(DESTDIR)/usr/share/initramfs-tools/hooks/live ++ for f in backends/initramfs-tools/*.hook; do \ ++ cp $${f} $(DESTDIR)/usr/share/initramfs-tools/hooks/$$(basename $${f} .hook); \ ++ done + mkdir -p $(DESTDIR)/usr/share/initramfs-tools/scripts +- cp backends/initramfs-tools/live.script $(DESTDIR)/usr/share/initramfs-tools/scripts/live ++ for f in backends/initramfs-tools/*.script; do \ ++ cp $${f} $(DESTDIR)/usr/share/initramfs-tools/scripts/$$(basename $${f} .script); \ ++ done + + # Installing docs + mkdir -p $(DESTDIR)/usr/share/doc/live-boot-grml diff --git a/debian/patches/series b/debian/patches/series index 2bb89a1..ed51e7e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -17,3 +17,4 @@ 36_support_dhcp_bootoption.patch 37_fix_legacy_persistence_handling.patch 39_persistence_with_forensic.patch +40_support_multiple_hooks.patch