commit:     a2b978d0c7aec58b1fa5e37547d76a2582d8da6a
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Fri May  9 11:17:55 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 14:22:37 2025 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a2b978d0

stagebase.py: register data storage partition in livecd fstab

Closes: https://github.com/gentoo/catalyst/pull/25
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/base/stagebase.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 5315e73c..ef70e8fa 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1791,8 +1791,13 @@ class StageBase(TargetBase, ClearBase, GenBase):
                 'Resume point detected, skipping build_packages operation...')
             return
 
-        cmd([self.settings['controller_file'], 'livecd-update'],
-            env=self.env)
+        if self.settings["spec_prefix"] + "/iso_extra_partition" in 
self.settings:
+            cmd([self.settings['controller_file'], 'livecd-update', 
'/mnt/storage'],
+                env=self.env)
+        else:
+            cmd([self.settings['controller_file'], 'livecd-update'],
+                env=self.env)
+
         self.resume.enable("livecd_update")
 
     def diskimage_update(self):

Reply via email to