Go to file
William Hubbs fdfa6dbb0e
rewrite tests (#515)
* rewrite tests to work with meson

This ports our tests to meson and makes them able to be run in parallel.

* add tests to ci

* rewrite test/check-trailing-newlines in bash

This test was using a GNU sed command which does not work on Alpine Linux.
2022-04-16 15:13:08 -05:00
.github/workflows rewrite tests (#515) 2022-04-16 15:13:08 -05:00
bash-completion migrate fully to meson build system 2022-04-06 10:51:55 -05:00
ci rewrite tests (#515) 2022-04-16 15:13:08 -05:00
conf.d migrate fully to meson build system 2022-04-06 10:51:55 -05:00
etc migrate fully to meson build system 2022-04-06 10:51:55 -05:00
init.d migrate fully to meson build system 2022-04-06 10:51:55 -05:00
local.d migrate fully to meson build system 2022-04-06 10:51:55 -05:00
man migrate fully to meson build system 2022-04-06 10:51:55 -05:00
pkgconfig migrate fully to meson build system 2022-04-06 10:51:55 -05:00
sh binfmt: ignore empty lines (#492) 2022-04-09 14:36:47 -04:00
src openrc-shutdown: remove rc- prefix from file names 2022-04-09 22:54:03 -05:00
support migrate fully to meson build system 2022-04-06 10:51:55 -05:00
sysctl.d migrate fully to meson build system 2022-04-06 10:51:55 -05:00
test rewrite tests (#515) 2022-04-16 15:13:08 -05:00
tools migrate fully to meson build system 2022-04-06 10:51:55 -05:00
zsh-completion migrate fully to meson build system 2022-04-06 10:51:55 -05:00
.cirrus.yml use meson in cirrus ci 2021-12-30 18:37:19 -06:00
.clangd Add clangd support for development 2022-03-31 00:52:36 -05:00
.gitignore migrate fully to meson build system 2022-04-06 10:51:55 -05:00
.travis.yml update travis ci irc notifications 2021-08-14 15:05:07 -05:00
agetty-guide.md
AUTHORS Use seedrng for seeding the random number generator 2022-03-26 19:16:27 -05:00
BUSYBOX.md
ChangeLog update ChangeLog 2021-09-07 16:14:08 -05:00
FEATURE-REMOVAL-SCHEDULE.md
HISTORY.md
init-guide.md Delete stray text. 2020-01-11 11:15:56 -06:00
LICENSE
meson_options.txt capabilities: Add support for Linux capabilities(7) 2021-12-23 17:29:10 -05:00
meson.build rewrite tests (#515) 2022-04-16 15:13:08 -05:00
NEWNET.md NEWNET.md: fix the title 2021-04-03 15:18:30 -05:00
NEWS.md migrate fully to meson build system 2022-04-06 10:51:55 -05:00
README.md migrate fully to meson build system 2022-04-06 10:51:55 -05:00
runit-guide.md
s6-guide.md
service-script-guide.md Add newline for want 2022-03-05 13:14:21 -05:00
STYLE-GUIDE.md
supervise-daemon-guide.md
TODO
user-guide.md user-guide: clarify note for Runlevels/rc-update usage 2020-12-20 13:54:33 +01:00

OpenRC README

OpenRC is a dependency-based init system that works with the system-provided init program, normally /sbin/init.

building and installing

OpenRC uses the meson build system, so use the usual methods for this build system to build and install.

Notes

We don't support building a static OpenRC with PAM.

PKG_PREFIX should be set to where packages install to by default.

LOCAL_PREFIX should be set to where user maintained packages are. Only set LOCAL_PREFIX if different from PKG_PREFIX.

ROOTPREFIX should be set when the root path is different from '/'.

rc and rc.shutdown are the hooks from the BSD init into OpenRC.

devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic hook into OpenRC.

inittab is the same, but for SysVInit as used by most Linux distributions. This can be found in the support folder.

Obviously, if you're installing this onto a system that does not use OpenRC by default then you may wish to backup the above listed files, remove them and then install so that the OS hooks into OpenRC.

Discussions

We are testing discussions, so feel free to open topics there.

Reporting Bugs

Please report bugs on our bug tracker.

If you can contribute code , please feel free to do so by opening pull requests.

IRC Channel

We have an official irc channel, #openrc on the libera network. Please connect your irc client to irc.libera.chat and join #openrc on that network.