mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
777 B

  1. use_silo=1
  2. cd $disksdir
  3. echo_header "Creating cleaning boot directory:"
  4. rm -rfv boot/*-rock boot/System.map boot/kconfig*
  5. if [ $use_silo -eq 1 ]
  6. then
  7. echo_header "Creating silo setup:"
  8. #
  9. echo_status "Extracting silo boot loader images."
  10. mkdir -p boot
  11. tar --use-compress-program=bzip2 \
  12. -xf $base/build/${ROCKCFG_ID}/pkgs/silo.tar.bz2 \
  13. boot/second.b -O > boot/second.b
  14. #
  15. echo_status "Creating silo config file."
  16. cp -v $base/target/$target/sparc/{silo.conf,boot.msg} \
  17. boot
  18. #
  19. # echo_status "Moving image (initrd) to boot directory."
  20. # mv -v initrd.img boot/
  21. #
  22. buildroot="build/${ROCKCFG_ID}"
  23. datadir="build/${ROCKCFG_ID}/ROCK/bootdisk"
  24. cat > ../isofs_arch.txt <<- EOT
  25. BOOT -G $buildroot/boot/isofs.b -B ...
  26. DISK1 $datdir/boot/ boot/
  27. EOT
  28. fi