aports/main/raspberrypi-userland/raspberrypi-userland-udev.post-install
macmpi 19fff1a170 main/raspberrypi-userland: rename from raspberrypi and modernize
- rename as raspberrypi-userland to relate to package origin, and be clearer and consistent with other rpi related Alpine packages (keeping backwards compatibility)
- move main binary utilities into /usr/bin
- add udev rule to set relevant devices in video group (a related MR is sent to mdev.conf too)

fixes: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14700
2023-03-18 22:22:25 +01:00

9 lines
197 B
Bash

#!/bin/sh
if [ -S /run/udev/control ]; then
udevadm control --reload-rules
udevadm trigger --sysname-match=vcio --sysname-match=vchiq --sysname-match=vc-mem --sysname-match=vcsm-cma
fi
exit 0