Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107464515
D24517.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24517.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D24517: sysutils/firstboot-pkgs: Bootstrap and update pkg unconditionally
Attached
Detach File
Event Timeline
Log In to Comment