From c9388864702fdd7b0b56c049eddb41bdb9054dcb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Oct 2022 15:03:33 +0000 Subject: gentoo auto-resync : 30:10:2022 - 15:03:33 --- sys-fs/Manifest.gz | Bin 22214 -> 22213 bytes sys-fs/eudev/Manifest | 5 +- sys-fs/eudev/eudev-3.2.11-r3.ebuild | 245 ++++++++++++++++++++++++++++ sys-fs/eudev/eudev-3.2.12_pre3.ebuild | 25 ++- sys-fs/eudev/eudev-9999.ebuild | 25 ++- sys-fs/lvm2/Manifest | 1 - sys-fs/lvm2/files/lvmetad.initd-2.02.116-r3 | 17 -- 7 files changed, 282 insertions(+), 36 deletions(-) create mode 100644 sys-fs/eudev/eudev-3.2.11-r3.ebuild delete mode 100644 sys-fs/lvm2/files/lvmetad.initd-2.02.116-r3 (limited to 'sys-fs') diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz index e92594b228a6..7a1d64405866 100644 Binary files a/sys-fs/Manifest.gz and b/sys-fs/Manifest.gz differ diff --git a/sys-fs/eudev/Manifest b/sys-fs/eudev/Manifest index 80c3c7366574..b810f2763dd1 100644 --- a/sys-fs/eudev/Manifest +++ b/sys-fs/eudev/Manifest @@ -3,6 +3,7 @@ AUX udev-postmount 1208 BLAKE2B bcfbaee26ea666304091092deabcc068c533c7707252917a DIST eudev-3.2.11.tar.gz 2254373 BLAKE2B cfa6235d6509b751fde93ff2b0961b93c3741458e561a7ad9b07b49a57779627532cff25ad3519e5f79320854fcedfcdc23642ef542505cebcd6b2803067389a SHA512 17b328365913af3e434abe667dd0498c3702a41c6cb66f3793ca2c195b05ac06397b0a401077f81df7dd25193e4eeea13657a221ca6cb3d237c4d91e31e30b33 DIST eudev-3.2.12-pre3.tar.gz 2166940 BLAKE2B 46cb4e2daa7302380f169b2505e01483a1c879f83802537b718d1380b9411621db9b58454eaf828ca22aa8e913342b52b682593604c365d7159ddc1df82fe719 SHA512 a450ef8ccfb0ec8817e03ae666464cb43390849d1b340f057e047bc42b246ff30e13cfef148417c7452755316bce858ef0c89bf94abf27af143f87db7de9f446 EBUILD eudev-3.2.11-r2.ebuild 6886 BLAKE2B 94227204719bde1e703882979a32202510de947c3581e6e1e7bfe59e9b0e39182685bc56e3c8b2ad2fd009ced10ee9b4668324c882cf04a2a9463ccb3b3e2dbe SHA512 faadb9ca00bbd9b7d8cafc4446fa7c9399c49455d63bcaf0f94a59f7c8d31ff220c5409d94de101c538c4b849f8823c176b8616c0347b7fcdbdb2fe02d8b3080 -EBUILD eudev-3.2.12_pre3.ebuild 6790 BLAKE2B 4d1744b62f949e57bdf0594ff01ed3c784c9de9142feb21ccaac56284965999fb0fa669f30e06fb09231abccdb208049c964266085ae140bf22f20f498f5dbe0 SHA512 c7a07f52602b8dc7fef177f64d4b169fd8e9a99224989f52268fb8d6786155d41cdbcca918cb1e4caaa08cd50d63f06f395a5d1b33db4b5e73fd7c23ff7c54fb -EBUILD eudev-9999.ebuild 6790 BLAKE2B 4d1744b62f949e57bdf0594ff01ed3c784c9de9142feb21ccaac56284965999fb0fa669f30e06fb09231abccdb208049c964266085ae140bf22f20f498f5dbe0 SHA512 c7a07f52602b8dc7fef177f64d4b169fd8e9a99224989f52268fb8d6786155d41cdbcca918cb1e4caaa08cd50d63f06f395a5d1b33db4b5e73fd7c23ff7c54fb +EBUILD eudev-3.2.11-r3.ebuild 7119 BLAKE2B 16fabadd0b20cb627f8390e8372acd0255c9e284f1e8aead40ec8b4f62faf44c146557e615e9a4b4cc007ffdc4b45add594f4d8f5ffb9424b32e7947459ccd88 SHA512 6e88a0066aadfda67d29b1d495e1279bd6d7e7bd845e77f1d93b7011d0085a99fdfa998d5bf1ed653f7dc865060c46214580909e530832b29ec02541799ad5e7 +EBUILD eudev-3.2.12_pre3.ebuild 7015 BLAKE2B af7cab896cd3d5f0c9077232814a7180287fd5e3c555b5380229a93f59e5dd29a373c5c5a66404d560b1aea8812eab2d0d267418b992cc1cd7c549807ff792f3 SHA512 97147e2d0cddb9c73dfe7b6e97d20f95d084b75aad8c6873754b7ea5b03107b68c4ac586d32cd6914be4f9940ed4d95e3c199d2b036a0048db621bb442db812c +EBUILD eudev-9999.ebuild 7015 BLAKE2B af7cab896cd3d5f0c9077232814a7180287fd5e3c555b5380229a93f59e5dd29a373c5c5a66404d560b1aea8812eab2d0d267418b992cc1cd7c549807ff792f3 SHA512 97147e2d0cddb9c73dfe7b6e97d20f95d084b75aad8c6873754b7ea5b03107b68c4ac586d32cd6914be4f9940ed4d95e3c199d2b036a0048db621bb442db812c MISC metadata.xml 629 BLAKE2B c67407dd805c6e8d4fb0c5152e897263ca56649d1d5c7692c74a69a751e7824a2b6084fe1ce0f8cd1b13dbdd0ae3f082430d6552807690a9d52d83c907f43f64 SHA512 204a04a68ee53fe8fec226ad82fdbb3f2ee478f538379466343bbf55fd0146a71889ac11742d59261ef954bb9b8e09e8d2b9416079da63cc78ab400efd2ba49b diff --git a/sys-fs/eudev/eudev-3.2.11-r3.ebuild b/sys-fs/eudev/eudev-3.2.11-r3.ebuild new file mode 100644 index 000000000000..a1a0e698f4ca --- /dev/null +++ b/sys-fs/eudev/eudev-3.2.11-r3.ebuild @@ -0,0 +1,245 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KV_MIN=2.6.39 + +inherit autotools linux-info multilib-minimal toolchain-funcs + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/eudev-project/eudev.git" + inherit git-r3 +else + SRC_URI="https://github.com/eudev-project/eudev/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)" +HOMEPAGE="https://github.com/gentoo/eudev" + +LICENSE="LGPL-2.1 MIT GPL-2" +SLOT="0" +IUSE="+kmod introspection rule-generator selinux split-usr static-libs test" +RESTRICT="!test? ( test )" + +DEPEND=">=sys-apps/util-linux-2.20 + >=sys-kernel/linux-headers-${KV_MIN} + virtual/libcrypt:= + introspection? ( >=dev-libs/gobject-introspection-1.38 ) + kmod? ( >=sys-apps/kmod-16 ) + selinux? ( >=sys-libs/libselinux-2.1.9 ) + !sys-apps/gentoo-systemd-integration + !sys-apps/systemd" +RDEPEND="${DEPEND} + acct-group/input + acct-group/kvm + acct-group/render + !sys-apps/systemd-utils[udev] + !sys-fs/udev + !sys-apps/systemd + !sys-apps/hwids[udev]" +BDEPEND="dev-util/gperf + virtual/os-headers + virtual/pkgconfig + >=sys-devel/make-3.82-r4 + test? ( app-text/tree dev-lang/perl )" +PDEPEND=">=sys-fs/udev-init-scripts-26" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/udev.h +) + +pkg_pretend() { + ewarn + ewarn "As of 2013-01-29, ${P} provides the new interface renaming functionality," + ewarn "as described in the URL below:" + ewarn "https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames" + ewarn + ewarn "This functionality is enabled BY DEFAULT because eudev has no means of synchronizing" + ewarn "between the default or user-modified choice of sys-fs/udev. If you wish to disable" + ewarn "this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules" + ewarn "exists: touch /etc/udev/rules.d/80-net-name-slot.rules" + ewarn +} + +pkg_setup() { + CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~UNIX" + linux-info_pkg_setup + get_running_version + + # These are required kernel options, but we don't error out on them + # because you can build under one kernel and run under another. + if kernel_is lt ${KV_MIN//./ }; then + ewarn + ewarn "Your current running kernel version ${KV_FULL} is too old to run ${P}." + ewarn "Make sure to run udev under kernel version ${KV_MIN} or above." + ewarn + fi +} + +src_prepare() { + # change rules back to group uucp instead of dialout for now + sed -e 's/GROUP="dialout"/GROUP="uucp"/' -i rules/*.rules \ + || die "failed to change group dialout to uucp" + + default + eautoreconf +} + +rootprefix() { + usex split-usr '' /usr +} + +sbindir() { + usex split-usr sbin bin +} + +multilib_src_configure() { + # bug #463846 + tc-export CC + # bug #502950 + export cc_cv_CFLAGS__flto=no + + # Keep sorted by ./configure --help and only pass --disable flags + # when *required* to avoid external deps or unnecessary compile + local econf_args + econf_args=( + ac_cv_search_cap_init= + ac_cv_header_sys_capability_h=yes + DBUS_CFLAGS=' ' + DBUS_LIBS=' ' + --with-rootprefix="${EPREFIX}$(rootprefix)" + --with-rootrundir=/run + --exec-prefix="${EPREFIX}" + --bindir="${EPREFIX}$(rootprefix)/bin" + --sbindir="${EPREFIX}$(rootprefix)/$(sbindir)" + --includedir="${EPREFIX}"/usr/include + --libdir="${EPREFIX}/usr/$(get_libdir)" + --with-rootlibexecdir="${EPREFIX}$(rootprefix)/lib/udev" + $(use_enable split-usr) + --enable-manpages + ) + + # Only build libudev for non-native_abi, and only install it to libdir, + # that means all options only apply to native_abi + if multilib_is_native_abi; then + econf_args+=( + --with-rootlibdir="${EPREFIX}$(rootprefix)/$(get_libdir)" + $(use_enable introspection) + $(use_enable kmod) + $(use_enable static-libs static) + $(use_enable selinux) + $(use_enable rule-generator) + ) + else + econf_args+=( + --disable-static + --disable-introspection + --disable-kmod + --disable-selinux + --disable-rule-generator + --disable-hwdb + ) + fi + + ECONF_SOURCE="${S}" econf "${econf_args[@]}" +} + +multilib_src_compile() { + if multilib_is_native_abi; then + emake + else + emake -C src/shared + emake -C src/libudev + fi +} + +multilib_src_test() { + # make sandbox get out of the way + # these are safe because there is a fake root filesystem put in place, + # but sandbox seems to evaluate the paths of the test i/o instead of the + # paths of the actual i/o that results. + # also only test for native abi + if multilib_is_native_abi; then + addread /sys + addwrite /dev + addwrite /run + + default_src_test + fi +} + +multilib_src_install() { + if multilib_is_native_abi; then + emake DESTDIR="${D}" install + else + emake -C src/libudev DESTDIR="${D}" install + fi +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + + insinto "$(rootprefix)/lib/udev/rules.d" + doins "${FILESDIR}"/40-gentoo.rules + + use rule-generator && doinitd "${FILESDIR}"/udev-postmount +} + +pkg_postinst() { + mkdir -p "${EROOT}"/run + + # "losetup -f" is confused if there is an empty /dev/loop/, Bug #338766 + # So try to remove it here (will only work if empty). + rmdir "${EROOT}"/dev/loop 2>/dev/null + if [[ -d ${EROOT}/dev/loop ]]; then + ewarn "Please make sure your remove /dev/loop," + ewarn "else losetup may be confused when looking for unused devices." + fi + + # REPLACING_VERSIONS should only ever have zero or 1 values but in case it doesn't, + # process it as a list. We only care about the zero case (new install) or the case where + # the same version is being re-emerged. If there is a second version, allow it to abort. + local rv rvres=doitnew + for rv in ${REPLACING_VERSIONS} ; do + if [[ ${rvres} == doit* ]]; then + if [[ ${rv%-r*} == ${PV} ]]; then + rvres=doit + else + rvres=${rv} + fi + fi + done + + if has_version 'sys-apps/hwids[udev]'; then + udevadm hwdb --update --root="${ROOT}" + + # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda + # reload database after it has be rebuilt, but only if we are not upgrading + # also pass if we are -9999 since who knows what hwdb related changes there might be + if [[ ${rvres} == doit* ]] && [[ -z ${ROOT} ]] && [[ ${PV} != "9999" ]]; then + udevadm control --reload + fi + fi + + if [[ ${rvres} != doitnew ]]; then + ewarn + ewarn "You need to restart eudev as soon as possible to make the" + ewarn "upgrade go into effect:" + ewarn "\t/etc/init.d/udev --nodeps restart" + fi + + if use rule-generator && \ + [[ -x $(type -P rc-update) ]] && rc-update show | grep udev-postmount | grep -qsv 'boot\|default\|sysinit'; then + ewarn + ewarn "Please add the udev-postmount init script to your default runlevel" + ewarn "to ensure the legacy rule-generator functionality works as reliably" + ewarn "as possible." + ewarn "\trc-update add udev-postmount default" + fi + + elog + elog "For more information on eudev on Gentoo, writing udev rules, and" + elog "fixing known issues visit: https://wiki.gentoo.org/wiki/Eudev" +} diff --git a/sys-fs/eudev/eudev-3.2.12_pre3.ebuild b/sys-fs/eudev/eudev-3.2.12_pre3.ebuild index d286cedd7a14..15d7e4a514a0 100644 --- a/sys-fs/eudev/eudev-3.2.12_pre3.ebuild +++ b/sys-fs/eudev/eudev-3.2.12_pre3.ebuild @@ -25,7 +25,7 @@ HOMEPAGE="https://github.com/eudev-project/eudev" LICENSE="LGPL-2.1 MIT GPL-2" SLOT="0" -IUSE="+kmod rule-generator selinux static-libs test" +IUSE="+kmod rule-generator selinux split-usr static-libs test" RESTRICT="!test? ( test )" DEPEND=">=sys-apps/util-linux-2.20 @@ -96,6 +96,14 @@ src_prepare() { fi } +rootprefix() { + usex split-usr '' /usr +} + +sbindir() { + usex split-usr sbin bin +} + multilib_src_configure() { # bug #463846 tc-export CC @@ -109,14 +117,15 @@ multilib_src_configure() { DBUS_CFLAGS=' ' DBUS_LIBS=' ' - --with-rootprefix= + --with-rootprefix="${EPREFIX}$(rootprefix)" --with-rootrundir=/run --exec-prefix="${EPREFIX}" - --bindir="${EPREFIX}"/bin + --bindir="${EPREFIX}$(rootprefix)/bin" + --sbindir="${EPREFIX}$(rootprefix)/$(sbindir)" --includedir="${EPREFIX}"/usr/include - --libdir="${EPREFIX}"/usr/$(get_libdir) - --with-rootlibexecdir="${EPREFIX}"/lib/udev - --enable-split-usr + --libdir="${EPREFIX}/usr/$(get_libdir)" + --with-rootlibexecdir="${EPREFIX}$(rootprefix)/lib/udev" + $(use_enable split-usr) --enable-manpages ) @@ -124,7 +133,7 @@ multilib_src_configure() { # that means all options only apply to native_abi if multilib_is_native_abi ; then myeconfargs+=( - --with-rootlibdir="${EPREFIX}"/$(get_libdir) + --with-rootlibdir="${EPREFIX}$(rootprefix)/$(get_libdir)" $(use_enable kmod) $(use_enable static-libs static) $(use_enable selinux) @@ -177,7 +186,7 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die - insinto /lib/udev/rules.d + insinto "$(rootprefix)/lib/udev/rules.d" doins "${FILESDIR}"/40-gentoo.rules use rule-generator && doinitd "${FILESDIR}"/udev-postmount diff --git a/sys-fs/eudev/eudev-9999.ebuild b/sys-fs/eudev/eudev-9999.ebuild index d286cedd7a14..15d7e4a514a0 100644 --- a/sys-fs/eudev/eudev-9999.ebuild +++ b/sys-fs/eudev/eudev-9999.ebuild @@ -25,7 +25,7 @@ HOMEPAGE="https://github.com/eudev-project/eudev" LICENSE="LGPL-2.1 MIT GPL-2" SLOT="0" -IUSE="+kmod rule-generator selinux static-libs test" +IUSE="+kmod rule-generator selinux split-usr static-libs test" RESTRICT="!test? ( test )" DEPEND=">=sys-apps/util-linux-2.20 @@ -96,6 +96,14 @@ src_prepare() { fi } +rootprefix() { + usex split-usr '' /usr +} + +sbindir() { + usex split-usr sbin bin +} + multilib_src_configure() { # bug #463846 tc-export CC @@ -109,14 +117,15 @@ multilib_src_configure() { DBUS_CFLAGS=' ' DBUS_LIBS=' ' - --with-rootprefix= + --with-rootprefix="${EPREFIX}$(rootprefix)" --with-rootrundir=/run --exec-prefix="${EPREFIX}" - --bindir="${EPREFIX}"/bin + --bindir="${EPREFIX}$(rootprefix)/bin" + --sbindir="${EPREFIX}$(rootprefix)/$(sbindir)" --includedir="${EPREFIX}"/usr/include - --libdir="${EPREFIX}"/usr/$(get_libdir) - --with-rootlibexecdir="${EPREFIX}"/lib/udev - --enable-split-usr + --libdir="${EPREFIX}/usr/$(get_libdir)" + --with-rootlibexecdir="${EPREFIX}$(rootprefix)/lib/udev" + $(use_enable split-usr) --enable-manpages ) @@ -124,7 +133,7 @@ multilib_src_configure() { # that means all options only apply to native_abi if multilib_is_native_abi ; then myeconfargs+=( - --with-rootlibdir="${EPREFIX}"/$(get_libdir) + --with-rootlibdir="${EPREFIX}$(rootprefix)/$(get_libdir)" $(use_enable kmod) $(use_enable static-libs static) $(use_enable selinux) @@ -177,7 +186,7 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die - insinto /lib/udev/rules.d + insinto "$(rootprefix)/lib/udev/rules.d" doins "${FILESDIR}"/40-gentoo.rules use rule-generator && doinitd "${FILESDIR}"/udev-postmount diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest index da46a1d8daff..3f1152f1537d 100644 --- a/sys-fs/lvm2/Manifest +++ b/sys-fs/lvm2/Manifest @@ -24,7 +24,6 @@ AUX lvm2-2.03.14-r1-mallinfo.patch 665 BLAKE2B 2fdec28a0f889fe8f64b4c134c0b4a86a AUX lvm2-2.03.14-static-pkgconfig-libs.patch 4600 BLAKE2B 18fb5d69fb77625189539a64d4189b8ec5bc783ddb10e6e38033633b9a7049203264f0cd7b6c4b6c999c9767130f5da3526a805ffdb187c7aff98de592c11b35 SHA512 c2bc3b7b92bdfed028703a5bb57873c976978a6c84a409098828b96258b0fa349715bd2f140d6d41cbbacbfc34fc7c7901428e21716e04bfbf2d58847653c34e AUX lvm2-2.03.16-dm_lvm_rules_no_systemd.patch 780 BLAKE2B 8340f71fdf0c934dd8f6192628a58b9b2da5c27c5de48119dda7ce20c5ab9e4d3896e3412177f5e01a47a0db4bf58fc8fec5cfa7011690906bb749e989c268d4 SHA512 84f2612d17aa03ebbae55b7227a0ac934e94ad67341fee177ed3737c7a5e2e2a441773f4c3d7d8917c4a48bfac3ff385616c9eeaebfcca15d5c8d3fdb3b1899d AUX lvm2-2.03.16-readelf.patch 921 BLAKE2B 2d7d6f69d40ded9825b11cae265b5afada6124fbe8826afb4cacaa2a49b999f60a2ddb39fc86e238cda3a4dfba739b92f5e0fbf79dc154a44ee6158f3c8ec268 SHA512 6e20b4e438cc08f4027878feb011fcfc4c78391eeda56d0e93d056736378c824f4220910be70b83e4b69cf517c58ef3b078892cb5a82110e9e16bc7d5c68131d -AUX lvmetad.initd-2.02.116-r3 345 BLAKE2B d458efd01fa08debe0857072c880adf951477445dd619a052f50cab9da39d8a38c9d480fc2d20fe899e01dcbcdaea0696d5c3e65af128652feea3186857d206e SHA512 f3143c6e1d00893009c68141f5ffd7e1e6bcf5b7ef0ff8505bc6c7049d83b2f9ddd2dc5a3cfdc2641a20603830b5dba07d73740cc5ce82e6b1b602a9b737a241 AUX lvmlockd.initd-2.02.166-r1 390 BLAKE2B aebfa2a654eca784da24fd4e4d46b3e6c97256a42b725e015a13c9673e79c0d1a10213d1eecb6c75d4ce1ebd99e6200010f19c36d758018bdef303ea08ee5549 SHA512 6359b3cbff1fa05944fb69582234220cac593b2c8f8317162a728bac72ced4f8b492ce11e6ced6d848a7654fa4a506c1e658f546cff302344a739646479a62dc AUX lvmpolld.initd-2.02.183 348 BLAKE2B cba0419add6591320dc60ef7616b66706e042b566284a4ec42002fbb5331a7173fc8b4b39be7198426fe4bbdcd3ad94b69fc3d8950705b6331c5f3f4cda4ad66 SHA512 b9b8376cbc8b6703868afab18e5baa4ef5354569e57f0596d38a8005fa725299f6858ac86b39fcca10e5a0f1adbd3a4cfa6cc6b62405e78916cc1287d8b36d0d DIST LVM2.2.03.14.tgz 2639538 BLAKE2B 806f5e9cb76a05febef6f8ce8cfc42c92927b9538f62a21029c5ffc426a4fd7c3f32709be08dbd8028b53891b1075d1d13cb3b0d7b1815071ee8eb927d8f3ed3 SHA512 6a93bed1d5cf36f0f48d4d413d028b0e480cd4fc20e25d173770a892f265d2a0cc68d01a720b1513469953649e989532cd0c45f9538f92a4190eb3dc4555857d diff --git a/sys-fs/lvm2/files/lvmetad.initd-2.02.116-r3 b/sys-fs/lvm2/files/lvmetad.initd-2.02.116-r3 deleted file mode 100644 index 55bbf9c4b63b..000000000000 --- a/sys-fs/lvm2/files/lvmetad.initd-2.02.116-r3 +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -pidfile="/run/lvmetad.pid" -command="/sbin/lvmetad" -command_args="${LVMETAD_OPTS:=-p ${pidfile}}" -start_stop_daemon_args="--pidfile ${pidfile}" - -depend() { - : -} - -start_pre() -{ - checkpath --directory /run/lvm || return 1 -} -- cgit v1.2.3