aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2013-12-22 16:12:47 +0000
committerGlen Barber <gjb@FreeBSD.org>2013-12-22 16:12:47 +0000
commite9120a256075543376496fbd75949eed1f13a887 (patch)
tree617ff02347db41fac7c4d3af59d15d1704b271bc /release/Makefile
parente58e20aeda740457e5124a78abb1c6c50bb97189 (diff)
downloadsrc-e9120a256075543376496fbd75949eed1f13a887.tar.gz
src-e9120a256075543376496fbd75949eed1f13a887.zip
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
Notes
Notes: svn path=/head/; revision=259729
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile2
1 files changed, 2 insertions, 0 deletions
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 .