diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-30 11:41:38 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-30 17:18:33 -0400 |
commit | a7cc30a62955e44e02091ad8f7c1ab5d5544d3c4 (patch) | |
tree | 03f152dea0494f20d0b2168a32f691a7b4d8a65b /pcr/runit-scripts/runit.install | |
parent | 513cfb305809ca420d67fcafcaf2dd5b26d6fa7d (diff) | |
download | abslibre-a7cc30a62955e44e02091ad8f7c1ab5d5544d3c4.tar.gz abslibre-a7cc30a62955e44e02091ad8f7c1ab5d5544d3c4.tar.bz2 abslibre-a7cc30a62955e44e02091ad8f7c1ab5d5544d3c4.zip |
pcr/runit-scripts: Adjust to work with new runit
- provides/conflicts=('init'), not 'runit-init'
- don't provide /etc/runit/runsvdir/current as a package file
- do provide the /usr/bin/init->runit-init symlink
While we're at it:
- depend on generic 'udev' instead of 'eudev'
- Use git sources to have a sane pkgver() function
- move a sed command to prepare()
- provides/conflicts=('openrc-pid1'), since it launches openrc if it's
installed
Diffstat (limited to 'pcr/runit-scripts/runit.install')
-rw-r--r-- | pcr/runit-scripts/runit.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pcr/runit-scripts/runit.install b/pcr/runit-scripts/runit.install new file mode 100644 index 000000000..609fd90ae --- /dev/null +++ b/pcr/runit-scripts/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 +} |