Your message dated Tue, 21 Apr 2015 05:18:32 +0000
with message-id <e1ykqzs-0005z3...@franck.debian.org>
and subject line Bug#783019: fixed in oldsys-preseed 3.16
has caused the Debian Bug report #783019,
regarding kirkwood network console images ask to choose ethernet device
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
783019: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783019
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: oldsys-preseed
Version: 3.15
Severity: grave
Tags: patch

Doing a test install of jessie on my TS-419 I get asked (via the serial)
for a serial port and a ssh password. I happen to have a serial port but
these devices mostly do not and are supposed to be headless.

I'm using the images from
http://ftp.uk.debian.org/debian/dists/jessie/main/installer-armel/20150418/images/kirkwood/network-console/qnap/ts-41x/

>From the logs there is no sign of oldsys-preseed running. Poking around
in the shell I see:
        ~ # sh -x /usr/bin/oldsys-preseed 
        + set -e
        + . /usr/lib/oldsys-preseed/functions
        + NONINTERACTIVE=yes
        + FILE=/preseed.cfg
        + archdetect
        + + sed s/Hardware\s*:\s*//
        grep ^Hardware /proc/cpuinfo
        + machine=QNAP TS-41x
        + cat /proc/device-tree/model
        + dt_model=
        ~ # 

IOW due to set -e it exits early on systems
where /proc/device-tree/model does not exist, since the cat fails.

By commenting out that one line things seem to progress in a way which
looks promising (i.e. much more spew than above). I think the most
plausible solution would be:

diff --git a/oldsys-preseed b/oldsys-preseed
index f60196f..4cd7138 100755
--- a/oldsys-preseed
+++ b/oldsys-preseed
@@ -115,7 +115,11 @@ case "`archdetect`" in
        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")

I'll build an image and test that shortly.

Severity grave because d-i is mostly useless on qnap hardware (and
headless orion or kirkwood generally) with this issue, at least for
non-DT systems, which I think is still most of them in Jessie.

Ian.

--- End Message ---
--- Begin Message ---
Source: oldsys-preseed
Source-Version: 3.16

We believe that the bug you reported is fixed in the latest version of
oldsys-preseed, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 783...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubu...@debian.org> (supplier of updated oldsys-preseed 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 21 Apr 2015 07:07:22 +0200
Source: oldsys-preseed
Binary: oldsys-preseed
Architecture: source i386
Version: 3.16
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubu...@debian.org>
Description:
 oldsys-preseed - Preseed debian-installer from an existing device (udeb)
Closes: 783019
Changes:
 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)
Checksums-Sha1:
 c05e44ac69e17160bd20e1fac3eee757a51a7926 1663 oldsys-preseed_3.16.dsc
 4bc41c1ca24e97bfe724d057cfbfec44a78d97fd 289364 oldsys-preseed_3.16.tar.xz
 0595b04d68a95a05bebaf2f06658b481b7cebd62 6572 oldsys-preseed_3.16_i386.udeb
Checksums-Sha256:
 740a809cb9dc491967e0fa721ce386942c98198cfbbc55ff88d83be58345ad8f 1663 
oldsys-preseed_3.16.dsc
 ffc98aa0fd48edda90a25f14613b39572ac97378417e58ba7f5c091ce458cba3 289364 
oldsys-preseed_3.16.tar.xz
 106c0cef11204eb3e3abe9904fd08b4f7e2c5f47ee23b83ea81eeabe91436d93 6572 
oldsys-preseed_3.16_i386.udeb
Files:
 c441eb325f2117714a95c1886cb483ce 1663 debian-installer optional 
oldsys-preseed_3.16.dsc
 b483c29ecf677f8119878d52ff0a800a 289364 debian-installer optional 
oldsys-preseed_3.16.tar.xz
 2ca360237c06d918f7ed4b7340ac9ec3 6572 debian-installer optional 
oldsys-preseed_3.16_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJVNdtsAAoJEIcvcCxNbiWoSy0P/jhgmGx/Vw4b/9ldji0iUN1+
ly4aNB3ML8vQMWMSAEyO4BDuP0m2LxD5NeIPIsqQcCC8iV8uFTM8WWtzCySg5AQh
cDIv069hZZhjawnmTFx5qSWZhyBJTrvIRlIO/xsvj6IPC26vga6S6VM66NprgaZE
Nydi9c2xokgQa5yFw0MTEJUArHDfCyw7Edv3WM/fs1Njbz1e8lbdQv/U40pmXubG
UtB6ZNoZ/Ndwv7uRU/9ZivM+qVH9lax7rxe5h967byoBW4N1BsfLimkdOL4Wo+Gl
JU2HdaRDUfd5oltzjTUiVvxSnB2MAWycLljMjiLtLrlGunPRc3hyx3Gtye/dK8Wn
tXUnqysIqoyagbhkXOLXtBt+guTWnI+K+FUxbA0QZ30TLg+4v+hoc5CFBm42EC3c
I/WolFAIDlsL9bH3dmIFzDni58o/dtHeGalRJLv/L5JM3d3HwmpwRc+MpuM3Ddmm
fPemvUBwGEprffX5wis10B+kxdNpdhkj0HaVMoNXy0DmFOodbyYEFCVJafMeoTGy
CF9hJng+bdzSkxXubEGgIH4NQE8gc6M+xVRwjPthj8tYci6WHb7FjH07Q7Fuvamd
pNR0S2ukW/2o5QM2CDste5JBkf2C1lg18fjDdQDyT/p4EjoCGuoVOG1pfGs7sxHz
JNSCZDwbqghhAw3tB2tF
=g2jB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to