diff options
author | joe <joe@FreeBSD.org> | 2001-09-20 13:34:16 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-09-20 13:34:16 +0000 |
commit | 785a826aae4983f7e57dcbdc604162c156ceace5 (patch) | |
tree | 709f7a5a5e0c308b012ce48d0bd02cc4042ec1b8 /release/picobsd/build | |
parent | a888294e8562ccb3993f9aeb7feeaf8d872751a8 (diff) | |
download | FreeBSD-src-785a826aae4983f7e57dcbdc604162c156ceace5.zip FreeBSD-src-785a826aae4983f7e57dcbdc604162c156ceace5.tar.gz |
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.
Diffstat (limited to 'release/picobsd/build')
-rwxr-xr-x | release/picobsd/build/picobsd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index 94b99a0..c002626b 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -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 |