From f14348016fff3aec4620c53a280f81ba529060e1 Mon Sep 17 00:00:00 2001 From: Thomas Graichen Date: Mon, 12 May 1997 11:26:23 +0000 Subject: run ldconfig on the created simpleroot where required --- distrib/simpleroot/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'distrib/simpleroot/Makefile') diff --git a/distrib/simpleroot/Makefile b/distrib/simpleroot/Makefile index 02383488695..b40c540dca8 100644 --- a/distrib/simpleroot/Makefile +++ b/distrib/simpleroot/Makefile @@ -45,6 +45,9 @@ all: sed "/^VERSION=/s/=.*/=${REV}/" < ${.CURDIR}/install.sub \ > ${MOUNT_POINT}/install.sub cp ${.CURDIR}/../${MACHINE}/install.md ${MOUNT_POINT}/install.md +.if exists(/sbin/ldconfig) + /usr/sbin/chroot ${MOUNT_POINT} /sbin/ldconfig +.endif ( cd ${MOUNT_POINT} && \ tar cf - .??* * | ${GZIP} ${GZIPFLAGS} \ > ${IMAGEDIR}/simpleroot${REV}.tar${GZIPEXT} ) -- cgit v1.2.3