summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-02-23 13:19:08 -0500
committerMike Gilbert <floppym@gentoo.org>2023-02-23 13:19:36 -0500
commit5ba631f7a98d0ce3e5c8d3c6c780c11c27cb1610 (patch)
treee519bb9c8d33acd0309aa803bbadf89795f63312
parentnet-misc/networkmanager: Drop SYSFS_DEPRECATED_V2 check (diff)
downloadgentoo-5ba631f7a98d0ce3e5c8d3c6c780c11c27cb1610.tar.gz
gentoo-5ba631f7a98d0ce3e5c8d3c6c780c11c27cb1610.tar.bz2
gentoo-5ba631f7a98d0ce3e5c8d3c6c780c11c27cb1610.zip
sys-apps/systemd-utils: move kernel config check behind udev USE flag
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--sys-apps/systemd-utils/systemd-utils-251.10-r1.ebuild2
-rw-r--r--sys-apps/systemd-utils/systemd-utils-252.6.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/systemd-utils/systemd-utils-251.10-r1.ebuild b/sys-apps/systemd-utils/systemd-utils-251.10-r1.ebuild
index 6d94fe6ec771..2b52117a1fb0 100644
--- a/sys-apps/systemd-utils/systemd-utils-251.10-r1.ebuild
+++ b/sys-apps/systemd-utils/systemd-utils-251.10-r1.ebuild
@@ -117,7 +117,7 @@ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED
~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~UNIX"
pkg_setup() {
- if [[ ${MERGE_TYPE} != buildonly ]]; then
+ if [[ ${MERGE_TYPE} != buildonly ]] && use udev; then
linux-info_pkg_setup
fi
}
diff --git a/sys-apps/systemd-utils/systemd-utils-252.6.ebuild b/sys-apps/systemd-utils/systemd-utils-252.6.ebuild
index 85a489584485..35fbaaa92fd2 100644
--- a/sys-apps/systemd-utils/systemd-utils-252.6.ebuild
+++ b/sys-apps/systemd-utils/systemd-utils-252.6.ebuild
@@ -110,7 +110,7 @@ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED
~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~UNIX"
pkg_setup() {
- if [[ ${MERGE_TYPE} != buildonly ]]; then
+ if [[ ${MERGE_TYPE} != buildonly ]] && use udev; then
linux-info_pkg_setup
fi
}