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:
parent
beb6627ab6
commit
05ccabd6e2
@ -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>
|
Thu Jul 28 08:41:13 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>
|
||||||
|
|
||||||
|
@ -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
|
# remove brandings with stale symlinks. Means they don't match
|
||||||
# the distro.
|
# the distro.
|
||||||
pushd %{buildroot}/%{_datadir}/cockpit/branding
|
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
|
popd
|
||||||
# need this in SUSE as post build checks dislike stale symlinks
|
# need this in SUSE as post build checks dislike stale symlinks
|
||||||
install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd
|
install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd
|
||||||
|
Loading…
Reference in New Issue
Block a user