summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-07-09 13:30:12 -0400
committerMike Gilbert <floppym@gentoo.org>2021-07-09 13:30:12 -0400
commit6b5cd908e67975564a0074dcd13b0d60f53f9daa (patch)
tree2722dc48e23c0124e602e2d057646ce4f68ae272 /sys-fs
parentdev-util/bpftrace: Remove old (diff)
downloadgentoo-6b5cd908e67975564a0074dcd13b0d60f53f9daa.tar.gz
gentoo-6b5cd908e67975564a0074dcd13b0d60f53f9daa.tar.bz2
gentoo-6b5cd908e67975564a0074dcd13b0d60f53f9daa.zip
sys-fs/udev: remove redundant rules installation
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/udev-249.ebuild7
-rw-r--r--sys-fs/udev/udev-9999.ebuild7
2 files changed, 6 insertions, 8 deletions
diff --git a/sys-fs/udev/udev-249.ebuild b/sys-fs/udev/udev-249.ebuild
index 01117409e7f4..d23c86c0aeb8 100644
--- a/sys-fs/udev/udev-249.ebuild
+++ b/sys-fs/udev/udev-249.ebuild
@@ -184,9 +184,9 @@ multilib_src_install() {
exeinto /lib/udev
doexe src/udev/{ata_id,cdrom_id,fido_id,mtd_probe,scsi_id,v4l_id}
+ # Install generated rules (${BUILD_DIR}/rules.d/*.rules)
insinto /lib/udev/rules.d
doins rules.d/*.rules
- doins "${S}"/rules.d/*.rules
insinto /usr/share/pkgconfig
doins src/udev/udev.pc
@@ -207,11 +207,10 @@ multilib_src_install_all() {
insinto /lib/systemd/network
doins network/99-default.link
- # see src_prepare() for content of 40-gentoo.rules
+ # Install static rules (${S}/rules.d/*.rules)
insinto /lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
- doins "${S}"/rules.d/*.rules
doins rules.d/*.rules
+ doins "${FILESDIR}"/40-gentoo.rules
dobashcomp shell-completion/bash/udevadm
diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild
index 01117409e7f4..d23c86c0aeb8 100644
--- a/sys-fs/udev/udev-9999.ebuild
+++ b/sys-fs/udev/udev-9999.ebuild
@@ -184,9 +184,9 @@ multilib_src_install() {
exeinto /lib/udev
doexe src/udev/{ata_id,cdrom_id,fido_id,mtd_probe,scsi_id,v4l_id}
+ # Install generated rules (${BUILD_DIR}/rules.d/*.rules)
insinto /lib/udev/rules.d
doins rules.d/*.rules
- doins "${S}"/rules.d/*.rules
insinto /usr/share/pkgconfig
doins src/udev/udev.pc
@@ -207,11 +207,10 @@ multilib_src_install_all() {
insinto /lib/systemd/network
doins network/99-default.link
- # see src_prepare() for content of 40-gentoo.rules
+ # Install static rules (${S}/rules.d/*.rules)
insinto /lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
- doins "${S}"/rules.d/*.rules
doins rules.d/*.rules
+ doins "${FILESDIR}"/40-gentoo.rules
dobashcomp shell-completion/bash/udevadm