diff options
author | tron <tron> | 2004-07-13 10:31:13 +0000 |
---|---|---|
committer | tron <tron> | 2004-07-13 10:31:13 +0000 |
commit | 957caaead406bf124a0d0287dc650d9ccb0a3d7b (patch) | |
tree | a07280160cb5bb4f61b1ce60c59bc71f50cd38eb /emulators/suse91_base/INSTALL | |
parent | ac2494522f4cbb8e1ad0cd0c0f38f4f9e9675892 (diff) | |
download | pkgsrc-957caaead406bf124a0d0287dc650d9ccb0a3d7b.tar.gz |
Initial import of SuSE Linux 9.1 based packages for Linux emulation.
Warning:
NetBSD's Linux emulation does *not* work stable with these packages.
Diffstat (limited to 'emulators/suse91_base/INSTALL')
-rw-r--r-- | emulators/suse91_base/INSTALL | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/emulators/suse91_base/INSTALL b/emulators/suse91_base/INSTALL new file mode 100644 index 00000000000..c1e09085303 --- /dev/null +++ b/emulators/suse91_base/INSTALL @@ -0,0 +1,68 @@ +#!/bin/sh +# $NetBSD: INSTALL,v 1.1.1.1 2004/07/13 10:31:13 tron Exp $ + +if [ "$2" != "POST-INSTALL" ]; then exit 0; fi +emul=linux +OPSYS=`/usr/bin/uname -s` + +cat <<EOF +============================================================================== + +EOF + +if [ "$OPSYS" = "NetBSD" ]; then + cat <<-EOF + Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems older + than 1.5) in your kernel configuration file. (Linux binaries require these + options in order to work.) + EOF +fi + +if [ "$OPSYS" = "FreeBSD" ]; then + cat <<-EOF + Do not forget to include COMPAT_LINUX in your kernel configuration file. + You also need to load "linux.ko" kernel module (using kldload(8) or by + setting linux_enable="yes" in /etc/rc.conf. + EOF +fi + +if [ "$OPSYS" = "NetBSD" ]; then + if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \ + "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then + if [ -e /emul/$emul -o -L /emul/$emul ] || \ + [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then + cat <<-EOF + + IMPORTANT: You must create a symbolic link from /emul/$emul to + ${PKG_PREFIX}/emul/$emul in order for this package to work properly. + (It seems there is something else located at /emul/$emul.) + EOF + else + mkdir -p /emul + ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul + fi + fi +fi + +if [ "$OPSYS" = "FreeBSD" ]; then + if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \ + "`cd / && cd /compat/$emul 2>/dev/null && pwd -P`" ]; then + if [ -e /compat/$emul -o -L /compat/$emul ] || \ + [ \( -e /compat -o -L /compat \) -a ! -d /compat ]; then + cat <<-EOF + + IMPORTANT: You must create a symbolic link from /compat/$emul to + ${PKG_PREFIX}/emul/$emul in order for this package to work properly. + (It seems there is something else located at /compat/$emul.) + EOF + else + mkdir -p /compat + ln -sf ${PKG_PREFIX}/emul/$emul /compat/$emul + fi + fi +fi + +cat <<EOF + +============================================================================== +EOF |