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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE38F158046 for ; Sun, 13 Oct 2024 20:33:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F34DE0856; Sun, 13 Oct 2024 20:33:54 +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 E7D55E0856 for ; Sun, 13 Oct 2024 20:33:53 +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 101AB3430EB for ; Sun, 13 Oct 2024 20:33:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B1AA1E06 for ; Sun, 13 Oct 2024 20:33:50 +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: <1728851440.33fc7eb69375b28f20eb254c5a7aee1cee122b69.dilfridge@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/qcow2-grub-install.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 33fc7eb69375b28f20eb254c5a7aee1cee122b69 X-VCS-Branch: master Date: Sun, 13 Oct 2024 20:33:50 +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: 2268af74-1e1c-4c2a-8313-5327d6558716 X-Archives-Hash: b45947f389e7b5bdbe46a07086bad915 commit: 33fc7eb69375b28f20eb254c5a7aee1cee122b69 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Oct 13 14:41:59 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Oct 13 20:30:40 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=33fc7eb6 Support scripts for bootloader installation and configuration Signed-off-by: Andreas K. Hüttel gentoo.org> targets/support/qcow2-grub-install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/targets/support/qcow2-grub-install.sh b/targets/support/qcow2-grub-install.sh new file mode 100755 index 00000000..850eb72a --- /dev/null +++ b/targets/support/qcow2-grub-install.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +source /tmp/chroot-functions.sh + +echo "Installing grub with target x86_64-efi" +grub-install --no-floppy --efi-directory=/boot --removable --skip-fs-probe --no-nvram --no-bootsector --target=x86_64-efi + +echo "Creating grub configuration" +grub-mkconfig -o /boot/grub/grub.cfg