ee0b03401a
This update uses a working inittab file that makes single user and shutdown/reboot work without additional patches. --HG-- extra : convert_revision : 8cc846c92f91c50d4559b53d43a7d86182660bfd
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# Template file for 'OpenRC'
|
|
pkgname=OpenRC
|
|
version=20090507
|
|
wrksrc=openrc
|
|
distfiles="http://ftp.gnu.org/gnu/openrc/openrc-$version.tar.bz2"
|
|
build_style=gnu_makefile
|
|
short_desc="Universal init system"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=093a15dbbb0b30cb618fc8e11ee4e67b985a0e8bd536728ea343ebdb03d462fc
|
|
long_desc="
|
|
OpenRC is a dependency based init system that works with the system
|
|
provided init program, normally /sbin/init. It is not a replacement for
|
|
/sbin/init. OpenRC is 100% compatible with Gentoo init scripts, which
|
|
means you can probably find one for the daemons you want to start in the
|
|
Gentoo Portage Tree. OpenRC also provides an init script that runs BSD
|
|
rc.d style scripts too, making it easy to port your BSD system to OpenRC."
|
|
|
|
conf_files="/etc/rc.conf /etc/conf.d/bootmisc /etc/conf.d/consolefont
|
|
/etc/conf.d/dmesg /etc/conf.d/fsck /etc/conf.d/hostname /etc/conf.d/hwclock
|
|
/etc/conf.d/keymaps /etc/conf.d/local /etc/conf.d/localmount
|
|
/etc/conf.d/modules /etc/conf.d/network /etc/conf.d/urandom
|
|
/etc/inittab"
|
|
|
|
Add_dependency full glibc
|
|
Add_dependency full psmisc
|
|
Add_dependency full sysvinit
|
|
|
|
pre_configure()
|
|
{
|
|
# Fix path for kbd stuff.
|
|
for f in init.d/consolefont.in conf.d/consolefont; do
|
|
sed -i -e "s|/usr/share/consolefonts|/lib/kbd/consolefonts|g" \
|
|
${wrksrc}/${f}
|
|
done
|
|
}
|
|
|
|
post_install()
|
|
{
|
|
install -D -m755 ${wrksrc}/support/sysvinit/inittab \
|
|
${DESTDIR}/etc/inittab
|
|
}
|