Source: live-boot-initramfs-tools
Version: 3.0~a35
Severity: grave
Tags: patch
Justification: renders package unusable

Attached is a patch to fix this issue.

Best regards,
Lars Eric Scheidler

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-backports'), (50, 'unstable'), 
(50, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Naur live-boot-3.0~a35.orig/scripts/boot/networking.sh live-boot-3.0~a35/scripts/boot/networking.sh
--- live-boot-3.0~a35.orig/scripts/boot/networking.sh	2012-06-27 15:28:12.000000000 +0200
+++ live-boot-3.0~a35/scripts/boot/networking.sh	2012-07-03 12:46:22.353661722 +0200
@@ -108,7 +108,7 @@
 			fi
 		done
 	else
-		for interface in ${DEVICE}; do
+		for interface in `ls /sys/class/net/ | grep -v "lo"`; do
 			ipconfig -t "$ETHDEV_TIMEOUT" ${interface} | tee /netboot-${interface}.config
 			[ -e /tmp/net-${interface}.conf ] && . /tmp/net-${interface}.conf
 			if [ "$IPV4ADDR" != "0.0.0.0" ]

Reply via email to