summaryrefslogtreecommitdiff
path: root/emulators/suse64_base/INSTALL
blob: 513d3d1d1714dbdde8028a809fd8d375def8573c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# $NetBSD: INSTALL,v 1.1.1.1 2002/04/04 10:07:57 tron Exp $

emul=linux
if [ "$2" != "POST-INSTALL" ]; then exit 0; fi

cat <<EOF
==============================================================================

Do not forget to include COMPAT_LINUX and EXEC_ELF32 in your kernel
configuration file.  (Linux binaries require these options in order to
work.)
EOF

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

cat <<EOF

==============================================================================
EOF