aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-23 02:43:06 +0800
committerdes <des@FreeBSD.org>2004-02-23 02:43:06 +0800
commit832f6c9ff5998aacc01808649e4b9262923b8fbc (patch)
tree447989530076913fcae4325ad43038b9db00d21b /emulators
parent6c4edcc59c495e662f24f1cb22628036bef2f769 (diff)
downloadfreebsd-ports-gnome-832f6c9ff5998aacc01808649e4b9262923b8fbc.tar.gz
freebsd-ports-gnome-832f6c9ff5998aacc01808649e4b9262923b8fbc.tar.zst
freebsd-ports-gnome-832f6c9ff5998aacc01808649e4b9262923b8fbc.zip
Remove bogus /dev/null check.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux_base/Makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/emulators/linux_base/Makefile b/emulators/linux_base/Makefile
index f43269dfb856..a146c0d871c5 100644
--- a/emulators/linux_base/Makefile
+++ b/emulators/linux_base/Makefile
@@ -133,26 +133,6 @@ do-install:
@cd ${LINUXBASE}/lib && ${LN} -sf libtermcap.so.2.0.8 libtermcap.so.2
@${RPM} --initdb --root ${LINUXBASE} --dbpath ${DBPATH}
#
-# Make sure we have a /dev/null in the chrooted environment.
-.if !defined(WITH_JAIL)
- @${MKDIR} ${LINUXBASE}/dev
- @${RM} -f ${LINUXBASE}/dev/null
- @mknod ${LINUXBASE}/dev/null c 2 2
- @${CHMOD} 666 ${LINUXBASE}/dev/null
-.endif
-.if !defined(BATCH) && !exists(${LINUXBASE}/dev/null)
- @${ECHO_MSG} ""
- @${ECHO_MSG} "You need to create the null device in your jailed Linux environment. Run this"
- @${ECHO_MSG} "outside the jail, then press enter:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} "mkdir -m 0755 -p <Jail root dir>/dev"
- @${ECHO_MSG} "rm -f <Jail root dir>${LINUXBASE}/dev/null"
- @${ECHO_MSG} "mknod <Jail root dir>${LINUXBASE}/dev/null c 2 2"
- @${ECHO_MSG} "chmod 666 <Jail root dir>${LINUXBASE}/dev/null"
- @${ECHO_MSG} ""
- @${SH} -c "read line"
-.endif
-#
# Install all packages. Ignore dependencies just like the Red Hat installer.
# Also, set the ELF fallback brand to Linux, so that we don't have to do
# anything special to run staticly linked binaries.