[systemd-devel] /etc/os-release but for images

Christopher Obbard chris.obbard at collabora.com
Tue Mar 22 16:19:38 UTC 2022


Hi Davide,

On 22/03/2022 16:10, Davide Bettio wrote:
> I would like to figure out if anyone has proposed any kind of standard 
> for storing metadata about a system image.
> 
> 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.
> 
> Our idea was to ship a /etc/base-image file

What's wrong with using /etc/os-release as intended along with the keys 
in the spec e.g. IMAGE_ID and IMAGE_VERSION ?

Thanks
Chris


More information about the systemd-devel mailing list