sys-fs/mdadm: update keywords amd64 and arm64 for mdadm 4.2-r1

Update keywords for amd64 and arm64 to be able to build mdadm 4.2-r1.
Update description in README as well.
This commit is contained in:
Dongsu Park 2022-03-31 12:07:26 +02:00
parent 7f7061c829
commit 465aad46fe
2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,6 @@
This is a fork of Gentoo's sys-fs/mdadm package. The main reason of This is a fork of Gentoo's sys-fs/mdadm package. The main reason of
having this fork is to carry two patches that are already a part of having this fork is to carry Flatcar-specific patches for using
upstream, but the release didn't yet happen, and Gentoo does not carry systemd.timer instead of cron.weekly.
them either.
There is also a minor change to build this package by default for There is also a minor change to build this package by default for
arm64 without needing an entry in accept_keywords file. arm64 without needing an entry in accept_keywords file.

View File

@ -1,6 +1,9 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# Flatcar: Based on mdadm-4.2-r1.ebuild from commit
# 81a13f851b7502d547ff8c0434bf64a443877fb1 in Gentoo repo (see
# https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-fs/mdadm/mdadm-4.2-r1.ebuild?id=81a13f851b7502d547ff8c0434bf64a443877fb1).
EAPI=7 EAPI=7
inherit flag-o-matic systemd toolchain-funcs udev inherit flag-o-matic systemd toolchain-funcs udev
@ -13,8 +16,8 @@ SRC_URI="https://www.kernel.org/pub/linux/utils/raid/mdadm/${P/_/-}.tar.xz
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
[[ "${PV}" = *_rc* ]] || \ # Flatcar: Build for amd64 and arm64
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="static systemd +udev" IUSE="static systemd +udev"
# Only sys-fs/eudev provides static-libs right now, so if you have systemd, # Only sys-fs/eudev provides static-libs right now, so if you have systemd,