main/esystemd: new aport
esystemd is a meta build package that is meant for building standalone versions of tmpfiles and sysusers. It also contains their runtime configuration. Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9103>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
descriptions="Create static device nodes in /dev"
|
||||
|
||||
depend() {
|
||||
after systemd-tmpfiles-setup-dev-early
|
||||
use dev-mount
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ -x /usr/lib/tmpfiles.d ]; then
|
||||
ebegin "Populating /dev from tmpfiles.d"
|
||||
/usr/bin/systemd-tmpfiles --prefix=/dev --create --boot
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user