Page MenuHomeFreeBSD

D24517.diff
No OneTemporary

D24517.diff

Index: head/sysutils/firstboot-pkgs/Makefile
===================================================================
--- head/sysutils/firstboot-pkgs/Makefile
+++ head/sysutils/firstboot-pkgs/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= firstboot-pkgs
-PORTVERSION= 1.5
+PORTVERSION= 1.6
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
Index: head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
===================================================================
--- head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
+++ head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
@@ -30,11 +30,9 @@
# Count rc.d scripts
nscriptso=`ls /usr/local/etc/rc.d | wc -l`
- # Bootstrap if necessary
- if ! pkg -N 2>/dev/null; then
- env ASSUME_ALWAYS_YES=YES pkg bootstrap |
- cat
- fi
+ # Bootstrap and update pkg to ensure synchronization with the repository
+ env ASSUME_ALWAYS_YES=YES pkg bootstrap -f | cat
+ env ASSUME_ALWAYS_YES=YES pkg update -f | cat
# Install requested packages, if any
for package in ${firstboot_pkgs_list}; do

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 1:24 PM (13 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15811042
Default Alt Text
D24517.diff (1 KB)

Event Timeline