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.

28 lines
740 B

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