Path to this page:
./
emulators/suse113_base,
Linux compatibility package
Branch: pkgsrc-2012Q1,
Version: 11.3nb8,
Package name: suse_base-11.3nb8,
Maintainer: chsLinux compatibility package based on the SuSE Linux distribution.
Please visit http://www.suse.com/ for more information about SuSE
Linux.
This package supports running ELF binaries linked with glibc2 that
don't require X11 shared libraries.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $
EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
case "${STAGE}" in
DEINSTALL)
# Run any actions that require root privileges.
${TEST} ! -x ./+ROOT_ACTIONS ||
./+ROOT_ACTIONS REMOVE ${PKG_METADATA_DIR} || exit 1
# Blow away the /proc directory
${RMDIR} -p ${EMULDIR}/proc
# Remove some files created by pkgsrc.
${RM} -f ${EMULDIR}/etc/ld.so.cache
${RM} -f ${EMULDIR}/etc/mtab
${RM} -f ${EMULDIR}/etc/group
${RM} -f ${EMULDIR}/etc/gshadow
${RM} -f ${EMULDIR}/etc/passwd
${RM} -f ${EMULDIR}/etc/shadow
${RM} -f ${EMULDIR}/var/cache/ldconfig/aux-cache
${RM} -rf ${EMULDIR}/var/lock
;;
esac
MESSAGE.DragonFly [+/-]===========================================================================
$NetBSD: MESSAGE.DragonFly,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $
Do not forget to include COMPAT_LINUX in your kernel configuration file.
You will also need to load the "linux.ko" kernel module (using kldload(8)
or by setting linux_enable=yes in /etc/rc.conf.
Most Linux binaries also require linprocfs to be mounted.
===========================================================================
MESSAGE.FreeBSD [+/-]===========================================================================
$NetBSD: MESSAGE.FreeBSD,v 1.1.1.1 2010/09/24 01:27:52 chs Exp $
Do not forget to include COMPAT_LINUX in your kernel configuration file.
You will also need to load the "linux.ko" kernel module (using kldload(8)
or by setting linux_enable=yes in /etc/rc.conf.
Most Linux binaries also require linprocfs to be mounted.
===========================================================================
MESSAGE.NetBSD [+/-]===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.2 2010/11/02 17:24:34 chs Exp $
Do not forget to include COMPAT_LINUX in your kernel configuration file.
Linux binaries require this option in order to work.
Most Linux binaries also require procfs to be mounted with -o linux.
This can be automated by adding the following to your /etc/fstab:
procfs /${EMULSUBDIR}/proc procfs ro,linux
Some Linux binaries also require tmpfs to be mounted on /dev/shm.
This can be automated by adding the following to your /etc/fstab:
tmpfs /${EMULSUBDIR}/dev/shm tmpfs rw,-m1777
===========================================================================
Master sites:
Version history: (Expand)
- (2012-04-10) Package added to pkgsrc.se, version suse_base-11.3nb8 (created)