On Fri, 06 Jan 2012, Petter Reinholdtsen wrote:
> [Wolfgang Schweer]
> > It should be documented somewhere, that those small binary blobs
> > (package firmware-linux-nonfree) must be provided (on usb key /
> > floppy disk), if the machine has an appropriate network card - like
> > some old Intel cards (kernel module e100). Otherwise pxeinstall will
> > not be possible.
>
> Yes, thank you for notincing. Please update the wiki documentation at
> <URL: http://wiki.debian.org/DebianEdu/Documentation/Squeeze/ >.
Next week. I will also add a note for thin clients cause there's a
similar problem.
> We should also document that those needing non-free firmware blobs can
> run the /usr/share/debian-edu-config/tools/pxe-addfirmware script to
> add them to the PXE iamges, but I notice that I forgot to add the file
> to the Makefile and it is not included in the package yet. Will fix
> for beta3. Please fetch it from svn and test it, to see if it work
> for you.
It didn't until I changed it a bit.
-------------------------------------------------------------------------
--- pxe-addfirmware.svn 2012-01-06 14:58:18.000000000 +0100
+++ pxe-addfirmware 2012-01-07 00:25:28.536836139 +0100
@@ -14,20 +14,22 @@
# Find files. This require non-free to be enabled as APT
# repository.
- debnames="$(apt-cache search ^firmware-.*|cut -d" " -f1)"
+ debnames="$(apt-cache search ^firmware-.*|grep -v b43|cut -d" " -f1)"
# Allow caller to ask for extra debs using environment variable
debnames="$debnames $FIRMWAREDEBNAMES"
- apt-get --download-only install $debnames
+ apt-get -d -y -qq install $debnames
# Find firmware .deb files
for name in $debnames ; do
- for deb in /var/cache/apt/archives/${name}_* ; do
- if [ -f $deb ] ; then
- debs="$debs $deb"
- fi
- done
+ if [ "$name" != "firmware-linux" ]; then
+ for deb in /var/cache/apt/archives/${name}_* ; do
+ if [ -f $deb ] ; then
+ debs="$debs $deb"
+ fi
+ done
+ fi
done
echo Unpack current initrd
-------------------------------------------------------------------
IIRC factor 2.5 for the new size of the initrds compared to the old one.
Installation would habe been successfull but I had to skip that due to a
crap hd.
Wolfgang
Attachment:
signature.asc
Description: Digital signature