mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
ef12dfc505
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
36 lines
1.0 KiB
BlitzBasic
36 lines
1.0 KiB
BlitzBasic
DESCRIPTION = "Extra udev rules"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
|
|
|
inherit allarch
|
|
|
|
PR = "r3"
|
|
|
|
SRC_URI = " \
|
|
file://automount.rules \
|
|
file://mount.sh \
|
|
file://mount.blacklist \
|
|
file://autonet.rules \
|
|
file://network.sh \
|
|
file://local.rules \
|
|
"
|
|
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}/udev/rules.d
|
|
|
|
install -m 0644 ${WORKDIR}/automount.rules ${D}${sysconfdir}/udev/rules.d/automount.rules
|
|
install -m 0644 ${WORKDIR}/autonet.rules ${D}${sysconfdir}/udev/rules.d/autonet.rules
|
|
install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules
|
|
|
|
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
|
|
|
|
install -d ${D}${sysconfdir}/udev/scripts/
|
|
|
|
install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
|
|
install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts
|
|
}
|
|
|
|
FILES_${PN} = "${sysconfdir}/udev"
|
|
RDEPENDS_${PN} = "udev"
|