git: 724972790e8c - stable/15 - mtree: Add package tags to some root directories
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Sep 2025 16:43:47 UTC
The branch stable/15 has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=724972790e8c862dd8f4b42622000cd879392936
commit 724972790e8c862dd8f4b42622000cd879392936
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-09-19 16:38:24 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-19 16:42:54 +0000
mtree: Add package tags to some root directories
This ensures the normally-empty directories /proc, /net, /media and /mnt
are created on a fresh pkgbase install.
Put /proc, /mnt and /media in -runtime since those are basic directories
that should always exist. /net is only used by the automounter, so put
that in -autofs. While here, also tag /rescue in -rescue, since nothing
else installs there.
After discussion with cperciva, this is being MFC'd early so we can land
it in the 15.0-ALPHA3 build.
Reported by: Graham Perrin <grahamperrin@gmail.com>
PR: 289654
MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D52622
(cherry picked from commit b3468202994f6856c5c49f3365e05f4f8017d680)
---
etc/mtree/BSD.root.dist | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
index 5ea99ccbdb89..6ba632894ca7 100644
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -122,15 +122,15 @@
resolvconf
..
..
- media
+ media tags=package=runtime
..
- mnt
+ mnt tags=package=runtime
..
- net
+ net tags=package=autofs
..
- proc mode=0555
+ proc mode=0555 tags=package=runtime
..
- rescue
+ rescue tags=package=rescue
..
root mode=0750
..