efahl / owut

OpenWrt Upgrade Tool
14 stars 0 forks source link

Where to find kernel version of builds? #9

Closed efahl closed 1 month ago

efahl commented 1 month ago

@aparcar @dangowrt

owut's configuration output contains both the build number and the kernel version for the build. This is a generally useful thing to know (at least it is to me, as I'm interested in various kernel-specific features like nftables set updates that came in k 6.5 and so on).

Version-to 23.05.3 r23809-234f1a2efa (kernel 5.15.150)

Anyhow, I'm currently downloading the whole of https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64.bom.cdx.json and iterating over its 100-odd components for name = "kernel", just to grab that one version number...

It seems like it would be a natural fit in the board json, like these: https://sysupgrade.openwrt.org/json/v1/snapshots/targets/x86/64/generic.json https://sysupgrade.openwrt.org/json/v1/releases/23.05.3/targets/tegra/generic/compulab_trimslice.json

efahl commented 1 month ago

Solved in https://github.com/efahl/owut/commit/96acab61f06b1bddb87658268fb0636eb3e0f596