Browse Source

fixed the bootdisk target to dynamically extract mdlbl and syslinux version

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2496 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
b10077e360
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      target/bootdisk/x86/build.sh

+ 6
- 3
target/bootdisk/x86/build.sh

@ -1,13 +1,16 @@
use_isolinux=1
syslinux_ver="`sed -n 's,.*syslinux-\(.*\).tar.*,\1,p' \
target/bootdisk/download.txt`"
use_mdlbl=1
mdlbl_ver=0.1a
mdlbl_ver="`sed -n 's,.*mdlbl-\(.*\).tar.*,\1,p'
target/bootdisk/download.txt`"
cd $disksdir
echo_header "Creating lilo config and cleaning boot directory:"
cp $base/target/$target/x86/lilo-* boot/
rm -rfv boot/*-rock boot/grub boot/System.map boot/kconfig*
rm -rfv boot/*-rock boot/grub boot/System.map boot/kconfig boot/*.24**
echo_header "Creating floppy disk images:"
cp $base/target/$target/x86/makeimages.sh .
@ -41,7 +44,7 @@ then
echo_status "Extracting isolinux boot loader."
mkdir -p isolinux
tar --use-compress-program=bzip2 \
-xf $base/download/bootdisk/syslinux-2.02.tar.bz2 \
-xf $base/download/bootdisk/syslinux-$syslinux_ver.tar.bz2 \
syslinux-2.02/isolinux.bin -O > isolinux/isolinux.bin
#
echo_status "Creating isolinux config file."

Loading…
Cancel
Save