[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#783080: unblock: oldsys-preseed/3.16



Package: release.debian.org
Severity: normal
Tags: d-i
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package oldsys-preseed

This fixes #783019 which is a failure to correctly function on many kirkwood
and orion5x armel platforms. Since this package exists to aid with headless
installs d-i is basically unusable on any affected system, since it will ask
questions on the (non-existent) serial port before enabling the network
install path.

This package only produces udebs.

diff -Nru oldsys-preseed-3.15/debian/changelog oldsys-preseed-3.16/debian/changelog
--- oldsys-preseed-3.15/debian/changelog	2015-02-26 03:55:12.000000000 +0000
+++ oldsys-preseed-3.16/debian/changelog	2015-04-21 06:07:22.000000000 +0100
@@ -1,3 +1,11 @@
+oldsys-preseed (3.16) unstable; urgency=medium
+
+  [ Ian Campbell ]
+  * Avoid exiting prematurely on arm*/orion5x or arm*/kirkwood platforms when
+    they do not use device tree. (Closes: #783019)
+
+ -- Christian Perrier <bubulle@debian.org>  Tue, 21 Apr 2015 07:07:22 +0200
+
 oldsys-preseed (3.15) unstable; urgency=medium
 
   [ Michael Walle ]
diff -Nru oldsys-preseed-3.15/oldsys-preseed oldsys-preseed-3.16/oldsys-preseed
--- oldsys-preseed-3.15/oldsys-preseed	2015-02-26 03:53:17.000000000 +0000
+++ oldsys-preseed-3.16/oldsys-preseed	2015-04-21 04:01:47.000000000 +0100
@@ -115,7 +115,11 @@
 	arm*/orion5x | arm*/kirkwood)
 		machine=$(grep "^Hardware" /proc/cpuinfo | sed 's/Hardware\s*:\s*//')
 		# /proc/device-tree may not exist on all architectures
-		dt_model=$(cat /proc/device-tree/model 2>/dev/null)
+		if [ -e /proc/device-tree/model ] ; then
+		    dt_model=$(cat /proc/device-tree/model 2>/dev/null)
+		else
+		    dt_model="UNKNOWN"
+		fi
 		if echo "$machine" | grep -q "^Buffalo/Revogear Kurobox Pro"; then
 			check_file /proc/mtd
 			rootfs=$(get_mtdblock "rootfs")

unblock oldsys-preseed/3.16

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)


Reply to: