commit:     bbd1c0850016b470e25728461325168091507d82
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 21:10:01 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 21:10:01 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=bbd1c085

Copy correct content into image

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

 targets/support/create-qcow2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/targets/support/create-qcow2.sh b/targets/support/create-qcow2.sh
index 9510cabb..2d7a046a 100755
--- a/targets/support/create-qcow2.sh
+++ b/targets/support/create-qcow2.sh
@@ -73,8 +73,8 @@ mount ${mypartroot} "${mymountpoint}" || die "Could not mount 
root partition"
 mkdir -p "${mymountpoint}"/boot || die "Could not create boot mount point"
 mount ${mypartefi} "${mymountpoint}/boot" || die "Could not mount boot 
partition"
 
-# copy contents in - do we need extra preserve steps? rsync? tar?
-cp -a "${clst_target_path}"/* "${mymountpoint}/" || die "Could not copy 
content into mounted image"
+# copy contents in; the source is the stage dir and not any "iso content"
+cp -a "${clst_stage_path}"/* "${mymountpoint}/" || die "Could not copy content 
into mounted image"
 
 # at this point we have a working system
 

Reply via email to