Page MenuHomeFreeBSD

tar: Move to the utilities package
ClosedPublic

Authored by ivy on Oct 13 2025, 9:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 12:12 PM
Unknown Object (File)
Thu, Nov 27, 7:29 AM
Unknown Object (File)
Mon, Nov 24, 10:46 AM
Unknown Object (File)
Nov 10 2025, 5:40 AM
Unknown Object (File)
Nov 10 2025, 3:17 AM
Unknown Object (File)
Nov 8 2025, 3:17 PM
Unknown Object (File)
Nov 7 2025, 4:13 PM
Unknown Object (File)
Oct 29 2025, 6:36 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.