On Thu, Aug 12, 2010 at 09:43:06AM +0200, Petter Reinholdtsen wrote: > [Jeremie Koenig] > > - if [ ! -d /target/sys ]; then > > + if [ ! -d /target/sys ] && [ "$(udpkg --print-os)" != hurd ]; then > > Would it be better to look for 'sysfs' in /proc/filesystems to avoid > hardcoding OS names there?
Unfortunately, neither Hurd nor kFreeBSD have a /proc/filesystems file. Also, the /sys filesystem is named "linsysfs" on kFreeBSD. An alternative would be to check for, say, /sys/devices in the installer itself. Does this sound reasonable? -- Jeremie Koenig <j...@jk.fr.eu.org> http://jk.fr.eu.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org