Bug#680070: live-boot-initramfs-tools: Booting with fetch mechanism over tftp fails because of empty ${DEVICE} variable

July 03rd, 2012 - 07:20 am ET by Lars Eric Scheidler | Report spam
This is a multi-part MIME message sent by reportbug.


MIME-Version: 1.0

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

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

MIME-Version: 1.0

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" ]




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Lars Eric Scheidler
July 12th, 2012 - 07:20 am ET | Report spam
Severity: normal

Adjust severity, because the bug affects only parts of the package.



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics