|
|
Log in / Subscribe / Register

Just get rid of the sid name

Just get rid of the sid name

Posted Aug 11, 2024 7:52 UTC (Sun) by gioele (subscriber, #61675)
In reply to: Just get rid of the sid name by NYKevin
Parent article: Distinguishing Debian testing from unstable

> > Because every other distribution can self-identify. Why would there need to be something else when that works just fine?
>
> You're already doing like 80% of the work. You need to have a standard "recipe book" for creating images (unless you're one of those "the sysadmin does everything manually" people, but those people mostly don't use images in the first place). All I'm suggesting is that you keep track of which recipe you used. It's one value, which is probably just an integer or UUID. Why is that difficult?

It's a matter of standardization.

You, as the creator of the images can easily write some sort of identifier somewhere. But the hundreds of applications out there that may do something based on that identifier need to be taught how to read that identifier you came up with (filename, format, etc.).

os-release already specifies all this in a standardized way and is supported by all programs that care about identifying an OS/image/VM. Such programs can rely on os-release being correct on all distros, except Debian.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds