wok-6.x rev 24026
created recipe for os-prober
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 24 16:16:25 2021 +0100 (2021-03-24) |
parents | 2c87b294a318 |
children | 5d63651829f6 |
files | os-prober/description.txt os-prober/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/os-prober/description.txt Wed Mar 24 16:16:25 2021 +0100 1.3 @@ -0,0 +1,3 @@ 1.4 +os-prober is a spinoff of debian-installer. 1.5 +One of the installer's features is that it can probe disks on the system for other operating systems, 1.6 +and add them to the boot loader, so that installing Debian doesn't make your other installed OS hard to boot.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/os-prober/receipt Wed Mar 24 16:16:25 2021 +0100 2.3 @@ -0,0 +1,44 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="os-prober" 2.7 +VERSION="1.78" 2.8 +CATEGORY="base-system" 2.9 +SHORT_DESC="Utility to detect other OSes on a set of drives." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="GPL3" 2.12 +WEB_SITE="https://joeyh.name/code/os-prober/" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 2.15 +WGET_URL="http://ftp.debian.org/debian/pool/main/o/$PACKAGE/${PACKAGE}_$VERSION.tar.xz" 2.16 + 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + make $MAKEFLAGS newns 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/usr/bin 2.28 + mkdir -p $fs/usr/lib/os-prober 2.29 + mkdir -p $fs/usr/share/os-prober 2.30 + mkdir -p $fs/var/lib/os-prober 2.31 + 2.32 + cp -a $src/linux-boot-prober $fs/usr/bin 2.33 + cp -a $src/os-prober $fs/usr/bin 2.34 + cp -a $src/newns $fs/usr/lib/os-prober 2.35 + for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted 2.36 + do 2.37 + install -dm755 $fs/usr/lib/$dir 2.38 + cp -a $src/$dir/common/* $fs/usr/lib/$dir 2.39 + if [ -d $src/$dir/x86 ] 2.40 + then 2.41 + cp -r $src/$dir/x86/* $fs/usr/lib/$dir 2.42 + fi 2.43 + done 2.44 + cp -a $src/os-probes/mounted/powerpc/20macosx \ 2.45 + $fs/usr/lib/os-probes/mounted/20macosx 2.46 + cp -a $src/common.sh $fs/usr/share/os-prober 2.47 +}