diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-05-12 11:26:23 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-05-12 11:26:23 +0000 |
commit | f14348016fff3aec4620c53a280f81ba529060e1 (patch) | |
tree | 57592dd6144fc49c266bd0da4e181406faa7fe76 /distrib/simpleroot/Makefile | |
parent | d20f20c87277e48559172504ebb7d51c9db3abfd (diff) |
run ldconfig on the created simpleroot where required
Diffstat (limited to 'distrib/simpleroot/Makefile')
-rw-r--r-- | distrib/simpleroot/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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} ) |