summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev
Commit message (Collapse)AuthorAgeFilesLines
* Convert to new override syntaxMartin Jansa2021-08-041-1/+1
| | | | | | | | | | 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>
* 99-com.rules: fix error invalid substitution typeChangqing Li2021-05-161-4/+4
| | | | | | | | | | | 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>
* Add Pican2 supportFabien Lahoudere2018-12-122-1/+6
| | | | | | | | | | | 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>
* meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic2018-06-271-1/+1
| | | | | | Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* Drop unnecessary dependencies and tasksPaul Barker2018-04-232-0/+4
| | | | | | | | | | | | | | 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>
* udev-udisks-rules-rpi: Hide initial boot partition from udisks2Andreas Müller2018-04-062-0/+21
| | | | | | | | | | | | | | | | | 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>
* udev: Create rules file to generate serial0/1Andrei Gherzan2017-04-192-0/+33
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>