summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-05-10 23:23:33 +0200
committerDavid Seifert <soap@gentoo.org>2023-05-10 23:23:33 +0200
commitcb52cff5d43a8aa6c92d87d56dc2a1d499941eb8 (patch)
tree7f0593e3c1e094ae0ea68f3639bd89e9ce8387fe /sys-fs/lvm2
parentapp-editors/xemacs: use freewnn with gcc-13 (diff)
downloadgentoo-cb52cff5d43a8aa6c92d87d56dc2a1d499941eb8.tar.gz
gentoo-cb52cff5d43a8aa6c92d87d56dc2a1d499941eb8.tar.bz2
gentoo-cb52cff5d43a8aa6c92d87d56dc2a1d499941eb8.zip
sys-fs/lvm2: remove USE=lvm2create-initrd
* If people want this script, they should work on getting the patch we carry upstreamed and making the script POSIX. * Should there be a real demand, this script should be packaged separately. * We strongly recommend users switch to dracut, which is the garden path and much more supported in practice. Bug: https://bugs.gentoo.org/401933 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/lvm2-2.03.21.ebuild10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys-fs/lvm2/lvm2-2.03.21.ebuild b/sys-fs/lvm2/lvm2-2.03.21.ebuild
index 90e10e22c007..c322d60907e5 100644
--- a/sys-fs/lvm2/lvm2-2.03.21.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.21.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN^^}.${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="lvm lvm2create-initrd readline sanlock selinux static static-libs systemd thin +udev"
+IUSE="lvm readline sanlock selinux static static-libs systemd thin +udev"
REQUIRED_USE="
static? ( !systemd !udev )
static-libs? ( static !udev )
@@ -37,7 +37,6 @@ RDEPEND="${DEPEND_COMMON}
>=sys-apps/baselayout-2.2
lvm? (
virtual/tmpfiles
- lvm2create-initrd? ( sys-apps/makedev )
thin? ( sys-block/thin-provisioning-tools )
)"
# note: thin- 0.3.0 is required to avoid --disable-thin_check_needs_check
@@ -59,7 +58,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.03.20-example.conf.in.patch
# For upstream -- review and forward:
- "${FILESDIR}"/${PN}-2.03.20-lvm2create_initrd.patch
"${FILESDIR}"/${PN}-2.03.20-locale-muck.patch #330373
"${FILESDIR}"/${PN}-2.03.20-dmeventd-no-idle-exit.patch
"${FILESDIR}"/${PN}-2.03.20-freopen-musl.patch
@@ -217,12 +215,6 @@ src_install() {
newinitd "${FILESDIR}"/lvm-monitoring.initd-r3 lvm-monitoring
newinitd "${FILESDIR}"/lvmpolld.initd-r1 lvmpolld
- 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
- fi
-
if use sanlock; then
newinitd "${FILESDIR}"/lvmlockd.initd-r2 lvmlockd
fi