Package: lilo
Version: 1:22.6.1-7+b1
Followup-For: Bug #374477

Patch to use makedev instead of mknod

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)

Versions of packages lilo depends on:
ii  debconf                      1.5.2       Debian configuration management sy
ii  libc6                        2.3.6-15    GNU C Library: Shared libraries
ii  libdevmapper1.02             2:1.02.07-1 The Linux Kernel Device Mapper use

lilo recommends no packages.

-- debconf information excluded
--- lilo-22.6.1/debian/lilo.postinst    2006-07-31 13:45:25.000000000 -0300
+++ lilo-22.6.1/debian/lilo.postinst.new        2006-07-31 13:42:51.000000000 
-0300
@@ -52,13 +52,7 @@
                # Create the missing devices
                echo -n "Creating network block devices... "
                pushd /dev > /dev/null
-               i=0
-               while [ $i != 128 ]; do
-                  if [ ! -b nbd$i ]; then
-                       /bin/mknod nbd$i b 43 $i        
-                  fi
-                  i=$(($i+1))
-               done
+               ./MAKEDEV nb
                popd > /dev/null
                echo "done."  
            fi

Reply via email to