Page MenuHomeFreeBSD

D57033.id177936.diff
No OneTemporary

D57033.id177936.diff

diff --git a/sysutils/firstboot-pkg-upgrade/Makefile b/sysutils/firstboot-pkg-upgrade/Makefile
--- a/sysutils/firstboot-pkg-upgrade/Makefile
+++ b/sysutils/firstboot-pkg-upgrade/Makefile
@@ -1,5 +1,5 @@
PORTNAME= firstboot-pkg-upgrade
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
diff --git a/sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in b/sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in
--- a/sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in
+++ b/sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in
@@ -29,16 +29,17 @@
firstboot_pkg_upgrade_run()
{
- pkg -N > /dev/null 2>&1 || pkg bootstrap -y
- pkg update
-
- state_orig=`pkg info | sha256`
repo_args=""
for repo in ${firstboot_pkg_upgrade_repos}; do
repo_args="${repo_args} -r ${repo}"
done
+ pkg -N > /dev/null 2>&1 || pkg bootstrap -y
+ pkg update ${repo_args}
+
+ state_orig=`pkg info | sha256`
+
env AUTOCLEAN=ON pkg upgrade ${repo_args} -y
state_new=`pkg info | sha256`

File Metadata

Mime Type
text/plain
Expires
Tue, May 26, 8:20 PM (9 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33531668
Default Alt Text
D57033.id177936.diff (1 KB)

Event Timeline