HomeFreeBSD

Makefile.inc1: allow real-update-packages to be called independently

Description

Makefile.inc1: allow real-update-packages to be called independently

To perform an incremental update of a pkgbase repo, you would
call 'make update-packages', which will stage, create, and
incrementally choose newer package versions to sign as part
of a pkg repo. However, this forces you to stage the kernel
and source packages along with the world packages. For a
jail-only installation of FreeBSD, these packages are generally
not required.

This patch separates the 'update-packages' target from the
'real-update-packages' target to allow choosing world, kernel,
and/or source individually at the command line like so:

Jail-only installation:

  1. make -j`nproc` buildworld
  2. make PKG_VERSION='15.snap<date>' \ stage-packages-world create-packages-world \ real-update-packages

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1445
Closes: https://github.com/freebsd/freebsd-src/pull/1445

Details

Provenance
guest-svmhdvnAuthored on Oct 4 2024, 10:46 PM
impCommitted on Jun 13 2025, 1:21 AM
Parents
rGd0f4b71cc053: Makefile.inc1: minor style changes
Branches
Unknown
Tags
Unknown
Reverted By
rGe4988ba172a8: Revert "Makefile.inc1: allow real-update-packages to be called independently"