Skip to content

Commit

Permalink
udev-rules-rpi: Use 99-com.rules directly from upstream
Browse files Browse the repository at this point in the history
Rather than have an unsynchronized copy of this file, let's use this
udev rule directly from upstream.

Signed-off-by: Florin Sarbu <florin@balena.io>
  • Loading branch information
floion authored and agherzan committed May 31, 2023
1 parent 2a06e4e commit 43683cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
7 changes: 4 additions & 3 deletions recipes-core/udev/udev-rules-rpi.bb
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = " \
file://99-com.rules \
git://github.com/RPi-Distro/raspberrypi-sys-mods;protocol=https;branch=master \
file://can.rules \
"
SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf"

S = "${WORKDIR}"
S = "${WORKDIR}/git"

INHIBIT_DEFAULT_DEPS = "1"

do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${WORKDIR}/99-com.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${S}/etc.armhf/udev/rules.d/99-com.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/can.rules ${D}${sysconfdir}/udev/rules.d/
}
21 changes: 0 additions & 21 deletions recipes-core/udev/udev-rules-rpi/99-com.rules

This file was deleted.

0 comments on commit 43683cb

Please sign in to comment.