forked from pool/dummy-release
Accepting request 967914 from home:dimstar:Factory
- Add PRETTY_NAME="openSUSE Dummy" to etc/os-release: scripts that rely on lsb_release to get the distributor_id will rely on 'openSUSE*' to be part of the PRETTY_NAME (seen in xpra for example). - Set NAME to 'openSUSE Dummy': xpra is one of the examples that extracts the distro from the name (which is wrong of course). OBS-URL: https://build.opensuse.org/request/show/967914 OBS-URL: https://build.opensuse.org/package/show/Base:System/dummy-release?expand=0&rev=17
This commit is contained in:
parent
c85ef87b98
commit
8d91ff2fc9
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 8 19:21:02 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add PRETTY_NAME="openSUSE Dummy" to etc/os-release: scripts that
|
||||
rely on lsb_release to get the distributor_id will rely on
|
||||
'openSUSE*' to be part of the PRETTY_NAME (seen in xpra for
|
||||
example).
|
||||
- Set NAME to 'openSUSE Dummy': xpra is one of the examples that
|
||||
extracts the distro from the name (which is wrong of course).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 10 08:42:47 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -41,7 +41,8 @@ echo -e "\nWelcome to Dummy Product - Kernel \\\r (\\\l).\n\n" > $RPM_BUILD_ROOT
|
||||
echo -e "Welcome to Dummy Product (%{_target_cpu}) - Kernel %%r (%%t)." > $RPM_BUILD_ROOT/etc/issue.net
|
||||
touch $RPM_BUILD_ROOT/etc/motd
|
||||
|
||||
echo 'NAME=Dummy' > $RPM_BUILD_ROOT/etc/os-release
|
||||
echo 'NAME="openSUSE Dummy"' > $RPM_BUILD_ROOT/etc/os-release
|
||||
echo 'PRETTY_NAME="openSUSE Dummy"' >> $RPM_BUILD_ROOT/etc/os-release
|
||||
echo 'ID="suse"' >> $RPM_BUILD_ROOT/etc/os-release
|
||||
echo 'ID_LIKE="suse"' >> $RPM_BUILD_ROOT/etc/os-release
|
||||
echo 'VERSION_ID="Dummy"' >> $RPM_BUILD_ROOT/etc/os-release
|
||||
|
Loading…
Reference in New Issue
Block a user