main/postmarketos-base: use setup-devd (MR 3302)

Alpine does not use setup-udev anymore and provides the same
functionality through setup-devd. The setup-udev script was deleted [1]
but postmarketos-base still used it and caused pmbootstrap to fail when
building a device image. Use the rc-service setup directly from
setup-devd.

[1] b56c4c2b9d
This commit is contained in:
Dylan Van Assche 2022-07-20 14:23:17 +02:00 committed by Newbyte
parent 074a142319
commit a3f7bf3e1a
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-base
pkgver=20
pkgrel=2
pkgver=21
pkgrel=0
pkgdesc="Meta package for minimal postmarketOS base"
url="https://postmarketos.org"
arch="noarch"

View file

@ -1,8 +1,10 @@
#!/bin/sh -e
# Enable udev OpenRC services and runlevels
# https://github.com/alpinelinux/aports/blob/master/main/eudev/setup-udev
setup-udev -n
# Enable eudev service
rc-update add udev sysinit
rc-update add udev-trigger sysinit
rc-update add udev-settle sysinit
rc-update add udev-postmount default
# Enable other OpenRC services
for service in devfs dmesg; do