From 90bb6a7d338176a75d2afb4ce0c6b92f0ffec4f4 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 30 Jul 2018 11:15:43 -0400 Subject: 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 --- pcr/runit/runit.install | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pcr/runit/runit.install (limited to 'pcr/runit/runit.install') 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 +} -- cgit v1.2.3