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

controller.sh: pass on arguments when calling livecdfs-update.sh

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 targets/embedded/controller.sh      | 3 ++-
 targets/livecd-stage2/controller.sh | 3 ++-
 targets/stage4/controller.sh        | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/targets/embedded/controller.sh b/targets/embedded/controller.sh
index 7570ed08..99ac8091 100755
--- a/targets/embedded/controller.sh
+++ b/targets/embedded/controller.sh
@@ -46,8 +46,9 @@ case ${1} in
 
        ;;
        livecd-update)
+               shift
                # Now, finalize and tweak the livecd fs (inside of the chroot)
-               exec_in_chroot  ${clst_shdir}/support/livecdfs-update.sh
+               exec_in_chroot  ${clst_shdir}/support/livecdfs-update.sh ${@}
        ;;
 
        bootloader)

diff --git a/targets/livecd-stage2/controller.sh 
b/targets/livecd-stage2/controller.sh
index f92b7921..2b27a92c 100755
--- a/targets/livecd-stage2/controller.sh
+++ b/targets/livecd-stage2/controller.sh
@@ -55,8 +55,9 @@ case $1 in
                ;;
 
        livecd-update)
+               shift
                # Now, finalize and tweak the livecd fs (inside of the chroot)
-               exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh
+               exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh ${@}
                ;;
 
        rc-update)

diff --git a/targets/stage4/controller.sh b/targets/stage4/controller.sh
index 07e74d3d..77f4d103 100755
--- a/targets/stage4/controller.sh
+++ b/targets/stage4/controller.sh
@@ -40,8 +40,9 @@ case $1 in
        ;;
 
        livecd-update)
+               shift
                # Now, finalize and tweak the livecd fs (inside of the chroot)
-               exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh
+               exec_in_chroot ${clst_shdir}/support/livecdfs-update.sh ${@}
        ;;
 
        bootloader)

Reply via email to