OpenRC: improve shutdown sequence, by avoiding unmounting some fs.

This commit is contained in:
Juan RP
2011-05-20 14:26:10 +02:00
parent 070ecb37b7
commit c86e824b9b
2 changed files with 37 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
# Template file for 'OpenRC'
pkgname=OpenRC
version=20110211
revision=5
revision=6
wrksrc=openrc-${version}
distfiles="http://xbps.nopcode.org/distfiles/openrc-$version.tar.bz2"
build_style=custom-install
@@ -41,6 +41,7 @@ Add_dependency full psmisc
Add_dependency full sysvinit
Add_dependency build diffutils
_version="0.7.0-${version} #${revision}"
_branding="XBPS GNU/Linux"
do_build()
@@ -53,12 +54,13 @@ do_build()
sed -i -e "s|/usr/share|/lib/kbd|g" ${wrksrc}/${f}
done
make ${makejobs} BRANDING="${_branding}"
make ${makejobs} VERSION="${_version}" BRANDING="${_branding}"
}
do_install()
{
make DESTDIR=${DESTDIR} BRANDING="${_branding}" install
make DESTDIR=${DESTDIR} VERSION="${_version}" \
BRANDING="${_branding}" install
install -D -m755 ${wrksrc}/support/sysvinit/inittab \
${DESTDIR}/etc/inittab