aboutsummaryrefslogtreecommitdiff
path: root/system/os-prober/os-prober.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/os-prober/os-prober.SlackBuild')
-rw-r--r--system/os-prober/os-prober.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/system/os-prober/os-prober.SlackBuild b/system/os-prober/os-prober.SlackBuild
index 13b136395cf7..d902d7b22307 100644
--- a/system/os-prober/os-prober.SlackBuild
+++ b/system/os-prober/os-prober.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for os-prober
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=os-prober
-VERSION=${VERSION:-1.39}
+VERSION=${VERSION:-1.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +35,7 @@ find . \
# Compile newns
make
# 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/usr/bin
@@ -45,21 +45,19 @@ cp os-prober $PKG/usr/bin
mkdir -p $PKG/usr/lib/$PRGNAM
cp newns $PKG/usr/lib/$PRGNAM
-mkdir -p $PKG/usr/lib/os-probes
-cp os-probes/common/* $PKG/usr/lib/os-probes
+mkdir -p $PKG/usr/lib/linux-boot-probes/mounted
+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
+cp os-probes/common/* $PKG/usr/lib/os-probes
cp os-probes/mounted/common/* $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
-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
cp common.sh $PKG/usr/share/$PRGNAM
chmod +x $PKG/usr/share/$PRGNAM/common.sh
@@ -74,3 +72,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+