Add services to provide things not provided by devtmpfs or udev/mdev
This commit is contained in:
parent
207ac183a4
commit
5532823726
@ -3,7 +3,7 @@
|
|||||||
. ../../APKBUILD.template
|
. ../../APKBUILD.template
|
||||||
|
|
||||||
pkgname=nnd-s6-services
|
pkgname=nnd-s6-services
|
||||||
pkgver=2.66
|
pkgver=2.67
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Base services for s6"
|
pkgdesc="Base services for s6"
|
||||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||||
|
1
main/nnd-s6-services/rc/dir.dev-fd/type
Normal file
1
main/nnd-s6-services/rc/dir.dev-fd/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
oneshot
|
5
main/nnd-s6-services/rc/dir.dev-fd/up
Normal file
5
main/nnd-s6-services/rc/dir.dev-fd/up
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
export NAME /dev/fd
|
||||||
|
export TARGET /proc/self/fd
|
||||||
|
|
||||||
|
/usr/libexec/nnd/s6/link
|
1
main/nnd-s6-services/rc/file.dev-stderr/type
Normal file
1
main/nnd-s6-services/rc/file.dev-stderr/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
oneshot
|
5
main/nnd-s6-services/rc/file.dev-stderr/up
Normal file
5
main/nnd-s6-services/rc/file.dev-stderr/up
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
export NAME /dev/stderr
|
||||||
|
export TARGET /proc/self/fd/2
|
||||||
|
|
||||||
|
/usr/libexec/nnd/s6/link
|
1
main/nnd-s6-services/rc/file.dev-stdin/type
Normal file
1
main/nnd-s6-services/rc/file.dev-stdin/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
oneshot
|
5
main/nnd-s6-services/rc/file.dev-stdin/up
Normal file
5
main/nnd-s6-services/rc/file.dev-stdin/up
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
export NAME /dev/stdin
|
||||||
|
export TARGET /proc/self/fd/0
|
||||||
|
|
||||||
|
/usr/libexec/nnd/s6/link
|
1
main/nnd-s6-services/rc/file.dev-stdout/type
Normal file
1
main/nnd-s6-services/rc/file.dev-stdout/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
oneshot
|
5
main/nnd-s6-services/rc/file.dev-stdout/up
Normal file
5
main/nnd-s6-services/rc/file.dev-stdout/up
Normal 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
5
main/nnd-s6-services/tmpl/link
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/execlineb -W
|
||||||
|
importas -i NAME NAME
|
||||||
|
importas -i TARGET TARGET
|
||||||
|
|
||||||
|
ln -snf $TARGET $NAME
|
Loading…
Reference in New Issue
Block a user