os-prober: own required runtime dirs.

This commit is contained in:
Juan RP 2011-11-09 17:21:51 +01:00
parent c1b01b7ed5
commit d0fee20d2f

View File

@ -1,6 +1,7 @@
# Template file for 'os-prober'
pkgname=os-prober
version=1.49
revision=1
wrksrc=${pkgname}
distfiles="${DEBIAN_SITE}/main/o/$pkgname/${pkgname}_$version.tar.gz"
short_desc="Utility to detect other OSes on a set of drives"
@ -12,17 +13,13 @@ long_desc="
This package detects other OSes available on a system and outputs the
results in a generic machine-readable format."
keep_empty_dirs=yes
Add_dependency run glibc
do_build()
{
do_build() {
make ${makejobs}
}
do_install()
{
do_install() {
local ARCH
case "${XBPS_MACHINE}" in
@ -34,6 +31,8 @@ do_install()
vmkdir usr/share/os-prober
vmkdir var/lib/os-prober
vmkdir usr/lib/linux-boot-probes/mounted
vmkdir var/lib/os-prober
touch ${DESTDIR}/var/lib/os-prober/.owned
vinstall os-prober 755 usr/bin
vinstall linux-boot-prober 755 usr/bin