Page MenuHomeFreeBSD

pkgbase: Fix OSVERSION specification when creating a repo
ClosedPublic

Authored by markj on Jan 19 2025, 11:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 2, 6:24 AM
Unknown Object (File)
Thu, Jan 1, 7:22 PM
Unknown Object (File)
Wed, Dec 31, 3:44 AM
Unknown Object (File)
Sun, Dec 28, 7:33 PM
Unknown Object (File)
Fri, Dec 19, 7:30 AM
Unknown Object (File)
Dec 4 2025, 11:28 PM
Unknown Object (File)
Dec 2 2025, 2:30 AM
Unknown Object (File)
Nov 30 2025, 10:27 AM
Subscribers

Details

Summary

-o OSVERSION= needs to appear before the "repo" verb, otherwise it has
no effect. In this case, recent pkg-devel fails to create the repo,
saying that ABI cannot be specified without OSVERSION.

MFC after: 2 weeks
Fixes: 188fe88ec50e ("pkgbase: force OSVERSION")

Diff Detail

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