On -current with devfs there is no MAKEDEV in /dev anymore, so use
it from ${SRC}/etc/MAKEDEV instead. We may want to do this on -stable as well, but for now -stable still uses /dev/MAKEDEV.
This commit is contained in:
parent
1a77e80042
commit
8b7c2294ba
@ -64,9 +64,11 @@ init_vars() { # OK
|
||||
case `uname -r` in
|
||||
5.*)
|
||||
VN="md"
|
||||
MAKEDEV="${SRC}/etc/MAKEDEV"
|
||||
;;
|
||||
*)
|
||||
VN="vn"
|
||||
MAKEDEV="/dev/MAKEDEV"
|
||||
esac
|
||||
|
||||
# Various temporary files and directories.
|
||||
@ -497,7 +499,7 @@ populate_mfs() {
|
||||
|
||||
# XXX-fixme in -current, MAKEDEV is from /usr/src/etc/MAKEDEV
|
||||
if [ "${NO_DEVFS}" != "" ] ; then
|
||||
(cd ${MFS_MOUNTPOINT}/dev ; ln -s /dev/MAKEDEV ;
|
||||
(cd ${MFS_MOUNTPOINT}/dev ; ln -s ${MAKEDEV} ; chmod 555 MAKEDEV ;
|
||||
./MAKEDEV ${MY_DEVS}; rm MAKEDEV)
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user