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 <[email protected]> http://jk.fr.eu.org -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

