git: 9ddbc3d4d342 - stable/14 - pkgbase: Create two new rules for creating repo

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 04 Jun 2024 11:36:49 UTC
The branch stable/14 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=9ddbc3d4d34236f71b25a8244242a8471ec248fd

commit 9ddbc3d4d34236f71b25a8244242a8471ec248fd
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-01-26 18:52:03 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-06-04 11:36:24 +0000

    pkgbase: Create two new rules for creating repo
    
    This adds two new rules named create-packages-kernel-repo and
    create-packages-world-repo.
    The goal of those rules is to create the {kernel,world} packages and
    after that the repository.
    It helps a lot for developing with pkgbase by adding the dev machine
    repository created by those rules on top of the official pkgbase one.
    
    Differential Revision:  https://reviews.freebsd.org/D43623
    Reviewed by:    bapt, emaste
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit a5ff900535e24e3a3cd02287d733e1d1e5e9583a)
---
 Makefile      | 4 +++-
 Makefile.inc1 | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5f03d7212a0c..60639f908b98 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,9 @@ TGTS=	all all-man buildenv buildenvvars buildetc buildkernel buildworld \
 	builddtb xdev xdev-build xdev-install \
 	xdev-links native-xtools native-xtools-install stageworld stagekernel \
 	stage-packages stage-packages-kernel stage-packages-world stage-packages-source \
-	create-packages-world create-packages-kernel create-packages-source create-packages \
+	create-packages-world create-packages-kernel \
+	create-packages-kernel-repo create-packages-world-repo \
+	create-packages-source create-packages \
 	update-packages packages installconfig real-packages real-update-packages \
 	sign-packages package-pkg print-dir test-system-compiler test-system-linker \
 	test-includes
diff --git a/Makefile.inc1 b/Makefile.inc1
index d317e3acdd7f..141a18d7b745 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2079,6 +2079,10 @@ create-packages-kernel:	_pkgbootstrap _repodir .PHONY
 			SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \
 			create-kernel-packages
 
+create-packages-kernel-repo: .PHONY create-packages-kernel sign-packages
+
+create-packages-world-repo: .PHONY create-packages-world sign-packages
+
 create-packages-source:	_pkgbootstrap _repodir .PHONY
 	${_+_}@cd ${.CURDIR}; \
 		${MAKE} -f Makefile.inc1 \