Add services to provide things not provided by devtmpfs or udev/mdev

This commit is contained in:
Alex D. 2024-02-15 08:19:18 +00:00
parent 207ac183a4
commit 5532823726
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
18 changed files with 30 additions and 1 deletions

View File

@ -3,7 +3,7 @@
. ../../APKBUILD.template
pkgname=nnd-s6-services
pkgver=2.66
pkgver=2.67
pkgrel=0
pkgdesc="Base services for s6"
depends="s6-rc s6-portable-utils s6-linux-utils"

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1,5 @@
#!/bin/execlineb -P
export NAME /dev/fd
export TARGET /proc/self/fd
/usr/libexec/nnd/s6/link

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1,5 @@
#!/bin/execlineb -P
export NAME /dev/stderr
export TARGET /proc/self/fd/2
/usr/libexec/nnd/s6/link

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1,5 @@
#!/bin/execlineb -P
export NAME /dev/stdin
export TARGET /proc/self/fd/0
/usr/libexec/nnd/s6/link

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1,5 @@
#!/bin/execlineb -P
export NAME /dev/stdin
export TARGET /proc/self/fd/1
/usr/libexec/nnd/s6/link

5
main/nnd-s6-services/tmpl/link Executable file
View File

@ -0,0 +1,5 @@
#!/bin/execlineb -W
importas -i NAME NAME
importas -i TARGET TARGET
ln -snf $TARGET $NAME