[elbe-devel] [PATCH 3/6] elbe: updated: restore default behaviour

Kurt Kanzenbach kurt at linutronix.de
Thu Mar 23 13:45:44 CET 2017


This adds the downgrade allowed flag, if the 'updated' finetuning rule is used.
Thus, restoring the default behaviour.

Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
---
 elbepack/finetuning.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/finetuning.py b/elbepack/finetuning.py
index c81d327..eb04749 100644
--- a/elbepack/finetuning.py
+++ b/elbepack/finetuning.py
@@ -372,6 +372,8 @@ class UpdatedAction(FinetuningAction):
 
         rmtree (buildenv.rfs.path + '/tmp/pkgs')
 
+        # allow downgrades by default
+        target.touch_file ('/var/cache/elbe/.downgrade_allowed')
 
 FinetuningAction.register( UpdatedAction )
 
-- 
2.1.4





More information about the elbe-devel mailing list