Skip to content

Commit

Permalink
Merge 1ce822e into 262462d
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jun 14, 2021
2 parents 262462d + 1ce822e commit 9efefbd
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 14 09:37:41 UTC 2021 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Fix the copy of the profile to the installed system as
/var/adm/autoinstall/cache/installedSystem.xml (bsc#1187221).
- 4.4.10

-------------------------------------------------------------------
Fri Jun 11 09:46:05 UTC 2021 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.4.9
Version: 4.4.10
Release: 0
Summary: YaST2 - Automated Installation
License: GPL-2.0-only
Expand Down
2 changes: 1 addition & 1 deletion src/modules/AutoInstall.rb
Expand Up @@ -237,7 +237,7 @@ def Finish(destdir)
path(".target.bash"),
Builtins.sformat(
"/bin/cp %1 %2%3",
"#{AutoinstConfig.tmpDir}/profile/autoinst.xml",
AutoinstConfig.profile_path,
destdir,
AutoinstConfig.xml_file
)
Expand Down
4 changes: 3 additions & 1 deletion test/AutoInstall_test.rb
Expand Up @@ -106,8 +106,10 @@ def self.new_from_hashes(_hash)
let(:scripts_dir) { "/scripts" }

before do
allow(Yast::AutoinstConfig).to receive(:profile_path)
.and_return(FIXTURES_PATH.join("instsys", "tmp", "profile", "autoinst.xml").to_s)
allow(Yast::AutoinstConfig).to receive(:tmpDir)
.and_return(FIXTURES_PATH.join("instsys", "tmp").to_s)
.and_return(FIXTURES_PATH.join("instsys", "tmp", "YaST2").to_s)
allow(Yast::AutoinstConfig).to receive(:logs_dir).and_return(logs_dir)
allow(Yast::AutoinstConfig).to receive(:scripts_dir).and_return(scripts_dir)
FileUtils.mkdir(File.join(destdir, logs_dir))
Expand Down

0 comments on commit 9efefbd

Please sign in to comment.