@DPATCH@
-Index: b/hooks/live
+Index: live-boot-grml/hooks/live
===================================================================
---- a/hooks/live 2011-07-24 22:07:22.000000000 +0200
-+++ b/hooks/live 2011-07-24 22:07:55.000000000 +0200
+--- live-boot-grml.orig/hooks/live 2011-12-06 22:10:13.000000000 +0100
++++ live-boot-grml/hooks/live 2011-12-06 22:10:17.000000000 +0100
@@ -40,6 +40,12 @@
done
fi
+
# Handling live-boot
- [ "${QUIET}" ] || echo -n " "core
+ if [ ! -e /usr/share/live-boot ]
## DP: * no bootid.txt + ignore_bootid=... => boots
@DPATCH@
-Index: b/scripts/live
+Index: live-boot-grml/scripts/live
===================================================================
---- a/scripts/live 2011-07-24 22:08:02.000000000 +0200
-+++ b/scripts/live 2011-07-24 22:08:03.000000000 +0200
+--- live-boot-grml.orig/scripts/live 2011-12-06 22:10:24.000000000 +0100
++++ live-boot-grml/scripts/live 2011-12-06 22:10:25.000000000 +0100
@@ -63,6 +63,11 @@
export ACCESS
;;
ignore_uuid)
IGNORE_UUID="Yes"
export IGNORE_UUID
-@@ -410,6 +420,42 @@
+@@ -457,6 +467,42 @@
return 1
}
matches_uuid ()
{
if [ "${IGNORE_UUID}" ] || [ ! -e /conf/uuid.conf ]
-@@ -1655,7 +1701,7 @@
+@@ -1785,7 +1831,7 @@
fi
if is_live_path ${mountpoint} && \
then
echo ${mountpoint}
return 0
-@@ -1769,19 +1815,6 @@
+@@ -1881,19 +1927,6 @@
return 0
fi
done
## DP: /lib/udev/vol_id in /scripts/live as well
@DPATCH@
-Index: b/scripts/live
+Index: live-boot-grml/scripts/live
===================================================================
---- a/scripts/live 2011-07-24 22:08:03.000000000 +0200
-+++ b/scripts/live 2011-07-24 22:08:06.000000000 +0200
-@@ -1680,7 +1680,12 @@
+--- live-boot-grml.orig/scripts/live 2011-12-06 22:10:25.000000000 +0100
++++ live-boot-grml/scripts/live 2011-12-06 22:10:30.000000000 +0100
+@@ -1810,7 +1810,12 @@
if is_supported_fs ${fstype}
then
@DPATCH@
index d79beed..1b6926e 100755
-Index: b/scripts/live
+Index: live-boot-grml/scripts/live
===================================================================
---- a/scripts/live 2011-07-24 22:08:09.000000000 +0200
-+++ b/scripts/live 2011-07-24 22:08:10.000000000 +0200
-@@ -563,7 +563,7 @@
+--- live-boot-grml.orig/scripts/live 2011-12-06 22:10:34.000000000 +0100
++++ live-boot-grml/scripts/live 2011-12-06 22:10:34.000000000 +0100
+@@ -619,7 +619,7 @@
if [ -z "${MODULETORAM}" ]
then
else
MODULETORAMFILE="${copyfrom}/${LIVE_MEDIA_PATH}/${MODULETORAM}"
-@@ -639,8 +639,7 @@
+@@ -695,8 +695,7 @@
echo " * Copying whole medium to RAM" 1>/dev/console
rsync -a --progress ${copyfrom}/* ${copyto} 1>/dev/console # "cp -a" from busybox also copies hidden files
else
@DPATCH@
-Index: b/scripts/live
+Index: live-boot-grml/scripts/live
===================================================================
---- a/scripts/live 2011-07-24 22:08:13.000000000 +0200
-+++ b/scripts/live 2011-07-24 22:08:14.000000000 +0200
+--- live-boot-grml.orig/scripts/live 2011-12-06 22:10:37.000000000 +0100
++++ live-boot-grml/scripts/live 2011-12-06 22:10:39.000000000 +0100
@@ -110,9 +110,8 @@
;;
export STATICIP
;;
-@@ -667,6 +662,24 @@
+@@ -723,6 +718,24 @@
return 0
}
do_netsetup ()
{
modprobe -q af_packet # For DHCP
-@@ -677,9 +690,19 @@
+@@ -733,9 +746,19 @@
[ -n "$ETHDEV_TIMEOUT" ] || ETHDEV_TIMEOUT=15
echo "Using timeout of $ETHDEV_TIMEOUT seconds for network configuration."
# support for Syslinux IPAPPEND parameter
-@@ -722,7 +745,7 @@
+@@ -778,7 +801,7 @@
if [ "$bootif_mac" = "$current_mac" ]
then
break
fi
fi
-@@ -734,12 +757,7 @@
+@@ -790,12 +813,7 @@
# for *every* present network device (except for loopback of course)
if [ -z "$ETHDEVICE" ] ; then
echo "If you want to boot from a specific device use bootoption ethdevice=..."
fi
# split args of ethdevice=eth0,eth1 into "eth0 eth1"
-@@ -747,38 +765,27 @@
+@@ -803,38 +821,27 @@
devlist="$devlist $device"
done
Thanks to Ulrich Dangel for discovering this. [Closes: issue848]
-Index: b/hooks/live
+Index: live-boot-grml/hooks/live
===================================================================
---- a/hooks/live 2011-07-24 22:07:55.000000000 +0200
-+++ b/hooks/live 2011-07-24 22:08:17.000000000 +0200
-@@ -258,17 +258,14 @@
+--- live-boot-grml.orig/hooks/live 2011-12-06 22:10:17.000000000 +0100
++++ live-boot-grml/hooks/live 2011-12-06 22:10:47.000000000 +0100
+@@ -266,17 +266,14 @@
manual_add_modules crc32c
fi
/lib/libnss_dns.so.* but could also be e.g.
/lib/x86_64-linux-gnu/libnss_dns.so.*.
-Index: b/hooks/live
+Index: live-boot-grml/hooks/live
===================================================================
---- a/hooks/live 2011-07-24 22:08:17.000000000 +0200
-+++ b/hooks/live 2011-07-24 22:08:18.000000000 +0200
-@@ -260,7 +260,16 @@
+--- live-boot-grml.orig/hooks/live 2011-12-06 22:10:47.000000000 +0100
++++ live-boot-grml/hooks/live 2011-12-06 22:10:55.000000000 +0100
+@@ -268,7 +268,16 @@
# DNS for initramfs
#copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
---- /dev/null
-+++ b/hooks/kms
+Index: live-boot-grml/hooks/kms
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ live-boot-grml/hooks/kms 2011-12-06 22:09:55.000000000 +0100
@@ -0,0 +1,25 @@
+#!/bin/sh
+# hook for adding kms modules