Felix Fietkau <n...@openwrt.org> writes: > How is this more useful than simply checking a hash of the kernel > module in /lib/modules and comparing that with the corresponding file > on the host?
Because the value in /sys/module/ is from the *loaded* module. So it catches the case where the module file is updated but not reloaded (was bitten by this a couple of times). Also, you can put the module source git hash as the build id, so it can be referred back to the source, rather than the compiled file. -Toke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel