Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2025 05:54:43 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fa6d67cd16b5 - main - BSD.root.dist: Add package tag for all directories
Message-ID:  <202510080554.5985shej003850@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=fa6d67cd16b50a7a0be1f003cf1aa1f4064fc2c9

commit fa6d67cd16b50a7a0be1f003cf1aa1f4064fc2c9
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-10-08 05:49:47 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-10-08 05:54:36 +0000

    BSD.root.dist: Add package tag for all directories
    
    This fixes some missing directories, notably /boot/modules.  Other
    directories are not missing because they contain other files, but
    they should still have their own METALOG entries and be placed in
    the correct package.
    
    MFC after:      3 days
    Reported by:    bdrewery
    Reviewed by:    cperciva, imp
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D52958
---
 etc/mtree/BSD.root.dist | 90 +++++++++++++++++++++++++------------------------
 1 file changed, 46 insertions(+), 44 deletions(-)

diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
index 6ba632894ca7..95a3361b3c61 100644
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -4,8 +4,9 @@
 
 /set type=dir uname=root gname=wheel mode=0755
 .
-    bin
+    bin     tags=package=runtime
     ..
+/set tags=package=bootloader
     boot
         defaults
         ..
@@ -27,7 +28,7 @@
         ..
         kernel
         ..
-        loader.conf.d   tags=package=bootloader
+        loader.conf.d
         ..
         lua
         ..
@@ -38,88 +39,89 @@
         zfs
         ..
     ..
+/unset tags
     dev             mode=0555 tags=package=runtime
     ..
-    etc
-        X11
+    etc                 tags=package=runtime
+        X11             tags=package=runtime
         ..
-        authpf
+        authpf          tags=package=pf
         ..
-        autofs
+        autofs          tags=package=autofs
         ..
-        bluetooth
+        bluetooth       tags=package=bluetooth
         ..
-        cron.d
+        cron.d          tags=package=cron
         ..
-        defaults
+        defaults        tags=package=runtime
         ..
-        devd
+        devd            tags=package=devd
         ..
-        dma
+        dma             tags=package=dma
         ..
-        gss
+        gss             tags=package=runtime
         ..
-        jail.conf.d
+        jail.conf.d     tags=package=jail
         ..
         kyua            tags=package=tests
         ..
-        mail
+        mail            tags=package=runtime
         ..
-        mtree
+        mtree           tags=package=mtree
         ..
-        newsyslog.conf.d
+        newsyslog.conf.d tags=package=newsyslog
         ..
-        ntp             mode=0700
+        ntp             mode=0700 tags=package=ntp
         ..
-        pam.d
+        pam.d           tags=package=runtime
         ..
-        periodic
-            daily
+        periodic        tags=package=periodic
+            daily       tags=package=periodic
             ..
-            monthly
+            monthly     tags=package=periodic
             ..
-            security
+            security    tags=package=periodic
             ..
-            weekly
+            weekly      tags=package=periodic
             ..
         ..
-        pkg
+        pkg             tags=package=pkg-bootstrap
         ..
-        ppp
+        ppp             tags=package=ppp
         ..
-        profile.d
+        profile.d       tags=package=runtime
         ..
-        rc.conf.d
+        rc.conf.d       tags=package=rc
         ..
-        rc.d
+        rc.d            tags=package=rc
         ..
-        security
+        security        tags=package=audit
         ..
-        ssh
+        ssh             tags=package=ssh
         ..
-        ssl
+        ssl             tags=package=caroot
             certs		tags=package=caroot
             ..
             untrusted		tags=package=caroot
             ..
         ..
-        sysctl.kld.d
+        sysctl.kld.d    tags=package=runtime
         ..
-        syslog.d
+        syslog.d        tags=package=syslogd
         ..
-        zfs			tags=package=zfs
-            compatibility.d
+        zfs                     tags=package=zfs
+            compatibility.d     tags=package=zfs
             ..
         ..
     ..
-    lib
-        geom
+    lib                 tags=package=clibs
+        geom            tags=package=geom
         ..
-        nvmecontrol
+        nvmecontrol     tags=package=nvme-tools
         ..
     ..
-    libexec
-        resolvconf
+    libexec             tags=package=clibs
+        resolvconf      tags=package=resolvconf
         ..
     ..
     media           tags=package=runtime
@@ -132,14 +134,14 @@
     ..
     rescue          tags=package=rescue
     ..
-    root            mode=0750
+    root            mode=0750 tags=package=runtime
     ..
-    sbin
+    sbin            tags=package=runtime
     ..
     tmp             mode=01777 tags=package=runtime
     ..
-    usr
+    usr             tags=package=runtime
     ..
-    var
+    var             tags=package=runtime
     ..
 ..



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510080554.5985shej003850>