Skip to content

Commit 076568c

Browse files
authored
Merge pull request #1320 from yast/package_stage_initial_sp7
[SLE-15-SP7] Do not install packages to inst-sys (bsc#1240867)
2 parents f3a9d36 + 18be11f commit 076568c

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

library/packages/src/modules/Package.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
Yast.import "PackageAI"
4040
Yast.import "PackageSystem"
4141
Yast.import "Popup"
42+
Yast.import "Stage"
4243

4344
module Yast
4445
# This module implements support to query, install and remove packages.
@@ -146,7 +147,7 @@ def PackageInstalled(package, target: nil)
146147
# @return [Boolean] true if installation succeeded or packages were installed,
147148
# false otherwise
148149
def CheckAndInstallPackages(packages)
149-
return true if Mode.config
150+
return true if Mode.config || Stage.initial
150151
return true if InstalledAll(packages)
151152

152153
InstallAll(packages)

package/yast2.changes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
-------------------------------------------------------------------
2+
Fri Jul 18 09:38:48 UTC 2025 - Ladislav Slezák <lslezak@suse.com>
3+
4+
- Do not try installing packages into the inst-sys during
5+
installation (bsc#1240867)
6+
- 4.7.1
7+
18
-------------------------------------------------------------------
29
Thu Sep 05 08:36:09 UTC 2024 - Ladislav Slezák <lslezak@suse.com>
310

package/yast2.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
Name: yast2
20-
Version: 4.7.0
20+
Version: 4.7.1
2121

2222
Release: 0
2323
Summary: YaST2 Main Package

0 commit comments

Comments
 (0)