diff --git a/src/opnsense/scripts/filter/update_bogons.sh b/src/opnsense/scripts/filter/update_bogons.sh index 6b6987eec..5ee13f975 100755 --- a/src/opnsense/scripts/filter/update_bogons.sh +++ b/src/opnsense/scripts/filter/update_bogons.sh @@ -10,7 +10,8 @@ COMMAND=${1} CORE_ABI=$(opnsense-version -a) SYS_ABI=$(opnsense-verify -a) -URL="https://pkg.opnsense.org/${SYS_ABI}/${CORE_ABI}/sets/bogons.txz" +# force amd64 here since changelogs are not published elsewhere +URL="https://pkg.opnsense.org/${SYS_ABI%:*}:amd64/${CORE_ABI}/sets/bogons.txz" echo "bogons update starting" | logger diff --git a/src/opnsense/scripts/firmware/changelog.sh b/src/opnsense/scripts/firmware/changelog.sh index c3e72d438..df17243d7 100755 --- a/src/opnsense/scripts/firmware/changelog.sh +++ b/src/opnsense/scripts/firmware/changelog.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2016-2022 Franco Fichtner +# Copyright (c) 2016-2023 Franco Fichtner # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -51,7 +51,8 @@ changelog_url() CORE_ABI=$(opnsense-version -x) SYS_ABI=$(opnsense-verify -a) - URLPREFIX="https://pkg.opnsense.org/${SYS_ABI}/${CORE_ABI}" + force amd64 here since changelogs are not published elsewhere + URLPREFIX="https://pkg.opnsense.org/${SYS_ABI%:*}:amd64/${CORE_ABI}" if [ -n "$(opnsense-update -x)" ]; then # changelogs differ for business subscriptions