Package: sparc-utils
Severity: wishlist

Hi,

Recently the debian-installer team has dropped the discover1 package which was previously used to detect the available hardware during installation. The reason for that change was the fact that in with the newer kernels udev can be used for device detection. This transition did have a negative effect on some lower-end sparc machines with SBUS hardware, since nobody bothered to port the SBUS drivers to the new driver model, so the SBUS hardware is not currently detectable with udev. To work around this Frans Pop of the d-i team proposed to build a sparc-utils udeb for use in the installer, which would contain 'prtconf' binary, so the detection of SBUS hardware may be done in d-i independently of udev. The attached patch created by Frans and myself adds the support for building such an udeb to sparc utils. It would be appreciated if you would apply this change and make a new sparc-utils upload.

Also, I have noted that the last maintainer upload of sparc-utils happened in 2001, and it has been NMU'd a few times after that. I'm currently actively involved with sparc port, so if you would like some help with it, or would not mind passing the package to another maintainer, please let me know.

Thanks and best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC
diff -ruN ../sparc-utils-1.9.sv/debian/control ./debian/control
--- ../sparc-utils-1.9.sv/debian/control        2006-01-08 12:27:54.000000000 
+0100
+++ ./debian/control    2006-01-08 12:39:44.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Eric Delaunay <[EMAIL PROTECTED]>
 Standards-Version: 3.1.1
-Build-Depends: debhelper
+Build-Depends: debhelper (>= 5.0)
 
 Package: sparc-utils
 Architecture: sparc
@@ -21,3 +21,14 @@
                       (useful to enforce a 32 bit environment on 64 bit 
system).
   - audioctl          to control the audio device on Sparc/Linux workstations.
 
+Package: sparc-utils-udeb
+XC-Package-Type: udeb
+Section: debian-installer
+Priority: extra
+Architecture: sparc
+Depends: ${shlibs:Depends}
+Description: sparc-utils package for the Debian installer
+ This is a stripped-down version of the sparc-utils package, suitable
+ for use in Debian-installer. It provides only the prtconf binary which
+ is required to adequately detect the SBUS hardware, commonly found on
+ sparc32 and some sparc64 (Ultra1, Ultra2) machines.
diff -ruN ../sparc-utils-1.9.sv/debian/rules ./debian/rules
--- ../sparc-utils-1.9.sv/debian/rules  2006-01-08 12:27:54.000000000 +0100
+++ ./debian/rules      2006-01-08 12:46:08.000000000 +0100
@@ -1,10 +1,13 @@
 #! /usr/bin/make -f
 # (C) 1998-2001, Eric Delaunay
 
+export DH_COMPAT=5
+
 CFLAGS=-O2
 
 a=$(shell dpkg --print-architecture)
 p=sparc-utils
+u=sparc-utils-udeb
 
 build: build-stamp
 build-stamp:
@@ -36,20 +39,22 @@
        dh_testroot
        dh_clean -k
        # install binaries
-       dh_installdirs usr/bin usr/sbin
-       install -s elftoaout-2.3/elftoaout debian/tmp/usr/bin
-       install -s src/piggyback src/piggyback64 debian/tmp/usr/bin
-       install -s prtconf-1.3/prtconf debian/tmp/usr/sbin/prtconf
-       install -s prtconf-1.3/eeprom debian/tmp/usr/sbin/eeprom
-       install -s sparc32-1.1/sparc32 debian/tmp/usr/bin
-       ln -sf sparc32 debian/tmp/usr/bin/sparc64
-       install -s audioctl-1.3/audioctl debian/tmp/usr/bin
+       dh_installdirs -p$(p) usr/bin usr/sbin
+       dh_installdirs -p$(u) usr/sbin
+       install -s elftoaout-2.3/elftoaout debian/$(p)/usr/bin
+       install -s src/piggyback src/piggyback64 debian/$(p)/usr/bin
+       install -s prtconf-1.3/prtconf debian/$(p)/usr/sbin/prtconf
+       install -s prtconf-1.3/prtconf debian/$(u)/usr/sbin/prtconf
+       install -s prtconf-1.3/eeprom debian/$(p)/usr/sbin/eeprom
+       install -s sparc32-1.1/sparc32 debian/$(p)/usr/bin
+       ln -sf sparc32 debian/$(p)/usr/bin/sparc64
+       install -s audioctl-1.3/audioctl debian/$(p)/usr/bin
        # install /etc/init.d script & /etc/default scripts
-       install -d -m 755 debian/tmp/etc debian/tmp/etc/init.d 
debian/tmp/etc/default
-       install -m 755 debian/audioctl debian/tmp/etc/init.d
-       install -m 755 debian/audioctl.def debian/tmp/etc/default/audioctl
+       install -d -m 755 debian/$(p)/etc debian/$(p)/etc/init.d 
debian/$(p)/etc/default
+       install -m 755 debian/audioctl debian/$(p)/etc/init.d
+       install -m 755 debian/audioctl.def debian/$(p)/etc/default/audioctl
        # install documentation
-       dh_installmanpages
+       dh_installman
        dh_installdocs
        dh_installexamples prtconf-1.3/examples/*
        dh_installchangelogs
diff -ruN ../sparc-utils-1.9.sv/debian/sparc-utils.manpages 
./debian/sparc-utils.manpages
--- ../sparc-utils-1.9.sv/debian/sparc-utils.manpages   1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/sparc-utils.manpages       2006-01-08 13:02:12.000000000 +0100
@@ -0,0 +1,8 @@
+audioctl-1.3/audioctl.1
+elftoaout-2.3/elftoaout.1
+debian/piggyback.1
+debian/piggyback64.1
+prtconf-1.3/eeprom.8
+prtconf-1.3/prtconf.8
+sparc32-1.1/sparc32.8
+sparc32-1.1/sparc64.8

Reply via email to