Skip to content

Commit

Permalink
initialize stack for rules/classes
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Aug 8, 2017
1 parent bed699a commit 96368bc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions package/autoyast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Aug 8 11:25:47 CEST 2017 - schubi@suse.de

- Classes/rules will be ignored: Due the self-update, the evaluation
of classes/rules will be called twice. So we have to initialize
the stack for each run again. (bnc#1051483)
- 3.2.20

-------------------------------------------------------------------
Tue Aug 1 16:18:01 CEST 2017 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: autoyast2
Version: 3.2.19
Version: 3.2.20
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
4 changes: 4 additions & 0 deletions src/modules/ProfileLocation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ def Process
AutoinstConfig.filepath
)

# Due the self-update this process could be called twice.
# So we have to initialize the stack again. (bnc#1051483)
AutoInstallRules.reset

localfile = AutoinstConfig.xml_tmpfile

is_directory = false
Expand Down

0 comments on commit 96368bc

Please sign in to comment.