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 (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 47D60158013 for ; Sat, 12 Oct 2024 21:59:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 891D9E069C; Sat, 12 Oct 2024 21:59:01 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1818EE069C for ; Sat, 12 Oct 2024 21:59:00 +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 CB9043431D6 for ; Sat, 12 Oct 2024 21:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35D3EAE7 for ; Sat, 12 Oct 2024 21:58:58 +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: <1728770325.9e2d04532a04f5e0f6bdecb6e810e871d29a925a.dilfridge@gentoo> Subject: [gentoo-commits] proj/catalyst:dilfridge/qcow2 commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/diskimage-installation.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 9e2d04532a04f5e0f6bdecb6e810e871d29a925a X-VCS-Branch: dilfridge/qcow2 Date: Sat, 12 Oct 2024 21:58:58 +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: 202a2ada-8d1a-4f86-b023-f12d953f3470 X-Archives-Hash: 4cf798cd43783f5503ab322e1b808760 commit: 9e2d04532a04f5e0f6bdecb6e810e871d29a925a Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Oct 12 21:58:45 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Oct 12 21:58:45 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9e2d0453 Make the fstab Signed-off-by: Andreas K. Hüttel gentoo.org> targets/support/diskimage-installation.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/targets/support/diskimage-installation.sh b/targets/support/diskimage-installation.sh index a7c042ef..30437257 100755 --- a/targets/support/diskimage-installation.sh +++ b/targets/support/diskimage-installation.sh @@ -16,6 +16,19 @@ if [[ $(readlink /etc/portage/make.profile) == *systemd* ]] ; then # generic - an image with no means of logging in... needs postprocessing # no services are started +echo "Generating /etc/fstab" +cat > /etc/fstab < + +LABEL=gentooroot / xfs noatime,rw 0 1 +LABEL=gentooefi /boot vfat defaults 1 2 + +END + echo "Running systemctl preset-all" systemctl preset-all || die "Running systemctl preset-all failed"