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)
Mon, Nov 10, 5:40 AM
Unknown Object (File)
Mon, Nov 10, 3:17 AM
Unknown Object (File)
Sat, Nov 8, 3:17 PM
Unknown Object (File)
Fri, Nov 7, 4:13 PM
Unknown Object (File)
Wed, Oct 29, 6:36 AM
Unknown Object (File)
Wed, Oct 29, 4:45 AM
Unknown Object (File)
Wed, Oct 29, 4:44 AM
Unknown Object (File)
Wed, Oct 29, 4:41 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.