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

Bug#577451: marked as done (hw-detect: Should automatically install hardware related packages (RAID tools, printer drivers, fingerprint scanner tools, etc))

Your message dated Sat, 22 May 2010 16:25:40 +0000
with message-id <E1OFrW8-0004Ij-5N@ries.debian.org>
and subject line Bug#577451: fixed in hw-detect 1.77
has caused the Debian Bug report #577451,
regarding hw-detect: Should automatically install hardware related packages (RAID tools, printer drivers, fingerprint scanner tools, etc)
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 owner@bugs.debian.org

577451: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577451
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hw-detect
Version: 1.50
Tags:    patch

For some kind of hardware, it would be very nice if the Debian
installer automatically installed the packages to support the hardware
in question.  An example is the RAID monitoring and administration
tools needed to check and configure a hardware RAID (like cpqarrayd
and mpt-status).  Another is a TV card which might need V4L(2) tools
to configure it.

In Debian, the discover tool is capable of handling this for USB and
PCI devices at the moment.  I've written a wrapper script
discover-pkginstall to provide hw-detect with a simple way to get
these hardware specific packages installed by the installer.  The
feature have been on my todo list for a long time, so I report this
against an old hw-detect version to document this. :)

To make the feature really useful, the database with hardware to
package mappings in discover-data need to be updated to list all the
packages that should be installed when a given PCI or USB device is
discovered.  At the moment there are 34 PCI and 48 USB devices with
package mappings in the database, but I am sure there are more
hardware we should handle out there.

This untested patch relative to the current svn source should
implement this feature:

Index: hw-detect.post-base-installer.d/60install-hwpackages
--- hw-detect.post-base-installer.d/60install-hwpackages        (revision 0)
+++ hw-detect.post-base-installer.d/60install-hwpackages        (revision 0)
@@ -0,0 +1,10 @@
+set -e
+. /usr/share/debconf/confmodule
+apt-install discover || true
+if [ -x /target/sbin/discover-pkginstall ] ; then
+   in-target discover-pkginstall

I suspect it need more work to get the debconf stuff to work properly
from within d-i.

Happy hacking,
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: hw-detect
Source-Version: 1.77

We believe that the bug you reported is fixed in the latest version of
hw-detect, which is due to be installed in the Debian FTP archive:

  to main/h/hw-detect/archdetect_1.77_i386.udeb
  to main/h/hw-detect/disk-detect_1.77_all.udeb
  to main/h/hw-detect/ethdetect_1.77_all.udeb
  to main/h/hw-detect/hw-detect_1.77.dsc
  to main/h/hw-detect/hw-detect_1.77.tar.gz
  to main/h/hw-detect/hw-detect_1.77_i386.udeb

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

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

Debian distribution maintenance software
Petter Reinholdtsen <pere@debian.org> (supplier of updated hw-detect 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sat, 22 May 2010 17:58:26 +0200
Source: hw-detect
Binary: hw-detect ethdetect disk-detect archdetect
Architecture: source i386 all
Version: 1.77
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
 archdetect - Hardware architecture detector (udeb)
 disk-detect - Detect disk drives (udeb)
 ethdetect  - Detect network hardware and load kernel drivers for it (udeb)
 hw-detect  - Detect hardware and load kernel drivers for it (udeb)
Closes: 572369 572785 574116 574158 577451
 hw-detect (1.77) unstable; urgency=low
   [ Frans Pop ]
   * check-missing-firmware: install loose firmware files in subdirectories
     if that's where the kernel expects them. Closes: #572785.
   [ Petter Reinholdtsen ]
   * Use discover-pkginstall to install hardware related packages
     automatically during installation (Closes: #577451).  Run it
     from pre-pkgsel to make sure a upgraded discover package is
   * Make sure check-missing-firmware follow symlinks and copy the
     content to make sure symlinked firmware files work too.
   * Move code checking for firmware in check-missing-firmware to a
     separate function, to allow it to be used several places.
   * Also look for firmware debs and udebs in the PXE initrd and
     on the CD media, in a firmware/ directory (Closes: #574116).
   * Add cross building support (Closes: #572369).  Patch from
     Hector Oron.
   * Run preinst script of firmware debs in case there is a license
     question there to accept, and do not activate firmware if the
     preinst script return non-zero exit code (Closes: #574158).
   [ Joey Hess ]
   * Remove myself from Uploaders.
    [ Updated translations ]
    * Asturian (ast.po) by Iñigo Varela
    * Danish (da.po) by Jacob Sparre Andersen
    * German (de.po) by Holger Wansing
    * French (fr.po) by Christian Perrier
    * Hebrew (he.po) by Lior Kaplan
    * Korean (ko.po) by Changwoo Ryu
    * Lithuanian (lt.po) by Kęstutis Biliūnas
    * Marathi (mr.po) by Sampada
    * Norwegian Nynorsk (nn.po) by Eirik U. Birkeland
    * Romanian (ro.po) by ioan-eugen stan
    * Slovenian (sl.po) by Vanja Cvelbar
 4c93373f704c4efcf5941b9a51c1c9edf1310b91 958 hw-detect_1.77.dsc
 3413277d2200b64d24a3d5dade6a158bc9f7c6e8 172610 hw-detect_1.77.tar.gz
 f2f819f752bac5ba9a7323669f32642ba9ecb1fd 93240 hw-detect_1.77_i386.udeb
 3844729f3953bf5658e9319161732d9ff27df012 27750 ethdetect_1.77_all.udeb
 7f5c924815f1d3020901a52ba5efce759e3643ca 21202 disk-detect_1.77_all.udeb
 30a32267843bd289741acf37d87ead33142535cd 2142 archdetect_1.77_i386.udeb
 84f0ef1b4cc14d16e9c128fee2dda505521cec49e776807a9a44627a966f4421 958 hw-detect_1.77.dsc
 fad30c19890867e5a9239215dfc484c3ffa05c94ab047b7717c89ee41e70eb01 172610 hw-detect_1.77.tar.gz
 27dd294aafe6e458206b18fc12aafaf1b040cbb4ebe76cf61f128738e7e2e54e 93240 hw-detect_1.77_i386.udeb
 a7663e211c66cff7da3bc1660b5a469ae606aca89122e5bc29703dcad3e23cd6 27750 ethdetect_1.77_all.udeb
 9237091277b2e3533fe49b2eb872e75b5676eb3fb44fbc426d70ff28b6dce7c9 21202 disk-detect_1.77_all.udeb
 ccb012b709822654351f64f8dc27230c445ec2258fcd76017a5182ed4b3bde06 2142 archdetect_1.77_i386.udeb
 b5f4190e95dc642e6cfb683c85ca2424 958 debian-installer standard hw-detect_1.77.dsc
 c657ecc40a20b5e02f30339278854dc0 172610 debian-installer standard hw-detect_1.77.tar.gz
 4aad655271e2453b49ec86473189c086 93240 debian-installer standard hw-detect_1.77_i386.udeb
 edd054a4dbedc15a18cdb1baa2766361 27750 debian-installer optional ethdetect_1.77_all.udeb
 b4f1047331f4424d563dd2a10231970a 21202 debian-installer optional disk-detect_1.77_all.udeb
 758ef02a58a4f6cf72bfc9a9b2166f8c 2142 debian-installer standard archdetect_1.77_i386.udeb
Package-Type: udeb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: