<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hello,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I would like to figure out if anyone has proposed any kind of standard for storing metadata about a system image.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">We need to track metadata about an image that has been flashed to a device. /etc/os-release is really good for tracking information about the operating system, but it doesn't allow us to distinguish between 2 images of the same operating system having a different set of packages and configurations.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Our idea was to ship a /etc/base-image file that contains something like:</div><div class="gmail_default" style="font-family:monospace,monospace">```<br>NAME=my-rpi-image<br>VERSION=1.0.9<br>BUILD_ID=20220425-180033-ad3498f8<br>FINGERPRINT=08da53cd-81b4-4d32-a72d-9aa04885e8d3<br>```</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">We would use the fingerprint to know which specific system image has been flashed, while the other entries are valuable information for debugging, etc...<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Is anyone aware of anything similar to this (including WIP specs)? Is this of interest?</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Regards,</div><div class="gmail_default" style="font-family:monospace,monospace">Davide Bettio.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div>