Page MenuHomeFreeBSD

tar: Move to the utilities package
ClosedPublic

Authored by ivy on Oct 13 2025, 9:48 AM.
Tags
None
Referenced Files
F173116106: D53059.diff
Wed, Sep 23, 5:42 PM
Unknown Object (File)
Sat, Sep 19, 5:42 AM
Unknown Object (File)
Thu, Sep 17, 11:01 AM
Unknown Object (File)
Wed, Sep 16, 1:22 PM
Unknown Object (File)
Sun, Sep 6, 7:58 AM
Unknown Object (File)
Wed, Sep 2, 1:03 AM
Unknown Object (File)
Tue, Sep 1, 10:47 PM
Unknown Object (File)
Aug 24 2026, 2:43 AM
Subscribers

Details

Summary

tar(1) is not a core runtime utility; in particular, nothing in
/etc/rc.d/* requires it. Move it to utilities, which is also
where cpio(1) lives.

This removes the dependency from runtime to libarchive.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Oct 13 2025, 9:48 AM
emaste added subscribers: manu, emaste.

@manu moved tar to runtime in a7b5a3d48640f3f5898b05328d71c2949b6b7098 in 2019 with the message

pkgbase: Put a lot of binaries and lib in FreeBSD-runtime

All of them are needed to be able to boot to single user and be able
to repair a existing FreeBSD installation so put them directly into
FreeBSD-runtime.

but a lot has changed since then. I'd be surprised if there's a sensible recovery workflow that works with tar in runtime and not in utilities.

This revision is now accepted and ready to land.Oct 15 2025, 6:51 PM

I don't remember why I put it in -runtime back then

This revision was automatically updated to reflect the committed changes.