From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF74A158046 for ; Fri, 11 Oct 2024 23:09:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 263ABE29BB; Fri, 11 Oct 2024 23:09:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BAB9E29BB for ; Fri, 11 Oct 2024 23:09:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E938343011 for ; Fri, 11 Oct 2024 23:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC3631BCF for ; Fri, 11 Oct 2024 23:09:34 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1728688160.e8318559cc4f9371746dad66067b961727e9de2c.dilfridge@gentoo> Subject: [gentoo-commits] proj/catalyst:dilfridge/qcow2 commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/create-qcow2.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: e8318559cc4f9371746dad66067b961727e9de2c X-VCS-Branch: dilfridge/qcow2 Date: Fri, 11 Oct 2024 23:09:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a52a961f-459b-4f7b-866a-2ba878444105 X-Archives-Hash: c5e44b42f0bba00a0587b66884b5479e commit: e8318559cc4f9371746dad66067b961727e9de2c Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Oct 11 23:09:20 2024 +0000 Commit: Andreas K. Hüttel gentoo 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 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