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:
parent
074a142319
commit
a3f7bf3e1a
2 changed files with 7 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue