From 25f0135c490a3cae7676bc01586eaa4e44df34d8 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 23 Jan 2018 17:59:06 +0000 Subject: [PATCH] Add /boot/overlays to runtime pkg, fix distrib-dirs METALOG generation /boot/overlays was recently added without belonging to a package. It's only used by bootloaders at the moment, so add it to the 'runtime' package to get added with ubldr and friends. Fix distrib-dirs METALOG generation while we're here. History elsewhere seems to indicate that bapt@ fixed this to pull in all attributes from mtrees while generating the METALOG. This fix got clobbered somewhere later, so restore it. Reviewed by: bapt, gjb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D13996 --- etc/Makefile | 4 ++-- etc/mtree/BSD.root.dist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 641cf2dcfe6..849f06be94e 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -379,10 +379,10 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY d=${DISTBASE}$$d; \ shift; \ test -d ${DESTDIR}/$$d || mkdir -p ${DESTDIR}/$$d; \ - ${ECHO} "${MTREE_CMD:N-W} -C -f $$m -K uname,gname | " \ + ${ECHO} "${MTREE_CMD:N-W} -C -f $$m -K all | " \ "sed s#^\.#.$$d# | ${METALOG.add}" ; \ ${MTREE_FILTER} $$m | \ - ${MTREE_CMD:N-W} -C -K uname,gname | sed s#^\.#.$$d# | \ + ${MTREE_CMD:N-W} -C -K all | sed s#^\.#.$$d# | \ ${METALOG.add} ; \ done; true .endif diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist index 92555fbc4ca..267913d8913 100644 --- a/etc/mtree/BSD.root.dist +++ b/etc/mtree/BSD.root.dist @@ -18,7 +18,7 @@ .. modules .. - overlays + overlays tags=package=runtime .. zfs ..