[Bug 281889] add pkgbase meta-packages for easier usage
Date: Sun, 06 Oct 2024 10:26:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281889 Bug ID: 281889 Summary: add pkgbase meta-packages for easier usage Product: Base System Version: 14.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: antranigv@freebsd.am The current process of using PkgBase is to run the following pkg install -r FreeBSD-base -g ‘*’ While this works fine, it will indeed install everything. and I mean everything, the test suite, the debug binaries, and more. During our “Production Users Call” meetup, Jan has suggested to use the following ``` $pkgbase_query_small=" %n ~ FreeBSD-* && %n !~ *-lib32 && %n !~ *-dbg && %n !~ *-dev && %n !~ FreeBSD-kernel-* && %n !~ FreeBSD-bootloader && %n !~ FreeBSD-bsnmp && %n !~ FreeBSD-clang && %n !~ FreeBSD-cxgbe-tools && %n !~ FreeBSD-dtrace && %n !~ FreeBSD-lld && %n !~ FreeBSD-lldb && %n !~ FreeBSD-mlx-tools && %n !~ FreeBSD-rescue && %n !~ FreeBSD-src* && %n !~ FreeBSD-tests "; ``` This one has a much smaller footprint, which is perfect for Jails. I was wondering, if we can have multiple meta-packages for users. For example, FreeBSD-world (everything, FreeBSD-base (same as base.txz), FreeBSD-tests (for tests) -src, -dbg, etc. And finally, we can also try having FreeBSD-jail, which would be the minimum requirement for Jails. For example, Jails don’t need wpa_supplicant (they could, but 99.99% of the time they don’t) This would allow us to do pkg -r /path/to/jail install FreeBSD-jail and have a nice, tidy jail. let me know, P.S. I just realized that “FreeBSD-jail” is already a package, it’s the jail utilities, so a better naming might be required, like FreeBSD-mini, or FreeBSD-jail-flavor, but I’ll leave the naming to the pros :) -- You are receiving this mail because: You are the assignee for the bug.