Diff lvm2-2.03.21-r1 with a lvm2-2.03.22-r1

/usr/portage/sys-fs/lvm2/lvm2-2.03.22-r1.ebuild 2024-12-25 14:59:52.803270183 +0300
13 13

  
14 14
LICENSE="GPL-2"
15 15
SLOT="0"
16
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
16
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
17 17
IUSE="lvm readline sanlock selinux static static-libs systemd thin +udev valgrind"
18 18
REQUIRED_USE="
19 19
	static? ( !systemd !udev )
......
68 68
	# For upstream -- review and forward:
69 69
	"${FILESDIR}"/${PN}-2.03.20-dmeventd-no-idle-exit.patch
70 70
	"${FILESDIR}"/${PN}-2.03.20-freopen-musl.patch
71
	"${FILESDIR}"/${PN}-2.03.22-autoconf-2.72-egrep.patch
71 72
)
72 73

  
73 74
pkg_setup() {
......
194 195
}
195 196

  
196 197
src_install() {
197
	local INSTALL_TARGETS=(
198
		# full LVM2
199
		$(usev lvm "install install_tmpfiles_configuration")
200
		# install systemd related files only when requested, bug #522430
201
		$(usev $(usex lvm systemd lvm) "SYSTEMD_GENERATOR_DIR=$(systemd_get_systemgeneratordir) \
202
			install_systemd_units install_systemd_generators")
203

  
204
		# install dm unconditionally
205
		install_device-mapper
206
	)
207
	emake V=1 DESTDIR="${D}" "${INSTALL_TARGETS[@]}"
198
	local targets=()
199
	if use lvm; then
200
		targets+=( install install_tmpfiles_configuration )
201
		if use systemd; then
202
			# install systemd related files only when requested, bug #522430
203
			targets+=( install_systemd_units )
204
		fi
205
	else
206
		targets+=( install_device-mapper )
207
	fi
208
	emake V=1 DESTDIR="${D}" "${targets[@]}"
208 209

  
209 210
	newinitd "${FILESDIR}"/device-mapper.rc-r3 device-mapper
210 211
	newconfd "${FILESDIR}"/device-mapper.conf-r4 device-mapper
Thank you!