1 |
From: Daniel Cordero <catalyst@××××.io> |
2 |
|
3 |
The embedded and livecd-stage2 targets override the action sequence |
4 |
without calling set_completion_action_sequences. This would leave the |
5 |
temporary build environment unpacked on the filesystem. |
6 |
|
7 |
Signed-off-by: Daniel Cordero <catalyst@××××.io> |
8 |
--- |
9 |
catalyst/targets/embedded.py | 2 +- |
10 |
catalyst/targets/livecd_stage2.py | 2 +- |
11 |
2 files changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/catalyst/targets/embedded.py b/catalyst/targets/embedded.py |
14 |
index 918b36bf..102b5edd 100644 |
15 |
--- a/catalyst/targets/embedded.py |
16 |
+++ b/catalyst/targets/embedded.py |
17 |
@@ -62,8 +62,8 @@ class embedded(StageBase): |
18 |
"empty", |
19 |
"clean", |
20 |
"capture", |
21 |
- "clear_autoresume", |
22 |
]) |
23 |
+ self.set_completion_action_sequences() |
24 |
|
25 |
def set_root_path(self): |
26 |
self.settings["root_path"] = normpath("/tmp/mergeroot") |
27 |
diff --git a/catalyst/targets/livecd_stage2.py b/catalyst/targets/livecd_stage2.py |
28 |
index 3606047f..b8bb56a2 100644 |
29 |
--- a/catalyst/targets/livecd_stage2.py |
30 |
+++ b/catalyst/targets/livecd_stage2.py |
31 |
@@ -117,4 +117,4 @@ class livecd_stage2(StageBase): |
32 |
"setup_overlay", |
33 |
"create_iso", |
34 |
]) |
35 |
- self.finish_sequence.append("clear_autoresume") |
36 |
+ self.set_completion_action_sequences() |
37 |
-- |
38 |
2.26.2 |