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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D5641382C5 for ; Fri, 8 Jan 2021 15:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A9BBE079E; Fri, 8 Jan 2021 15:24:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51724E077F for ; Fri, 8 Jan 2021 15:24:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EC213412FC for ; Fri, 8 Jan 2021 15:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F250348D for ; Fri, 8 Jan 2021 15:24:47 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1610119477.28c57475f180f3aa191181a0f646a6b9d3a90335.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/memtest86-bin/, sys-apps/memtest86-bin/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/memtest86-bin/Manifest sys-apps/memtest86-bin/files/memtest86-bin-grub.d sys-apps/memtest86-bin/memtest86-bin-9.0_beta1.ebuild sys-apps/memtest86-bin/metadata.xml X-VCS-Directories: sys-apps/memtest86-bin/ sys-apps/memtest86-bin/files/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 28c57475f180f3aa191181a0f646a6b9d3a90335 X-VCS-Branch: master Date: Fri, 8 Jan 2021 15:24:47 +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: f29167ce-d2b4-48f8-bce4-fc45e00d5711 X-Archives-Hash: a03e9422ed5a904c600547e60cc7f6b8 commit: 28c57475f180f3aa191181a0f646a6b9d3a90335 Author: Ben Kohler gentoo org> AuthorDate: Fri Jan 8 15:22:29 2021 +0000 Commit: Ben Kohler gentoo org> CommitDate: Fri Jan 8 15:24:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c57475 sys-apps/memtest86-bin: new package Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ben Kohler gentoo.org> sys-apps/memtest86-bin/Manifest | 1 + sys-apps/memtest86-bin/files/memtest86-bin-grub.d | 21 ++++++++++++ .../memtest86-bin/memtest86-bin-9.0_beta1.ebuild | 37 ++++++++++++++++++++++ sys-apps/memtest86-bin/metadata.xml | 8 +++++ 4 files changed, 67 insertions(+) diff --git a/sys-apps/memtest86-bin/Manifest b/sys-apps/memtest86-bin/Manifest new file mode 100644 index 00000000000..dfc9bfb972a --- /dev/null +++ b/sys-apps/memtest86-bin/Manifest @@ -0,0 +1 @@ +DIST memtest86-bin-9.0_beta1.zip 9208162 BLAKE2B d21a2755b08a61c56e25f57a2e253ff6ab8f5e7aec9b291aa33daeb817ee9c6a5da7d40c5d2e97bfa39ba633567c9e601971767c1d6a6e6f699616b37b2149c4 SHA512 86c7962ad5abaf300f7a29cbcfc33bd20ad6d3b363d0c76a426682ec7ea2195e351c2fcace387e81e927aa30d2c66050ddc5415180401d17af3ef77d6a8b41a1 diff --git a/sys-apps/memtest86-bin/files/memtest86-bin-grub.d b/sys-apps/memtest86-bin/files/memtest86-bin-grub.d new file mode 100644 index 00000000000..db1ddf855d0 --- /dev/null +++ b/sys-apps/memtest86-bin/files/memtest86-bin-grub.d @@ -0,0 +1,21 @@ +#!/bin/sh + +. /usr/share/grub/grub-mkconfig_lib + +memtest_efi=/boot/memtest86-bin.efi + +if [ -f "${memtest_efi}" ]; then + echo "Found MemTest86-EFI" >&2 + device="$("${grub_probe}" --target=device "${memtest_efi}")" + path="$(make_system_path_relative_to_its_root "${memtest_efi}")" + cat < ${PN}.efi || die +} + +src_install() { + insinto /boot + doins ${PN}.efi + + exeinto /etc/grub.d/ + newexe "${FILESDIR}"/${PN}-grub.d 39_memtest86-bin + + dodoc MemTest86_User_Guide_UEFI.pdf +} diff --git a/sys-apps/memtest86-bin/metadata.xml b/sys-apps/memtest86-bin/metadata.xml new file mode 100644 index 00000000000..c67d4dcaca5 --- /dev/null +++ b/sys-apps/memtest86-bin/metadata.xml @@ -0,0 +1,8 @@ + + + + + bkohler@gentoo.org + Ben Kohler + +