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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8385158089 for ; Thu, 21 Sep 2023 09:05:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E58D32BC01A; Thu, 21 Sep 2023 09:05:00 +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 CA5262BC01A 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 9FFDC335D84 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 8BA4B11CB 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: <1695286945.8791b7b9d902fba6776ce1a4f1952377cd395d8e.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-1.1_p20230217-r1.ebuild sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild X-VCS-Directories: sys-fs/bcache-tools/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 8791b7b9d902fba6776ce1a4f1952377cd395d8e 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: 88518651-952f-43dc-b067-bd347d900ae1 X-Archives-Hash: f68ba87e54ac1a40d0c6c4cd321847f5 commit: 8791b7b9d902fba6776ce1a4f1952377cd395d8e Author: Florian Schmaus gentoo org> AuthorDate: Thu Sep 21 09:02:25 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Sep 21 09:02:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8791b7b9 sys-fs/bcache-tools: use upstream's 'install' target This hopefully reduces the chances that new binaries and similar things are not installed when bumping the package. Signed-off-by: Florian Schmaus gentoo.org> ...ebuild => bcache-tools-1.1_p20230217-r1.ebuild} | 32 ++++++++++++---------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild b/sys-fs/bcache-tools/bcache-tools-1.1_p20230217-r1.ebuild similarity index 78% rename from sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild rename to sys-fs/bcache-tools/bcache-tools-1.1_p20230217-r1.ebuild index 88fe95d15846..9577ad30f308 100644 --- a/sys-fs/bcache-tools/bcache-tools-1.1_p20230217.ebuild +++ b/sys-fs/bcache-tools/bcache-tools-1.1_p20230217-r1.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 + 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