# HG changeset patch # User Pascal Bellard # Date 1207664602 0 # Node ID f43146da6d21d3f83ab4afb44cfed04d0b8b86de # Parent df5413de00c0d03274a803693ea70e3c7368f5ba Add: btmgr (to boot slitaz cdrom with a floppy, i.e. without eltorito bios) diff -r df5413de00c0 -r f43146da6d21 btmgr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/btmgr/receipt Tue Apr 08 14:23:22 2008 +0000 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="btmgr" +VERSION="3.7-1" +CATEGORY="system-tools" +SHORT_DESC="Versatile floppy bootloader (can boot many CD-ROM)." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://$PACKAGE.sourceforge.net/download.html" +WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + echo "I'm too lazy to hack and build it !" +# stuff/btmgr has been built this way: +# 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static +# 2- # chmod +x sbminst-static +# 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80 +# 4- # ./sbminst-static -t us -d /dev/fd0 +# 5- # dd if=/dev/fd0 of=stuff/btmgr +# 6- remove tailing zeros stuff/btmgr +} + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/boot + cp stuff/btmgr $fs/usr/share/boot/ +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + echo "----" + echo "You can create boot floppy with:" + echo "# cp /usr/share/boot/btmgr /dev/fd0" + echo "----" +} diff -r df5413de00c0 -r f43146da6d21 btmgr/stuff/btmgr Binary file btmgr/stuff/btmgr has changed