24 Commits

Author SHA1 Message Date
Franco Fichtner
7767a6db9e firmware: for quick troubleshooting support -O like opnsense-update 2021-12-10 12:28:27 +01:00
Franco Fichtner
c4918b4c99 firmware: change CORE_ALTABI to taret ABI detection for #5144 2021-11-09 09:12:24 +01:00
Franco Fichtner
07d6658492 firmware: return ALTABI using -x #5144 2021-08-17 08:56:59 +02:00
Franco Fichtner
61ca8a7b68 pkg: add series and nickname to metadata 2021-04-09 08:56:46 +02:00
Franco Fichtner
9ae1359888 rc: whitespace in previous 2021-02-06 15:55:24 +01:00
Franco Fichtner
12637eb7f5 rc: let opnsense-version -c check package file existence 2021-02-05 13:26:43 +01:00
Franco Fichtner
c1f839ef9d firmware: introduce non-core JSON metadata handling #4500 2021-01-16 09:47:04 +01:00
Franco Fichtner
921b7c69f0 firmware: emulate -s for core package 2021-01-01 10:15:27 +01:00
Franco Fichtner
c83daaa54b sbin: usage print tweaks 2019-10-07 11:07:47 +02:00
Franco Fichtner
38be942639 firmware: move duty to return the correct name/id to opnsense-version
To be fixed there eventually without a stale note attached.
2019-02-25 08:16:21 +01:00
Franco Fichtner
972c3aa2c6 firmware: fix previous 2019-01-30 08:28:13 +01:00
Franco Fichtner
b8116f8193 firmware: kernel / base version files no longer append architecture 2019-01-30 08:23:40 +01:00
Franco Fichtner
c95c82cb87 firmware: rework opnsense-version again 2018-11-29 08:22:50 +00:00
Franco Fichtner
7f4f0821eb firmware: to ease transition sanitise version 2018-11-28 13:51:13 +00:00
Franco Fichtner
d37a1410c8 firmware: support architecture as well 2018-11-28 13:45:25 +00:00
Franco Fichtner
43b513ec7b firmware: fixup previous, we parsed twice 2018-11-28 09:38:54 +00:00
Franco Fichtner
0eb1f10095 firmware: rename "opnsense" version file to "core"
We already have "kernel" and "base" and plugins also follow this
pattern by only registering its name once per devel or release
version.  This kills ambiguity for "opnsense" vs. "opnsense-version"
and makes it more branding friendly.  Suffice to say "core", "kernel"
and "base" are reserved names and also align with tools.git.
2018-11-28 09:30:09 +01:00
Franco Fichtner
4e5d3b6ccc firmware: usual whitepsace noise 2018-11-28 09:16:09 +01:00
Franco Fichtner
16088285d8 firmware: allow size or version read from other components 2018-11-28 09:15:00 +01:00
Franco Fichtner
a7dbe83957 version: improved crypto flavour reading
product_flavour is embedded in the release package but the
package itself does not insist on a particular flavour other
than having knowledge about the flavour the package was
built for originally.  This is ok and direct crypto deps
seem to have failed to produce reliable upgrade / sidegrade
results in recent tests anyway.

Long story short: find out the real crypto flavour installed
from the OpenSSL binary or fall back to the metadata if said
binary cannot be found.
2018-09-26 20:30:45 +02:00
Franco Fichtner
ba7163a01b rc: last optimisation pass for opnsense-version 2018-09-17 07:50:33 +02:00
Franco Fichtner
d7a6e9c8bb rc: tweak opnsense-version to return custom string combinations 2018-09-17 07:49:47 +02:00
Franco Fichtner
8fcda9f8aa firmware: make firmware-upgrade the version file 2018-09-16 23:15:55 +02:00
Franco Fichtner
0cf4fe5e38 rc: hello opnsense-version! 2018-09-16 23:07:21 +02:00