pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/suse91_base Make ${EMULDIR}/etc/mtab point t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/112a9328f233
branches: trunk
changeset: 481333:112a9328f233
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Oct 02 01:26:19 2004 +0000
description:
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:
emulators/suse91_base/Makefile | 8 ++++++--
emulators/suse91_base/PLIST | 4 +++-
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r 107fc060e10b -r 112a9328f233 emulators/suse91_base/Makefile
--- a/emulators/suse91_base/Makefile Sat Oct 02 00:50:14 2004 +0000
+++ b/emulators/suse91_base/Makefile Sat Oct 02 01:26:19 2004 +0000
@@ -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 @@
${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 -r 107fc060e10b -r 112a9328f233 emulators/suse91_base/PLIST
--- a/emulators/suse91_base/PLIST Sat Oct 02 00:50:14 2004 +0000
+++ b/emulators/suse91_base/PLIST Sat Oct 02 01:26:19 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index