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)
Sat, Jan 31, 6:24 AM
Unknown Object (File)
Thu, Jan 29, 6:16 AM
Unknown Object (File)
Sat, Jan 24, 12:41 PM
Unknown Object (File)
Jan 5 2026, 2:08 AM
Unknown Object (File)
Dec 11 2025, 12:12 PM
Unknown Object (File)
Nov 27 2025, 7:29 AM
Unknown Object (File)
Nov 24 2025, 10:46 AM
Unknown Object (File)
Nov 10 2025, 5:40 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.