From 64d13ce5a37ebdc808d3bc999e8f0b2022fbe561 Mon Sep 17 00:00:00 2001 From: David Cassany Date: Wed, 26 Oct 2016 17:25:07 +0200 Subject: [PATCH] SystemPrepare instance delete before runnig SystemSetup This commit fixes#175, now multiple profiles in OBS are possible using kiwi boot initrd. --- kiwi/boot/image/kiwi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kiwi/boot/image/kiwi.py b/kiwi/boot/image/kiwi.py index 8fc5bcab..e38d8d34 100644 --- a/kiwi/boot/image/kiwi.py +++ b/kiwi/boot/image/kiwi.py @@ -78,6 +78,8 @@ class BootImageKiwi(BootImageBase): system.pinch_system( manager=manager, force=True ) + # make sure system instance is cleaned up before setting up + del system self.setup.call_image_script() self.setup.create_init_link_from_linuxrc()