FreeBSD Bugzilla – Attachment 102987 Details for
Bug 142837
[patch] emulators/linux_base-* packages fails to install when linux.ko is not installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.12 KB, created by
Scot Hetzel
on 2010-01-14 18:00:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot Hetzel
Created:
2010-01-14 18:00:04 UTC
Size:
1.12 KB
patch
obsolete
>Index: pkg-install >=================================================================== >RCS file: /home/ncvs/ports/emulators/linux_base-f10/pkg-install,v >retrieving revision 1.13 >diff -u -r1.13 pkg-install >--- pkg-install 12 May 2009 14:53:58 -0000 1.13 >+++ pkg-install 14 Jan 2010 17:38:37 -0000 >@@ -3,14 +3,6 @@ > > case "$2" in > PRE-INSTALL) >- if [ "`/sbin/sysctl -n compat.linux.osrelease`"x = "x" ]; then >- 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...' >@@ -20,6 +12,14 @@ > exit 1 > fi > fi >+ if [ "`/sbin/sysctl -n compat.linux.osrelease`"x = "x" ]; then >+ 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 > ;; > POST-INSTALL) > if [ -z "`grep ^linproc /etc/fstab`" ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 142837
: 102987