Skip to content
Snippets Groups Projects
Commit cb085205 authored by Laurent Bercot's avatar Laurent Bercot
Browse files

system/s6: allow openrc's sysinit to define early services

parent de8784d5
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6
pkgver=2.7.2.0
pkgrel=1
pkgrel=2
pkgdesc="skarnet.org's small & secure supervision software suite"
url="https://skarnet.org/software/$pkgname/"
arch="all"
......@@ -53,5 +53,5 @@ doc() {
}
sha512sums="0ab98c44324054effa0754efd117b3126a53fac7096979aacffd7d86128c5cb1f714205e30ca4e561ca3740646d1f36eb53b9e30d139d7ce4dc1b8cfb3e33123 s6-2.7.2.0.tar.gz
b4919f76498f86257e13210010a84284dd8574db062b96bcc527c0c5dcc2a35716ff0f3c4d23cb3ec7eed416f16aeec31247b1fda3bd06c1a8f6fd65cf32c6da s6-svscanboot
bad19965aa8ea138cdf5688db9ae05fc7ce2111ac0945b5b0e78cda55ad290602f28ac8b52aae395ca5e857f32e9be4d6df882286b362ba7008a52b29472ff1e s6-svscanboot
fb60b841da03583ba9f0f0541b45e4cf88fa5311b26376042e951317428dcaa6c81bb6c739c7a442ef0d36e1581a29cb9c4fb2d87411268fb23a033130fc8051 agetty-run"
......@@ -40,6 +40,17 @@ if
}
# Also link the early services defined in sysinit, if any
if
{
if -t { test -d /run/early-services }
forbacktickx -pnd"\n" i { ls -1 -U /run/early-services }
importas -u i i
ln -nsf ../early-services/$i /run/service/$i
}
# Create the catch-all logger servicedir directly in the scandir
# (It's too fundamental to be made configurable as an early service.)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment