Skip to content

Commit

Permalink
Merge pull request #227 from yast/review_160706_update_install_inf
Browse files Browse the repository at this point in the history
[Review] Request from 'schubi2' @ 'yast/yast-autoinstallation/review_160706_update_install_inf'
  • Loading branch information
schubi2 committed Jul 7, 2016
2 parents 4ac578c + 02ad9e1 commit 834beb3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jul 6 16:56:38 CEST 2016 - schubi@suse.de

- While AutoYaST installation the user can change the path of the
AutoYaST configuration file. Fix: This path will be updated in
/etc/install.inf too.
(bnc#963487)
- 3.1.136

-------------------------------------------------------------------
Tue Jul 5 16:01:19 CEST 2016 - schubi@suse.de

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


Name: autoyast2
Version: 3.1.135
Version: 3.1.136
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
7 changes: 7 additions & 0 deletions src/clients/inst_autoinit.rb
Expand Up @@ -150,6 +150,13 @@ def processProfile
if newURI == ""
return :abort
else
# Updating new URI in /etc/install.inf (bnc#963487)
# SCR.Write does not work in inst-sys here.
WFM.Execute(
path(".local.bash"),
"sed -i \'/AutoYaST:/c\AutoYaST: #{newURI}\' /etc/install.inf"
)

AutoinstConfig.ParseCmdLine(newURI)
AutoinstConfig.SetProtocolMessage
next
Expand Down

0 comments on commit 834beb3

Please sign in to comment.