Accepting request 1291468 from home:lkocman:branches:Base:System

- Do not fail on zypper refresh-services
  if network is not avialable

OBS-URL: https://build.opensuse.org/request/show/1291468
OBS-URL: https://build.opensuse.org/package/show/Base:System/openSUSE-repos?expand=0&rev=81
This commit is contained in:
2025-07-09 11:58:11 +00:00
committed by Git OBS Bridge
parent 09ab68000b
commit ac8ef1b41d
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 9 11:18:23 UTC 2025 - Lubos Kocman <lubos.kocman@suse.com>
- Do not fail on zypper refresh-services
if network is not avialable
-------------------------------------------------------------------
Fri Jun 06 13:42:26 UTC 2025 - opensuse-releaseteam@opensuse.org

View File

@@ -344,7 +344,7 @@ ln -sf opensuse-%{branding}-ports-repoindex.xml %{_datadir}/zypp/local/service/o
# We hereby declare that running this will not influence existing transaction
ZYPP_READONLY_HACK=1 zypper addservice %{_datadir}/zypp/local/service/openSUSE openSUSE
ZYPP_READONLY_HACK=1 zypper refresh-services
ZYPP_READONLY_HACK=1 zypper refresh-services || :
%if 0%{?with_nvidia}
%posttrans NVIDIA
@@ -362,7 +362,7 @@ done
# We hereby declare that running this will not influence existing transaction
ZYPP_READONLY_HACK=1 zypper addservice %{_datadir}/zypp/local/service/NVIDIA NVIDIA
ZYPP_READONLY_HACK=1 zypper refresh-services
ZYPP_READONLY_HACK=1 zypper refresh-services || :
%endif
%postun