mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
Recognizing Armbian system and fixing "Bitcoin Install Fails" on Armbian (#4157)
* Update build_sdcard.sh OrangePi5 was not recognized in line ~255; so recognize it by same 'Debian' method, replacing by 'Armbian' * Update bitcoin.install.sh Bitcoin Install Fails during build_sdcard.sh due to PGP key download; see https://github.com/raspiblitz/raspiblitz/issues/3753. Comment it by now * Update bitcoin.install.sh changed to secure hkps * Update home.admin/config.scripts/bitcoin.install.sh These comments are not needed here. The sole purpose was to describe the move to a PR. Co-authored-by: openoms <43343391+openoms@users.noreply.github.com> * Update build_sdcard.sh Modified the request by OpenOMS where the comments are unnecessary and kept Debian as the first option and moved Armbian down the list as an elif. --------- Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
This commit is contained in:
parent
39102b149c
commit
a6a15dc834
2 changed files with 3 additions and 1 deletions
|
@ -255,6 +255,8 @@ if [ $(cat /etc/os-release 2>/dev/null | grep -c 'Debian') -gt 0 ]; then
|
||||||
fi
|
fi
|
||||||
elif [ $(cat /etc/os-release 2>/dev/null | grep -c 'Ubuntu') -gt 0 ]; then
|
elif [ $(cat /etc/os-release 2>/dev/null | grep -c 'Ubuntu') -gt 0 ]; then
|
||||||
baseimage="ubuntu"
|
baseimage="ubuntu"
|
||||||
|
elif [ $(cat /etc/os-release 2>/dev/null | grep -c 'Armbian') -gt 0 ]; then
|
||||||
|
baseimage="armbian"
|
||||||
else
|
else
|
||||||
echo "\n# FAIL: Base Image cannot be detected or is not supported."
|
echo "\n# FAIL: Base Image cannot be detected or is not supported."
|
||||||
cat /etc/os-release 2>/dev/null
|
cat /etc/os-release 2>/dev/null
|
||||||
|
|
|
@ -27,7 +27,7 @@ if [ "$1" = "install" ]; then
|
||||||
cd /home/admin/download || exit 1
|
cd /home/admin/download || exit 1
|
||||||
|
|
||||||
# receive signer key
|
# receive signer key
|
||||||
if ! gpg --keyserver hkp://keyserver.ubuntu.com --recv-key "71A3 B167 3540 5025 D447 E8F2 7481 0B01 2346 C9A6"
|
if ! gpg --keyserver hkps://keys.openpgp.org --recv-key "71A3 B167 3540 5025 D447 E8F2 7481 0B01 2346 C9A6"
|
||||||
then
|
then
|
||||||
echo "# FAIL # Couldn't download Wladimir J. van der Laan's PGP pubkey"
|
echo "# FAIL # Couldn't download Wladimir J. van der Laan's PGP pubkey"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue