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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8684158089 for ; Thu, 21 Sep 2023 09:05:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 376E22BC013; Thu, 21 Sep 2023 09:05:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id 1C3C82BC013 for ; Thu, 21 Sep 2023 09:05: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 3F3EB335D7D for ; Thu, 21 Sep 2023 09:04:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A05A411D6 for ; Thu, 21 Sep 2023 09:04:57 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1695287006.20db84ae6841a0bf865758d870c8fb47a3aaccf4.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bcache-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/bcache-tools/bcache-tools-9999.ebuild X-VCS-Directories: sys-fs/bcache-tools/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 20db84ae6841a0bf865758d870c8fb47a3aaccf4 X-VCS-Branch: master Date: Thu, 21 Sep 2023 09:04:57 +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: 2cdf9398-0c11-4c80-8f1f-03d87582abac X-Archives-Hash: a978ace6ac80e5d4d3b030381dcd913b commit: 20db84ae6841a0bf865758d870c8fb47a3aaccf4 Author: Florian Schmaus gentoo org> AuthorDate: Thu Sep 21 09:03:26 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Sep 21 09:03:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20db84ae sys-fs/bcache-tools: sync live Signed-off-by: Florian Schmaus gentoo.org> sys-fs/bcache-tools/bcache-tools-9999.ebuild | 32 ++++++++++++++++------------ 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/sys-fs/bcache-tools/bcache-tools-9999.ebuild b/sys-fs/bcache-tools/bcache-tools-9999.ebuild index 48838cb95962..baefd75f9838 100644 --- a/sys-fs/bcache-tools/bcache-tools-9999.ebuild +++ b/sys-fs/bcache-tools/bcache-tools-9999.ebuild @@ -37,29 +37,33 @@ src_prepare() { sed \ -e '/^CFLAGS/s:-O2::' \ -e '/^CFLAGS/s:-g::' \ + -e '/.*INSTALL.*share\/man/d' \ + -e '/.*INSTALL.*bcache-status/d' \ -i Makefile || die append-lfs-flags } src_install() { - into / - dosbin bcache make-bcache bcache-super-show - - exeinto $(get_udevdir) - doexe bcache-register probe-bcache bcache-export-cached + local udevdir="$(get_udevdir)" + + local mydirs=( + sbin + "${udevdir}/rules.d" + /usr/share/initramfs-tools/hooks/bcache + /usr/lib/initcpio/install/bcache + ) + dodir "${mydirs[@]}" + + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}" \ + UDEVLIBDIR="${udevdir}" \ + DRACUTLIBDIR="/usr/lib/dracut" \ + install python_foreach_impl python_doscript bcache-status - udev_dorules 69-bcache.rules - - insinto /etc/initramfs-tools/hooks/bcache - doins initramfs/hook - - # that is what dracut does - insinto /usr/lib/dracut/modules.d/90bcache - doins dracut/module-setup.sh - doman *.8 dodoc README