From e9120a256075543376496fbd75949eed1f13a887 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Sun, 22 Dec 2013 16:12:47 +0000 Subject: Bootstrap etcupdate(8) as part of the release build, similar to what is done for mergemaster(8). This allows etcupdate(8) to work out-of-box after the first upgrade of a system. Submitted by: jhb MFC after: 3 days Sponsored by: The FreeBSD Foundation --- release/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release/Makefile') diff --git a/release/Makefile b/release/Makefile index 69e0fab08c0a..eb5abc99f407 100644 --- a/release/Makefile +++ b/release/Makefile @@ -104,6 +104,8 @@ base.txz: # Set up mergemaster root database sh ${.CURDIR}/scripts/mm-mtree.sh -m ${WORLDDIR} -F \ "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${.OBJDIR}/${DISTDIR}/base" + etcupdate extract -B -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \ + -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate" # Package all components cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR} mv ${DISTDIR}/*.txz . -- cgit v1.2.3