From 9d424b5f2ebdb51ac2b10fb48450419b24fc0d8b Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 29 Jul 2025 15:48:43 +0200 Subject: [PATCH 1/3] snap: Use core22 --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3d589a9..a115594 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -8,7 +8,7 @@ description: | grade: stable confinement: strict -base: core20 +base: core22 apps: daemon: From 2aa869898c542e0e86155bf40ab8d5eb84914834 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 29 Jul 2025 15:48:58 +0200 Subject: [PATCH 2/3] Revert "ci: Avoid separate pull to work around snap issue" Now that the issue was worked around in the previous commit, commit 577ccb004239e598ca344d24e92d1de7f1fa27a3 can be reverted. --- .cirrus.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index c5c2698..479442c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -10,5 +10,7 @@ task: - snap install snapcraft --classic - snap install lxd - /snap/bin/lxd init --auto - snapcraft_build_script: + snapcraft_pull_script: + - snapcraft pull --use-lxd + ci_script: - snapcraft --use-lxd From 9182a28979a207ed162bab46f7892ae08d540196 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 29 Jul 2025 15:52:51 +0200 Subject: [PATCH 3/3] snap: Use curl over wget wget is deprecated in favor of wget2 development. However, using that as a drop-in replacement for wget1 is a breaking change. So just switch to curl, which is more stable and more than sufficient in this context here. --- snap/snapcraft.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a115594..73c25d0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -50,9 +50,9 @@ parts: plugin: nil override-build: | env | grep SNAP - wget https://bitcoincore.org/bin/bitcoin-core-${SNAPCRAFT_PROJECT_VERSION}/SHA256SUMS - wget https://bitcoincore.org/bin/bitcoin-core-${SNAPCRAFT_PROJECT_VERSION}/bitcoin-${SNAPCRAFT_PROJECT_VERSION}.tar.gz - wget https://bitcoincore.org/bin/bitcoin-core-${SNAPCRAFT_PROJECT_VERSION}/bitcoin-${SNAPCRAFT_PROJECT_VERSION}-${SNAPCRAFT_ARCH_TRIPLET}.tar.gz + curl -LO https://bitcoincore.org/bin/bitcoin-core-${SNAPCRAFT_PROJECT_VERSION}/SHA256SUMS + curl -LO https://bitcoincore.org/bin/bitcoin-core-${SNAPCRAFT_PROJECT_VERSION}/bitcoin-${SNAPCRAFT_PROJECT_VERSION}.tar.gz + curl -LO https://bitcoincore.org/bin/bitcoin-core-${SNAPCRAFT_PROJECT_VERSION}/bitcoin-${SNAPCRAFT_PROJECT_VERSION}-${SNAPCRAFT_ARCH_TRIPLET}.tar.gz echo "94ec151f452a221393d08f6b02fb30baacbeb59f194611f49069e7f5509b46fe SHA256SUMS" | sha256sum --check sha256sum --ignore-missing --check SHA256SUMS tar -xvf bitcoin-${SNAPCRAFT_PROJECT_VERSION}-${SNAPCRAFT_ARCH_TRIPLET}.tar.gz @@ -65,10 +65,10 @@ parts: install -m 0755 -D -t $SNAPCRAFT_PART_INSTALL/bin bitcoin-${SNAPCRAFT_PROJECT_VERSION}/bin/bitcoin-tx install -m 0755 -D -t $SNAPCRAFT_PART_INSTALL/bin bitcoin-${SNAPCRAFT_PROJECT_VERSION}/bin/bitcoin-wallet install -m 0755 -D -t $SNAPCRAFT_PART_INSTALL/bin bitcoin-${SNAPCRAFT_PROJECT_VERSION}/bin/bitcoin-util - wget https://raw.githubusercontent.com/bitcoin/bitcoin/v${SNAPCRAFT_PROJECT_VERSION}/share/pixmaps/bitcoin128.png + curl -LO https://raw.githubusercontent.com/bitcoin/bitcoin/v${SNAPCRAFT_PROJECT_VERSION}/share/pixmaps/bitcoin128.png install -m 0644 -D -t $SNAPCRAFT_PART_INSTALL/share/pixmaps bitcoin128.png build-packages: - - wget + - curl stage-packages: - libxcb1 - libxkbcommon0