If we're building pkgbase media, install the pkg package from the
pkgbase repository we already created, not from pkg.freebsd.org.
Aside from being more desirable, this also fixes make release for
version/architecture combinations which are missing repository
on pkg.f.o (which is nearly all of them at the time of writing).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Other than one nit, this LGTM!
release/Makefile | ||
---|---|---|
250 | It's a bit awkward that we need to bypass PKG_INSTALL to override the repo dir with -R, especially since its duplicated 3 times. I think I'd prefer to to have PKGBASE_INSTALL alternative to PKG_INSTALL so that these 3 instances can't get out of sync at least. |
Comment Actions
LGTM but I agree with the suggestion that adding a PKGBASE_INSTALL macro could help. That can be a cleanup for later though.