SHA256
1
0
forked from cockpit/cockpit

- Use a list of available brandings to include in cockpit-ws

package instead of resolving by symlinks.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=103
This commit is contained in:
Adam Majer 2022-08-24 07:43:45 +00:00 committed by Git OBS Bridge
parent beb6627ab6
commit 05ccabd6e2
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