[Bug 834167] New: Enhance /etc/os-release
https://bugzilla.novell.com/show_bug.cgi?id=834167 https://bugzilla.novell.com/show_bug.cgi?id=834167#c0 Summary: Enhance /etc/os-release Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: coolo@suse.com ReportedBy: mvyskocil@suse.com QAContact: qa-bugs@suse.de CC: aj@suse.com, behlert@suse.com, fcrozat@suse.com Found By: --- Blocker: --- Hi, during a check of os-release documentation, I have realized there are plenty options we don't have in our /etc/os-release. Most important is ID_LIKE, which is supposed to put the same name for close systems, where we should mention suse (or sles?). ID_LIKE="suse" The point is to have /etc/os-release, which can say this is suse based distro, which is mostly the same as popular and commonly used [ -f /etc/SuSE-release ] check does. Adding Frederic and Stefan to CC for SLES. There are few nice-to-have things as well HOME_URL=, SUPPORT_URL=, BUG_REPORT_URL= HOME_URL=https://opensuse.org/ SUPPORT_URL=?? BUG_REPORT_URL=https://bugzilla.novell.com/ see documentation http://www.freedesktop.org/software/systemd/man/os-release.html and relevant opensuse-factory thread http://lists.opensuse.org/opensuse-factory/2013-08/msg00161.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=834167 https://bugzilla.novell.com/show_bug.cgi?id=834167#c1 --- Comment #1 from Michal Vyskocil <mvyskocil@suse.com> 2013-08-12 12:31:30 UTC --- BUG_REPORT_URL=https://bugs.opensuse.org might be good variant -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=834167 https://bugzilla.novell.com/show_bug.cgi?id=834167#c2 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Stephan Kulow <coolo@suse.com> 2013-09-27 10:27:14 CEST --- +echo 'BUG_REPORT_URL="https://bugs.opensuse.org"' >> $RPM_BUILD_ROOT/etc/os-release +echo 'HOME_URL="https://opensuse.org/"' >> $RPM_BUILD_ROOT/etc/os-release +echo 'ID_LIKE="suse"' >> $RPM_BUILD_ROOT/etc/os-release So for SLE12 we should have ID=suse, ID_LIKE=opensuse ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=834167 https://bugzilla.novell.com/show_bug.cgi?id=834167#c3 --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2013-09-27 14:59:54 UTC --- I'm not sure if we want, for SLE12, ID=SLE or SLES / SLES and ID_LIKE="suse" there is also the CPE_NAME, we could use something like: cpe:/o:suse:suse_linux:12:desktop (for SLED12) (suse_linux was used for very old cpe, before SLE was created :) or cpe:/o:suse:suse_linux_enterprise:12:desktop (for SLED12) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com