mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
firmware: fetch bogons/changelogs from amd64 ABI; closes #6688
This commit is contained in:
parent
a18406fade
commit
f35db24e61
@ -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
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2016-2022 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2016-2023 Franco Fichtner <franco@opnsense.org>
|
||||
#
|
||||
# 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user