mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
firmware: support base/kernel hash in opnsense-version; closes #6998
This commit is contained in:
parent
0a3621bb08
commit
2bff035b73
@ -193,6 +193,11 @@ core)
|
||||
product_arch=$(cat ${VERSION}.arch)
|
||||
fi
|
||||
fi
|
||||
if [ -z "${OUTPUT%%*product_hash*}" ]; then
|
||||
if [ -z "${product_hash}" -a -f ${VERSION}.hash ]; then
|
||||
product_hash=$(cat ${VERSION}.hash)
|
||||
fi
|
||||
fi
|
||||
if [ -z "${OUTPUT%%*product_id*}" ]; then
|
||||
if [ -z "${product_id}" ]; then
|
||||
# mock ID target, there is no .name file
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user