commit: e8318559cc4f9371746dad66067b961727e9de2c
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 23:09:20 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 23:09:20 2024 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e8318559
Compress CONTENTS
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
targets/support/create-qcow2.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/targets/support/create-qcow2.sh b/targets/support/create-qcow2.sh
index 5eb582c2..ff317b8a 100755
--- a/targets/support/create-qcow2.sh
+++ b/targets/support/create-qcow2.sh
@@ -98,6 +98,9 @@ cd "${mymountpoint}/" || qcow2die "Could not
cd into mountpoint"
ls -laR > "${myqcow2}.CONTENTS" || qcow2die "Could not create CONTENTS
file"
cd "${mycurrentdir}" || qcow2die "Could not cd out of
mountpoint"
+echo "Compressing the CONTENTS file"
+gzip "${myqcow2}.CONTENTS" || qcow2die "Could not compress the CONTENTS
file"
+
# note: the following must already have been done by the stage2:
# - rudimentary configuration
# - installation of cloud-init if requested