aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-02-22 18:43:06 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-02-22 18:43:06 +0000
commit2007679a45b4586e0a5b12eedd1b70613947854b (patch)
treee6ce7531aa2a0945424e0293ce4152226a1f07cc /emulators
parent066cab0830103cf707e23a03ffe13d45eb148487 (diff)
downloadports-2007679a45b4586e0a5b12eedd1b70613947854b.tar.gz
ports-2007679a45b4586e0a5b12eedd1b70613947854b.zip
Notes
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.