summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 22:28:15 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 14:44:10 (GMT)
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/udev
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev')
-rw-r--r--meta/recipes-core/udev/eudev/permissions.rules6
-rw-r--r--meta/recipes-core/udev/eudev_3.2.10.bb24
-rw-r--r--meta/recipes-core/udev/udev-extraconf_1.1.bb12
3 files changed, 21 insertions, 21 deletions
diff --git a/meta/recipes-core/udev/eudev/permissions.rules b/meta/recipes-core/udev/eudev/permissions.rules
index 205b733..bfdff4f 100644
--- a/meta/recipes-core/udev/eudev/permissions.rules
+++ b/meta/recipes-core/udev/eudev/permissions.rules
@@ -10,9 +10,9 @@ SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
10SUBSYSTEM=="net", ENV{DRIVER}=="?*", WAIT_FOR_SYSFS="device/driver" 10SUBSYSTEM=="net", ENV{DRIVER}=="?*", WAIT_FOR_SYSFS="device/driver"
11 11
12# devices needed to load the drivers providing them 12# devices needed to load the drivers providing them
13KERNEL=="tun", OPTIONS+="ignore_remove" 13KERNEL=="tun", OPTIONS+="ignore:remove"
14KERNEL=="ppp", OPTIONS+="ignore_remove" 14KERNEL=="ppp", OPTIONS+="ignore:remove"
15KERNEL=="loop[0-9]*", OPTIONS+="ignore_remove" 15KERNEL=="loop[0-9]*", OPTIONS+="ignore:remove"
16 16
17# default permissions for block devices 17# default permissions for block devices
18SUBSYSTEM=="block", GROUP="disk" 18SUBSYSTEM=="block", GROUP="disk"
diff --git a/meta/recipes-core/udev/eudev_3.2.10.bb b/meta/recipes-core/udev/eudev_3.2.10.bb
index a5d2115..347495c 100644
--- a/meta/recipes-core/udev/eudev_3.2.10.bb
+++ b/meta/recipes-core/udev/eudev_3.2.10.bb
@@ -2,7 +2,7 @@ SUMMARY = "eudev is a fork of systemd's udev"
2HOMEPAGE = "https://wiki.gentoo.org/wiki/Eudev" 2HOMEPAGE = "https://wiki.gentoo.org/wiki/Eudev"
3DESCRIPTION = "eudev is Gentoo's fork of udev, systemd's device file manager for the Linux kernel. It manages device nodes in /dev and handles all user space actions when adding or removing devices." 3DESCRIPTION = "eudev is Gentoo's fork of udev, systemd's device file manager for the Linux kernel. It manages device nodes in /dev and handles all user space actions when adding or removing devices."
4LICENSE = "GPLv2.0+ & LGPL-2.1+" 4LICENSE = "GPLv2.0+ & LGPL-2.1+"
5LICENSE_libudev = "LGPL-2.1+" 5LICENSE:libudev = "LGPL-2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
7 7
8DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod libxslt-native util-linux" 8DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod libxslt-native util-linux"
@@ -38,7 +38,7 @@ EXTRA_OECONF = " \
38PACKAGECONFIG ??= "hwdb" 38PACKAGECONFIG ??= "hwdb"
39PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb" 39PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb"
40 40
41do_install_append() { 41do_install:append() {
42 install -d ${D}${sysconfdir}/init.d 42 install -d ${D}${sysconfdir}/init.d
43 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev 43 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
44 sed -i s%@UDEVD@%${base_sbindir}/udevd% ${D}${sysconfdir}/init.d/udev 44 sed -i s%@UDEVD@%${base_sbindir}/udevd% ${D}${sysconfdir}/init.d/udev
@@ -57,7 +57,7 @@ do_install_append() {
57 ln ${D}${bindir}/udevadm ${D}${libexecdir}/${MLPREFIX}udevadm 57 ln ${D}${bindir}/udevadm ${D}${libexecdir}/${MLPREFIX}udevadm
58} 58}
59 59
60do_install_prepend_class-target () { 60do_install:prepend:class-target () {
61 # Remove references to buildmachine 61 # Remove references to buildmachine
62 sed -i -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ 62 sed -i -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
63 ${B}/src/udev/keyboard-keys-from-name.h 63 ${B}/src/udev/keyboard-keys-from-name.h
@@ -70,21 +70,21 @@ PACKAGES =+ "libudev"
70PACKAGES =+ "eudev-hwdb" 70PACKAGES =+ "eudev-hwdb"
71 71
72 72
73FILES_${PN} += "${libexecdir} ${nonarch_base_libdir}/udev ${bindir}/udevadm" 73FILES:${PN} += "${libexecdir} ${nonarch_base_libdir}/udev ${bindir}/udevadm"
74FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc \ 74FILES:${PN}-dev = "${datadir}/pkgconfig/udev.pc \
75 ${includedir}/libudev.h ${libdir}/libudev.so \ 75 ${includedir}/libudev.h ${libdir}/libudev.so \
76 ${includedir}/udev.h ${libdir}/libudev.la \ 76 ${includedir}/udev.h ${libdir}/libudev.la \
77 ${libdir}/libudev.a ${libdir}/pkgconfig/libudev.pc" 77 ${libdir}/libudev.a ${libdir}/pkgconfig/libudev.pc"
78FILES_libudev = "${base_libdir}/libudev.so.*" 78FILES:libudev = "${base_libdir}/libudev.so.*"
79FILES_eudev-hwdb = "${sysconfdir}/udev/hwdb.d" 79FILES:eudev-hwdb = "${sysconfdir}/udev/hwdb.d"
80 80
81RDEPENDS_eudev-hwdb += "eudev" 81RDEPENDS:eudev-hwdb += "eudev"
82 82
83RPROVIDES_${PN} = "hotplug udev" 83RPROVIDES:${PN} = "hotplug udev"
84RPROVIDES_eudev-hwdb += "udev-hwdb" 84RPROVIDES:eudev-hwdb += "udev-hwdb"
85 85
86PACKAGE_WRITE_DEPS += "qemu-native" 86PACKAGE_WRITE_DEPS += "qemu-native"
87pkg_postinst_eudev-hwdb () { 87pkg_postinst:eudev-hwdb () {
88 if test -n "$D"; then 88 if test -n "$D"; then
89 $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} 89 $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX}
90 else 90 else
@@ -92,6 +92,6 @@ pkg_postinst_eudev-hwdb () {
92 fi 92 fi
93} 93}
94 94
95pkg_prerm_eudev-hwdb () { 95pkg_prerm:eudev-hwdb () {
96 rm -f $D${sysconfdir}/udev/hwdb.bin 96 rm -f $D${sysconfdir}/udev/hwdb.bin
97} 97}
diff --git a/meta/recipes-core/udev/udev-extraconf_1.1.bb b/meta/recipes-core/udev/udev-extraconf_1.1.bb
index 90f933d..2ba35b0 100644
--- a/meta/recipes-core/udev/udev-extraconf_1.1.bb
+++ b/meta/recipes-core/udev/udev-extraconf_1.1.bb
@@ -35,11 +35,11 @@ do_install() {
35 install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts 35 install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts
36} 36}
37 37
38FILES_${PN} = "${sysconfdir}/udev" 38FILES:${PN} = "${sysconfdir}/udev"
39RDEPENDS_${PN} = "udev" 39RDEPENDS:${PN} = "udev"
40CONFFILES_${PN} = "${sysconfdir}/udev/mount.blacklist" 40CONFFILES:${PN} = "${sysconfdir}/udev/mount.blacklist"
41 41
42# to replace udev-extra-rules from meta-oe 42# to replace udev-extra-rules from meta-oe
43RPROVIDES_${PN} = "udev-extra-rules" 43RPROVIDES:${PN} = "udev-extra-rules"
44RREPLACES_${PN} = "udev-extra-rules" 44RREPLACES:${PN} = "udev-extra-rules"
45RCONFLICTS_${PN} = "udev-extra-rules" 45RCONFLICTS:${PN} = "udev-extra-rules"