aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-f10
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-05-30 09:11:52 +0000
committerRene Ladan <rene@FreeBSD.org>2013-05-30 09:11:52 +0000
commit1759b37af1cbf6b6d6f1bbf95e33f125b8fd611f (patch)
tree1f833a09d59367ca4fd4624d9910f73bc5342531 /emulators/linux_base-f10
parent749316327b6e9ee63242fda1c83391cd9f4411a7 (diff)
Notes
Diffstat (limited to 'emulators/linux_base-f10')
-rw-r--r--emulators/linux_base-f10/Makefile4
-rw-r--r--emulators/linux_base-f10/pkg-install4
2 files changed, 1 insertions, 7 deletions
diff --git a/emulators/linux_base-f10/Makefile b/emulators/linux_base-f10/Makefile
index 724076f00ed3..ac7c78fd9bde 100644
--- a/emulators/linux_base-f10/Makefile
+++ b/emulators/linux_base-f10/Makefile
@@ -123,8 +123,6 @@ LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
.if ${LINUX_OSRELEASE}x == "x"
IGNORE= linuxulator is not (kld)loaded
-.elif ${LINUX_OSRELEASE} == "2.4.2"
-IGNORE= compat.linux.osrelease: 2.4.2 is not supported, please use 2.6.16
.endif
REMOVE_DIRS= boot dev etc/fonts home initrd media root tmp var/log var/run var/tmp \
@@ -160,7 +158,7 @@ do-build:
${RM} -f ${WRKSRC}/$$F; \
done
@for F in ${ADD_DIRS}; do \
- ${MKDIR} -p ${WRKSRC}/$$F; \
+ ${MKDIR} ${WRKSRC}/$$F; \
done
@for F in ${ADD_FILES}; do \
${TOUCH} ${WRKSRC}/$$F; \
diff --git a/emulators/linux_base-f10/pkg-install b/emulators/linux_base-f10/pkg-install
index c45460767a09..c9175f484744 100644
--- a/emulators/linux_base-f10/pkg-install
+++ b/emulators/linux_base-f10/pkg-install
@@ -7,10 +7,6 @@ PRE-INSTALL)
echo 'linuxulator is not (kld)loaded, exiting'
exit 1
fi
- if [ "`/sbin/sysctl -n compat.linux.osrelease`" = "2.4.2" ]; then
- echo 'compat.linux.osrelease: 2.4.2 is not supported, exiting'
- exit 1
- fi
if [ -z "`kldstat -v | grep -E 'linux(aout|elf)'`" ]; then
echo 'Linux mode is not enabled.'
echo 'Loading linux kernel module now...'