Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Oct 2024 10:26:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281889] add pkgbase meta-packages for easier usage
Message-ID:  <bug-281889-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281889

            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 =E2=80=98*=E2=80=99

While this works fine, it will indeed install everything. and I mean
everything, the test suite, the debug binaries, and more.

During our =E2=80=9CProduction Users Call=E2=80=9D meetup, Jan has suggeste=
d to use the
following

```
$pkgbase_query_small=3D"
        %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=E2=80=99t need wpa_supplicant=
 (they
could, but 99.99% of the time they don=E2=80=99t)

This would allow us to do=20

pkg -r /path/to/jail install FreeBSD-jail

and have a nice, tidy jail.

let me know,

P.S. I just realized that =E2=80=9CFreeBSD-jail=E2=80=9D is already a packa=
ge, it=E2=80=99s the jail
utilities, so a better naming might be required, like FreeBSD-mini, or
FreeBSD-jail-flavor, but I=E2=80=99ll leave the naming to the pros :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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