diff options
author | Sam James <sam@gentoo.org> | 2021-12-18 03:35:18 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-18 04:39:25 +0000 |
commit | a86a1f553906b5caac4ead5e176442bf326d75db (patch) | |
tree | cdd687b56eec0149d90d7f40c1dc998a5c451233 /sys-fs/eudev | |
parent | media-libs/mesa: Drop old (diff) | |
download | gentoo-a86a1f553906b5caac4ead5e176442bf326d75db.tar.gz gentoo-a86a1f553906b5caac4ead5e176442bf326d75db.tar.bz2 gentoo-a86a1f553906b5caac4ead5e176442bf326d75db.zip |
sys-fs/eudev: update live ebuild for hwids/hwdb changes upstream
eudev upstream now includes updated hwdb files and shouldn't need hwids.
Bug: https://bugs.gentoo.org/717216
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/eudev')
-rw-r--r-- | sys-fs/eudev/eudev-9999.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-fs/eudev/eudev-9999.ebuild b/sys-fs/eudev/eudev-9999.ebuild index 1ed46df87518..991bd8047532 100644 --- a/sys-fs/eudev/eudev-9999.ebuild +++ b/sys-fs/eudev/eudev-9999.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/gentoo/eudev" LICENSE="LGPL-2.1 MIT GPL-2" SLOT="0" -IUSE="+hwdb +kmod introspection rule-generator selinux static-libs test" +IUSE="+kmod introspection rule-generator selinux static-libs test" RESTRICT="!test? ( test )" COMMON_DEPEND=">=sys-apps/util-linux-2.20 @@ -46,10 +46,10 @@ RDEPEND="${COMMON_DEPEND} !<sys-fs/lvm2-2.02.103 !<sec-policy/selinux-base-2.20120725-r10 !sys-fs/udev - !sys-apps/systemd" + !sys-apps/systemd + !sys-apps/hwids[udev]" -PDEPEND=">=sys-fs/udev-init-scripts-26 - hwdb? ( >=sys-apps/hwids-20140304[udev] )" +PDEPEND=">=sys-fs/udev-init-scripts-26" MULTILIB_WRAPPED_HEADERS=( /usr/include/udev.h @@ -113,7 +113,6 @@ multilib_src_configure() { --with-rootlibexecdir="${EPREFIX}"/lib/udev --enable-split-usr --enable-manpages - --disable-hwdb ) # Only build libudev for non-native_abi, and only install it to libdir, @@ -176,6 +175,9 @@ multilib_src_install_all() { insinto /lib/udev/rules.d doins "${FILESDIR}"/40-gentoo.rules + insinto /lib/udev/hwdb.d + doins hwdb/*.hwdb + use rule-generator && doinitd "${FILESDIR}"/udev-postmount } @@ -204,7 +206,7 @@ pkg_postinst() { fi done - if use hwdb && has_version 'sys-apps/hwids[udev]'; then + if has_version 'sys-apps/hwids[udev]'; then udevadm hwdb --update --root="${ROOT%/}" # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda |