summaryrefslogtreecommitdiff
path: root/setup-devd.in
AgeCommit message (Collapse)Author
2023-01-24setup-*: use fake apk instead of $MOCK apkNatanael Copa
2022-11-08setup-devd: fix typoLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-08setup-devd: adapt to the busybox-mdev-openrc splitLaurent Bercot
The mdev init script isn't guaranteed to be there anymore; we explicitly add the busybox-mdev-openrc package when choosing mdev as our device manager. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-08setup-devd: also add hwdrivers for mdevdLaurent Bercot
The hwdriver service is currently activated for mdev and deactivated when mdev is disabled. Since mdevd and mdev use (more or less) the same mechanism, we also enable hwdrivers with mdevd. The service is only started when a coldplug is required, because if no coldplug is required, the appropriate kernel modules are already loaded. Note that with the MODALIAS line in /etc/mdev.conf, it is possible that the hwdrivers service is entirely redundant. This would need some additional testing. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-08-09setup-devd: disable/stop hwdrivers together with mdevNatanael Copa
we should stop and disable hwdrivers when we stop and disable mdev ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/14046
2022-05-19setup-devd: add more testsNatanael Copa
2022-05-16setup-devd: silence warningsNatanael Copa
add --quiet option to silence warnings
2022-05-16setup-devd: use long opts for rc-serviceNatanael Copa
it makes the script more readable
2022-05-16setup-devd: fix service `mdev-init' does not exist messageNatanael Copa
We currently does not have any mdev-init script.
2022-05-16setup-devd: always perform a coldplug when enabling udevLaurent Bercot
2022-05-12setup-devd: fix usage textNatanael Copa
remove the prog prefix so we are consistent with the other scripts.
2022-05-12setup-devd: make script testable, fix -h usage optionNatanael Copa
Don't exit with error with -h specified. Send usage text to stderr when there is a bad option
2022-05-12setup-devd: don't install non-existing mdev-openrcNatanael Copa
The mdev script is provided by busybox-initscripts
2022-04-08setup-alpine: add setup-devd scriptLaurent Bercot