Path to this page:
./
emulators/suse15_base,
Linux compatibility package
Branch: pkgsrc-2022Q4,
Version: 15.5nb1,
Package name: suse_base-15.5nb1,
Maintainer: pkgsrc-usersLinux compatibility package based on the openSUSE Linux distribution.
Please visit http://www.opensuse.org/ for more information about openSUSE
Linux.
This package supports running ELF binaries linked with glibc2 that
don't require X11 shared libraries.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.1 2022/10/02 17:17:17 wiz 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.NetBSD [+/-]===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.1 2022/10/02 17:17:17 wiz Exp $
Do not forget to modload the compat_linux or compat_linux32 modules.
Linux binaries require these in order to work. In older NetBSD versions
these will be autoloaded. Edit /etc/modules.conf to load the modules
automatically on boot.
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)
- (2022-12-27) Package added to pkgsrc.se, version suse_base-15.5nb1 (created)