diff options
author | wiz <wiz@pkgsrc.org> | 2004-10-02 01:26:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-10-02 01:26:19 +0000 |
commit | a8460971fda5414e399de38d6196771453b3711e (patch) | |
tree | 36d261df68209d3252302ba43e996121d01603da /emulators/suse91_base | |
parent | 09207a0a20d03c9102db49dc3b52009eebc3456c (diff) | |
download | pkgsrc-a8460971fda5414e399de38d6196771453b3711e.tar.gz |
Make ${EMULDIR}/etc/mtab point to ${EMULDIR}/proc/mounts, to make
df work at least if procfs -o linux is mount in ${EMULDIR}/proc.
Add and remove proc dir.
Bump PKGREVISION to 3.
Diffstat (limited to 'emulators/suse91_base')
-rw-r--r-- | emulators/suse91_base/Makefile | 8 | ||||
-rw-r--r-- | emulators/suse91_base/PLIST | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/emulators/suse91_base/Makefile b/emulators/suse91_base/Makefile index ed2a14678cf..1cf13f0dafb 100644 --- a/emulators/suse91_base/Makefile +++ b/emulators/suse91_base/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2004/08/30 00:00:25 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2004/10/02 01:26:19 wiz Exp $ DISTNAME= suse_base-${SUSE_VERSION} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SUSE91} DISTFILES= ${RPMFILES} @@ -57,12 +57,16 @@ do-install: ${RPM2PKG} ${RPM2PKGARGS} ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC} ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc + ${INSTALL_DATA_DIR} ${EMULDIR}/proc + ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab .if ${OPSYS} == "FreeBSD" ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig .endif ${EMULDIR}/sbin/ldconfig -r ${EMULDIR} ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \ >>${PLIST_SRC} + ${ECHO} "@unexec ${RMDIR} %D/${EMULSUBDIR}/etc 2>/dev/null || ${TRUE}" \ + >>${PLIST_SRC} ${SED} -e 's:#! :#! /${EMULSUBDIR}:' \ -e 's:^RTLD=:RTLD=/${EMULSUBDIR}:' \ < ${LINUX_LDD} > ${LINUX_LDD}.new diff --git a/emulators/suse91_base/PLIST b/emulators/suse91_base/PLIST index 10568afa11e..50621699660 100644 --- a/emulators/suse91_base/PLIST +++ b/emulators/suse91_base/PLIST @@ -1,8 +1,10 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/10/02 01:26:19 wiz Exp $ sbin/linux-mkpwd @unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache @@EMULSUBDIR@@/etc/SuSE-release +@@EMULSUBDIR@@/etc/mtab @@EMULSUBDIR@@/usr/lib/libz.so.1 +@dirrm @@EMULSUBDIR@@/proc @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 |