mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
a41c064fb8
The background of this patch is available at: https://lists.freebsd.org/pipermail/freebsd-cloud/2020-April/000234.html Even a `pkg -N` success, the following `pkg install` may still fail because of the repository version doesn't match between client and server. Therefore, unconditionally bootstrap and update pkg at firstboot to ensure pkg and local metadata are update-to-date. Approved by: cperciva (maintainer) MFH: 2020Q2 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24517
21 lines
339 B
Makefile
21 lines
339 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= firstboot-pkgs
|
|
PORTVERSION= 1.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= cperciva@FreeBSD.org
|
|
COMMENT= Install packages when the system first boots
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
NO_INSTALL= yes
|
|
NO_ARCH= yes
|
|
|
|
USE_RC_SUBR= firstboot_pkgs
|
|
|
|
.include <bsd.port.mk>
|