summaryrefslogtreecommitdiff
path: root/emulators/suse_base/PLIST
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-08-16 00:30:41 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-08-16 00:30:41 +0000
commit22d865d3884c48d9b8166ce9e2f17f8ad52b1da9 (patch)
treee75620e53707270ae17524e9c5fcb030e00c8778 /emulators/suse_base/PLIST
parentd923610a485e07ec62f079d2c220cf827b973f9f (diff)
downloadpkgsrc-22d865d3884c48d9b8166ce9e2f17f8ad52b1da9.tar.gz
Instead of creating links from ${EMULDIR}/dev to /dev for things like
/dev/null, create them with MAKEDEV. This avoids ugly problem with realpath and readlink in linux binaries that try to fully resolve where /dev/null lives. Bump PKGREVISION to 7.
Diffstat (limited to 'emulators/suse_base/PLIST')
-rw-r--r--emulators/suse_base/PLIST13
1 files changed, 6 insertions, 7 deletions
diff --git a/emulators/suse_base/PLIST b/emulators/suse_base/PLIST
index 71e4fc71366..2084926e421 100644
--- a/emulators/suse_base/PLIST
+++ b/emulators/suse_base/PLIST
@@ -1,14 +1,13 @@
-@comment $NetBSD: PLIST,v 1.6 2004/02/19 11:37:11 cjs Exp $
+@comment $NetBSD: PLIST,v 1.7 2005/08/16 00:30:41 dmcmahill Exp $
sbin/linux-mkpwd
@unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
@@EMULSUBDIR@@/etc/SuSE-release
@@EMULSUBDIR@@/etc/ld.so.conf
@unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow
@exec ${MKDIR} %D/@@EMULSUBDIR@@/dev
-@exec ln -s /dev/sound %D/@@EMULSUBDIR@@/dev/dsp
-@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/dsp
-@exec ln -s /dev/null %D/@@EMULSUBDIR@@/dev/null
-@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/null
-@exec ln -s /dev/tty %D/@@EMULSUBDIR@@/dev/tty
-@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/tty
+@exec cp -p /dev/MAKEDEV %D/@@EMULSUBDIR@@/dev
+@exec cd %D/@@EMULSUBDIR@@/dev && sh ./MAKEDEV std audio
+@exec cd %D/@@EMULSUBDIR@@/dev && ln -s sound dsp
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/*
@dirrm @@EMULSUBDIR@@/dev
+