system/os-prober: Updated for version 1.42.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
crocket 2011-07-24 17:23:40 -04:00 committed by Niels Horn
parent 2374948e85
commit 5ae66481c5
4 changed files with 24 additions and 25 deletions

View file

@ -1,5 +1,5 @@
os-prober detects OSes on other partitions than the current system os-prober (an OS detector)
partition, and outputs the results in a generic machine-readable
format. This information can be used to add other OSes to the boot
loader.
os-prober detects OSes on other partitions than the current system partition,
and outputs the results in a generic machine-readable format.
This information can be used to add other OSes to a boot loader.

View file

@ -2,10 +2,10 @@
# Slackware build script for os-prober # Slackware build script for os-prober
# Written by crocket (crockabiscuit@yahoo.com) # Written by crocket (crockabiscuit@gmail.com)
PRGNAM=os-prober PRGNAM=os-prober
VERSION=${VERSION:-1.39} VERSION=${VERSION:-1.42}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -35,7 +35,7 @@ find . \
# Compile newns # Compile newns
make make
# Create a hierharchy for os-prober package, and copy files into it. # Create a hierharchy for os-prober package, and copy files into it.
# I figured out the hierarchy by typing "dpkg -L os-prober" in ubuntu. # I figured out the hierarchy by typing "dpkg -L os-prober" in debian.
mkdir -p $PKG/var/lib/$PRGNAM mkdir -p $PKG/var/lib/$PRGNAM
mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/bin
@ -45,21 +45,19 @@ cp os-prober $PKG/usr/bin
mkdir -p $PKG/usr/lib/$PRGNAM mkdir -p $PKG/usr/lib/$PRGNAM
cp newns $PKG/usr/lib/$PRGNAM cp newns $PKG/usr/lib/$PRGNAM
mkdir -p $PKG/usr/lib/os-probes mkdir -p $PKG/usr/lib/linux-boot-probes/mounted
cp os-probes/common/* $PKG/usr/lib/os-probes cp linux-boot-probes/common/* $PKG/usr/lib/linux-boot-probes
cp linux-boot-probes/mounted/common/* $PKG/usr/lib/linux-boot-probes/mounted
cp linux-boot-probes/mounted/x86/* $PKG/usr/lib/linux-boot-probes/mounted
mkdir -p $PKG/usr/lib/os-probes/mounted mkdir -p $PKG/usr/lib/os-probes/mounted
cp os-probes/common/* $PKG/usr/lib/os-probes
cp os-probes/mounted/common/* $PKG/usr/lib/os-probes/mounted cp os-probes/mounted/common/* $PKG/usr/lib/os-probes/mounted
cp os-probes/mounted/x86/* $PKG/usr/lib/os-probes/mounted cp os-probes/mounted/x86/* $PKG/usr/lib/os-probes/mounted
mkdir -p $PKG/usr/lib/os-probes/init mkdir $PKG/usr/lib/os-probes/init
cp os-probes/init/common/* $PKG/usr/lib/os-probes/init cp os-probes/init/common/* $PKG/usr/lib/os-probes/init
mkdir -p $PKG/usr/lib/linux-boot-probes
cp linux-boot-probes/common/* $PKG/usr/lib/linux-boot-probes/
mkdir $PKG/usr/lib/linux-boot-probes/mounted
cp linux-boot-probes/mounted/common/* $PKG/usr/lib/linux-boot-probes/mounted
cp linux-boot-probes/mounted/x86/* $PKG/usr/lib/linux-boot-probes/mounted
mkdir -p $PKG/usr/share/$PRGNAM mkdir -p $PKG/usr/share/$PRGNAM
cp common.sh $PKG/usr/share/$PRGNAM cp common.sh $PKG/usr/share/$PRGNAM
chmod +x $PKG/usr/share/$PRGNAM/common.sh chmod +x $PKG/usr/share/$PRGNAM/common.sh
@ -74,3 +72,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="os-prober" PRGNAM="os-prober"
VERSION="1.39" VERSION="1.42"
HOMEPAGE="http://packages.debian.org/unstable/utils/os-prober" HOMEPAGE="http://packages.debian.org/squeeze/os-prober"
DOWNLOAD="http://crocket-slackbuilds.googlecode.com/files/os-prober_1.39.tar.gz" DOWNLOAD="http://ftp.de.debian.org/debian/pool/main/o/os-prober/os-prober_1.42.tar.gz"
MD5SUM="42a9d530e3b317a822fd7418686e091d" MD5SUM="8c208654327df559884a54b69d840219"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="crocket" MAINTAINER="crocket"
EMAIL="crockabiscuit@yahoo.com" EMAIL="crockabiscuit@gmail.com"
APPROVED="Erik Hanson" APPROVED="dsomero"

View file

@ -13,7 +13,7 @@ os-prober: partition, and outputs the results in a generic machine-readable
os-prober: format. This information can be used to add other OSes to the boot os-prober: format. This information can be used to add other OSes to the boot
os-prober: loader. os-prober: loader.
os-prober: os-prober:
os-prober: The website of os-prober is os-prober: Website : http://packages.debian.org/squeeze/os-prober
os-prober: http://packages.debian.org/unstable/utils/os-prober os-prober:
os-prober: os-prober:
os-prober: os-prober: