OpenRC: added some more XBPS custom patches, bumprev.
* Do not add / with rootfs type in /etc/mtab in devfs service. * Mount /var/run, /var/lock and /var/tmp as tmpfs in sysfs service. * Do not clean up /var/run as it is redundant now in bootmisc service.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Template file for 'OpenRC'
|
||||
pkgname=OpenRC
|
||||
version=0.6.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=openrc-${version}
|
||||
distfiles="http://roy.marples.name/downloads/openrc/openrc-$version.tar.bz2"
|
||||
build_style=gnu_makefile
|
||||
build_style=custom-install
|
||||
short_desc="Universal init system"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=c7847254e41b613b76ae570cf786ce8164d637962ad4580d0825b4b62b475e07
|
||||
@@ -18,10 +18,10 @@ long_desc="
|
||||
|
||||
keep_empty_dirs=yes
|
||||
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/locale
|
||||
/etc/conf.d/localmount /etc/conf.d/modules /etc/conf.d/network
|
||||
/etc/conf.d/urandom /etc/conf.d/staticroute /etc/inittab"
|
||||
/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/locale
|
||||
/etc/conf.d/localmount /etc/conf.d/modules /etc/conf.d/network
|
||||
/etc/conf.d/urandom /etc/conf.d/staticroute /etc/inittab"
|
||||
subpackages="$pkgname-devel"
|
||||
|
||||
Add_dependency full glibc
|
||||
@@ -29,7 +29,7 @@ Add_dependency full psmisc
|
||||
Add_dependency full sysvinit
|
||||
Add_dependency build diffutils
|
||||
|
||||
pre_build()
|
||||
do_build()
|
||||
{
|
||||
# Use cmp(1) from diffutils.
|
||||
export PATH="/usr/bin:$PATH"
|
||||
@@ -41,10 +41,14 @@ pre_build()
|
||||
for f in init.d/consolefont.in conf.d/consolefont; do
|
||||
sed -i -e "s|/usr/share|/lib/kbd|g" ${wrksrc}/${f}
|
||||
done
|
||||
|
||||
make ${makejobs} BRANDING="XBPS GNU/Linux"
|
||||
}
|
||||
|
||||
post_install()
|
||||
do_install()
|
||||
{
|
||||
make DESTDIR=${DESTDIR} install
|
||||
|
||||
install -D -m755 ${wrksrc}/support/sysvinit/inittab \
|
||||
${DESTDIR}/etc/inittab
|
||||
install -D -m644 ${FILESDIR}/$pkgname.logrotate \
|
||||
|
||||
Reference in New Issue
Block a user