ac4933ff6f
If a list of repositories has been specified, only run 'pkg update' on those repositories; in particular, avoiding downloading the entire FreeBSD-ports repository when we're not going to be using it allows FreeBSD/EC2 instances (and presumably those other clouds too) to launch roughly 5 seconds faster. Reviewed by: ziaee Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D57033
21 lines
361 B
Makefile
21 lines
361 B
Makefile
PORTNAME= firstboot-pkg-upgrade
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= ziaee@FreeBSD.org
|
|
COMMENT= Update the system using pkg when it first boots
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
NO_INSTALL= yes
|
|
NO_ARCH= yes
|
|
|
|
USE_RC_SUBR= firstboot_pkg_upgrade
|
|
|
|
.include <bsd.port.mk>
|