Wouldn't "pkg bootstrap -f" do what you want without hardcoding versions?

Regards,
Ronald.


Van: Brooks Davis <[email protected]>
Datum: dinsdag, 5 december 2023 20:04
Aan: [email protected], [email protected], 
[email protected]
Onderwerp: git: 3c097b06a717 - main - Cirrus-CI: forcably upgrade pkg to latest

The branch main has been updated by brooks:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3c097b06a71715ec9ae86430ee94e25e954a1e36

commit 3c097b06a71715ec9ae86430ee94e25e954a1e36
Author:     Jose Luis Duran <[email protected]>
AuthorDate: 2023-12-05 19:04:04 +0000
Commit:     Brooks Davis <[email protected]>
CommitDate: 2023-12-05 19:04:04 +0000

    Cirrus-CI: forcably upgrade pkg to latest
make packages requires the latest pkg for now so force that. Differential Revision: https://reviews.freebsd.org/D42908
---
 .cirrus.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.cirrus.yml b/.cirrus.yml
index 8e14dc9c0305..3abf6898a66d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -75,6 +75,11 @@ task:
   install_script:
   - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} git-lite
+ xxx_upgrade_pkg_script:
+  - fetch http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/pkg-1.20.9.pkg
+  - pkg install -y ./pkg-1.20.9.pkg
+  - rm -f pkg-1.20.9.pkg
+
   setup_script:
   - uname -a
   - gpart show



Reply via email to