1
0
forked from pool/dummy-release
Dominique Leuenberger 2022-04-11 21:47:25 +00:00 committed by Git OBS Bridge
commit 636dda71c8
2 changed files with 12 additions and 1 deletions

View File

@ -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>

View File

@ -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