aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/udev
AgeCommit message (Collapse)Author
2023-05-28udev-rules-rpi: Use 99-com.rules directly from upstreamFlorin Sarbu
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>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-1699-com.rules: fix error invalid substitution typeChangqing Li
fix below error: /etc/udev/rules.d/99-com.rules:10 Invalid value "/bin/sh -c 'ALIASES=/proc/device-tree/aliases; if cmp -s $ALIASES/uart0 $ALIASES/serial0; then echo 0;elif cmp -s $ALIASES/uart0 $ALIASES/serial1; then echo 1; else exit 1; fi'" for PROGRAM (char 58: invalid substitution type) Signed-off-by: Changqing Li <changqing.li@windriver.com>
2018-12-12Add Pican2 supportFabien Lahoudere
In order to make Pican 2 work, we : - add mcp2515.dto to the overlay list - add a variable to enable it in local.conf - create a udev rule to mount interface http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
2018-06-27meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic
Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-04-23Drop unnecessary dependencies and tasksPaul Barker
We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-04-06udev-udisks-rules-rpi: Hide initial boot partition from udisks2Andreas Müller
If I am not mistaken, many desktops (kde/lxqt/xfce..) use udisks2 to ask for devices which can be mounted. Without this patch the initial boot partition can be mounted by a single click on folder displayed on desktop or file manager. Why it is suggested to add this recipe to an image: * It removes annoying icon in desktop/file manager. * The initial boot partition is vfat. Unpriviledged users can modify content. E.g by removing files accidently, images can be turned into non-booting condition easily. And from security point of view, it is a disaster. FWIW: Have similar in all my BSPs vor very long time. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2017-04-19udev: Create rules file to generate serial0/1Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>