commit: 5fea4bf0e8076017d72c0f1327d8c865e498f412 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Tue Nov 9 15:58:34 2021 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Tue Nov 9 16:01:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fea4bf0
sys-fs/lvm2: rename lvm2create_initrd USE flag to lvm2create-initrd Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-fs/lvm2/lvm2-2.02.188-r2.ebuild | 8 ++++---- sys-fs/lvm2/lvm2-2.03.14.ebuild | 8 ++++---- sys-fs/lvm2/metadata.xml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys-fs/lvm2/lvm2-2.02.188-r2.ebuild b/sys-fs/lvm2/lvm2-2.02.188-r2.ebuild index dcba617a604..0de20821dd4 100644 --- a/sys-fs/lvm2/lvm2-2.02.188-r2.ebuild +++ b/sys-fs/lvm2/lvm2-2.02.188-r2.ebuild @@ -13,8 +13,8 @@ SRC_URI="ftp://sourceware.org/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="readline static static-libs systemd lvm2create_initrd sanlock selinux +udev +thin device-mapper-only" -REQUIRED_USE="device-mapper-only? ( !lvm2create_initrd !sanlock !thin ) +IUSE="readline static static-libs systemd lvm2create-initrd sanlock selinux +udev +thin device-mapper-only" +REQUIRED_USE="device-mapper-only? ( !lvm2create-initrd !sanlock !thin ) static? ( !systemd !udev ) static-libs? ( !udev ) systemd? ( udev )" @@ -36,7 +36,7 @@ RDEPEND="${DEPEND_COMMON} !<sys-fs/cryptsetup-1.1.2 !!sys-fs/lvm-user >=sys-apps/util-linux-2.16 - lvm2create_initrd? ( sys-apps/makedev ) + lvm2create-initrd? ( sys-apps/makedev ) !device-mapper-only? ( virtual/tmpfiles ) thin? ( >=sys-block/thin-provisioning-tools-0.3.0 )" # note: thin- 0.3.0 is required to avoid --disable-thin_check_needs_check @@ -254,7 +254,7 @@ src_install() { rm -f "${ED}"/usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a fi - if use lvm2create_initrd; then + if use lvm2create-initrd; then dosbin scripts/lvm2create_initrd/lvm2create_initrd doman scripts/lvm2create_initrd/lvm2create_initrd.8 newdoc scripts/lvm2create_initrd/README README.lvm2create_initrd diff --git a/sys-fs/lvm2/lvm2-2.03.14.ebuild b/sys-fs/lvm2/lvm2-2.03.14.ebuild index 78e18b73bbf..d85208a3444 100644 --- a/sys-fs/lvm2/lvm2-2.03.14.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.14.ebuild @@ -13,8 +13,8 @@ SRC_URI="ftp://sourceware.org/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="readline static static-libs systemd lvm2create_initrd sanlock selinux +udev +thin device-mapper-only" -REQUIRED_USE="device-mapper-only? ( !lvm2create_initrd !sanlock !thin ) +IUSE="readline static static-libs systemd lvm2create-initrd sanlock selinux +udev +thin device-mapper-only" +REQUIRED_USE="device-mapper-only? ( !lvm2create-initrd !sanlock !thin ) static? ( !systemd !udev ) static-libs? ( !udev ) systemd? ( udev )" @@ -36,7 +36,7 @@ RDEPEND="${DEPEND_COMMON} !<sys-fs/cryptsetup-1.1.2 !!sys-fs/lvm-user >=sys-apps/util-linux-2.16 - lvm2create_initrd? ( sys-apps/makedev ) + lvm2create-initrd? ( sys-apps/makedev ) !device-mapper-only? ( virtual/tmpfiles ) thin? ( >=sys-block/thin-provisioning-tools-0.3.0 )" # note: thin- 0.3.0 is required to avoid --disable-thin_check_needs_check @@ -247,7 +247,7 @@ src_install() { rm -f "${ED}"/usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a fi - if use lvm2create_initrd; then + if use lvm2create-initrd; then dosbin scripts/lvm2create_initrd/lvm2create_initrd doman scripts/lvm2create_initrd/lvm2create_initrd.8 newdoc scripts/lvm2create_initrd/README README.lvm2create_initrd diff --git a/sys-fs/lvm2/metadata.xml b/sys-fs/lvm2/metadata.xml index 75aaff4f1e5..e264bd79908 100644 --- a/sys-fs/lvm2/metadata.xml +++ b/sys-fs/lvm2/metadata.xml @@ -15,7 +15,7 @@ <description>Upstream Maintainer (please CC on bugs)</description> </maintainer> <use> - <flag name="lvm2create_initrd">Install lvm2create_initrd script and pull in <pkg>sys-apps/makedev</pkg> for the /sbin/MAKEDEV command</flag> + <flag name="lvm2create-initrd">Install lvm2create_initrd script and pull in <pkg>sys-apps/makedev</pkg> for the /sbin/MAKEDEV command</flag> <flag name="thin">Support for thin volumes</flag> <flag name="device-mapper-only">Build only device-mapper and not the rest of LVM2 (UNSUPPORTED)</flag> <flag name="sanlock">Enable lvmlockd with support for sanlock</flag>