diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-30 11:15:43 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-30 16:34:12 -0400 |
commit | 90bb6a7d338176a75d2afb4ce0c6b92f0ffec4f4 (patch) | |
tree | 61384be0650bb3f83b56cbda152dcfbcdfb68f82 /pcr/runit/runit.install | |
parent | 676cfdb9322b2d8c98d2eeeb5bb3e68abc7ffa1d (diff) | |
download | abslibre-90bb6a7d338176a75d2afb4ce0c6b92f0ffec4f4.tar.gz abslibre-90bb6a7d338176a75d2afb4ce0c6b92f0ffec4f4.tar.bz2 abslibre-90bb6a7d338176a75d2afb4ce0c6b92f0ffec4f4.zip |
pcr/runit: Fix up the package
- Don't create a cyclical dependency with it and runit-init, making it
hard to switch inits.
- Install the debian example files in docs; the HTML docs link to them
- Use directories recommended by doc/runlevels.html and doc/upgrade.html
- Add a minimal split package with the base init setup from
doc/replaceinit.html
- Don't bother with prepare(), we make a /service symlink
- Don't bother putting -static in CFLAGS, src/Makefile takes care of that
Diffstat (limited to 'pcr/runit/runit.install')
-rw-r--r-- | pcr/runit/runit.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pcr/runit/runit.install b/pcr/runit/runit.install new file mode 100644 index 000000000..609fd90ae --- /dev/null +++ b/pcr/runit/runit.install @@ -0,0 +1,7 @@ +#!/hint/bash + +post_install() { + if ! test -L etc/runit/runsvdir/current; then + ln -sfvT default etc/runit/runsvdir/current + fi +} |