From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 4412E15800A for ; Mon, 05 May 2025 14:59:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 298E0342FF0 for ; Mon, 05 May 2025 14:59:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 32782110105; Mon, 05 May 2025 14:59:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 23B61110105 for ; Mon, 05 May 2025 14:59:18 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C01AC342FF0 for ; Mon, 05 May 2025 14:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FCE41E87 for ; Mon, 05 May 2025 14:59:16 +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: <1746457113.45a62aa1f72eab76fcd91d56bb6c648f0c7ad364.dilfridge@gentoo> Subject: [gentoo-commits] proj/catalyst:master 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: 45a62aa1f72eab76fcd91d56bb6c648f0c7ad364 X-VCS-Branch: master Date: Mon, 05 May 2025 14:59:16 +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: 7b6cfd78-a3a8-472d-90b7-d970f8d5c89a X-Archives-Hash: 296c32ce3ceae491b7729140c84ffe46 commit: 45a62aa1f72eab76fcd91d56bb6c648f0c7ad364 Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon May 5 14:58:33 2025 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Mon May 5 14:58:33 2025 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=45a62aa1 create-qcow2: wait 5s to ensure the partition device nodes exist 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 f8cfb5ef..3fca589d 100755 --- a/targets/support/create-qcow2.sh +++ b/targets/support/create-qcow2.sh @@ -125,6 +125,9 @@ partprobe ${mydevice} || qcow2die "Probing partition table failed" echo "Printing the partition table" parted -s ${mydevice} -- print || qcow2die "Printing the partition table failed" +echo "Waiting 5s to ensure the partition device nodes exist" +sleep 5s + echo "Making a vfat filesystem in p1" mkfs.fat -v -F 32 -n gentooefi ${mypartefi} || qcow2die "Formatting EFI partition failed"