1
0
forked from cockpit/cockpit

Accepting request 999246 from systemsmanagement:cockpit

- Use a list of available brandings to include in cockpit-ws
  package instead of resolving by symlinks.

OBS-URL: https://build.opensuse.org/request/show/999246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-08-26 07:07:54 +00:00 committed by Git OBS Bridge
commit 97021b96a7
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 24 07:37:46 UTC 2022 - Adam Majer <adam.majer@suse.de>
- Use a list of available brandings to include in cockpit-ws
package instead of resolving by symlinks.
-------------------------------------------------------------------
Thu Jul 28 08:41:13 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>

View File

@ -343,7 +343,7 @@ rm %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-selinux.me
# remove brandings with stale symlinks. Means they don't match
# the distro.
pushd %{buildroot}/%{_datadir}/cockpit/branding
find -L * -type l -printf "%H\n" | sort -u | xargs rm -rv
ls --hide={default,kubernetes,opensuse,registry,sle-micro} | xargs rm -rv
popd
# need this in SUSE as post build checks dislike stale symlinks
install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd