Add a check in pre-build for a sysctl which will cause an error during

bootstrapping with the Linux JDK.
This commit is contained in:
Greg Lewis 2002-08-06 16:36:21 +00:00
parent 15b59d045b
commit dca45b0ea4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64108
4 changed files with 36 additions and 0 deletions

View file

@ -132,6 +132,15 @@ pre-build:
echo "This is known to cause problems during bootstrapping."; \
exit 1; \
fi
@if [ `sysctl -n compat.linux.osname` != "Linux" ]; \
then \
echo "Please set the value of the sysctl compat.linux.osname"; \
echo "to 'Linux' with the command:"; \
echo " sysctl compat.linux.osname=Linux"; \
echo "Having it set to other values, such as 'FreeBSD',"; \
echo "is known to cause problems during bootstrapping."; \
exit 1; \
fi
.endif
post-build:

View file

@ -132,6 +132,15 @@ pre-build:
echo "This is known to cause problems during bootstrapping."; \
exit 1; \
fi
@if [ `sysctl -n compat.linux.osname` != "Linux" ]; \
then \
echo "Please set the value of the sysctl compat.linux.osname"; \
echo "to 'Linux' with the command:"; \
echo " sysctl compat.linux.osname=Linux"; \
echo "Having it set to other values, such as 'FreeBSD',"; \
echo "is known to cause problems during bootstrapping."; \
exit 1; \
fi
.endif
post-build:

View file

@ -132,6 +132,15 @@ pre-build:
echo "This is known to cause problems during bootstrapping."; \
exit 1; \
fi
@if [ `sysctl -n compat.linux.osname` != "Linux" ]; \
then \
echo "Please set the value of the sysctl compat.linux.osname"; \
echo "to 'Linux' with the command:"; \
echo " sysctl compat.linux.osname=Linux"; \
echo "Having it set to other values, such as 'FreeBSD',"; \
echo "is known to cause problems during bootstrapping."; \
exit 1; \
fi
.endif
post-build:

View file

@ -132,6 +132,15 @@ pre-build:
echo "This is known to cause problems during bootstrapping."; \
exit 1; \
fi
@if [ `sysctl -n compat.linux.osname` != "Linux" ]; \
then \
echo "Please set the value of the sysctl compat.linux.osname"; \
echo "to 'Linux' with the command:"; \
echo " sysctl compat.linux.osname=Linux"; \
echo "Having it set to other values, such as 'FreeBSD',"; \
echo "is known to cause problems during bootstrapping."; \
exit 1; \
fi
.endif
post-build: