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
826 B

  1. disksdir="$build_rock/livecd"
  2. if [ -z "`which mksquashfs`" ] ; then
  3. echo "Please make sure mksquashfs is installed! Rock Package: fake/squashfs-tools"
  4. exit 1;
  5. fi ;
  6. pkgloop
  7. rm -rf $disksdir; mkdir -p $disksdir; chmod 700 $disksdir
  8. . scripts/parse-config
  9. . $base/target/$target/build_stage2.sh
  10. . $base/target/$target/build_stage1.sh
  11. if [ -f $base/target/$target/$arch/build.sh ]; then
  12. . $base/target/$target/$arch/build.sh
  13. fi
  14. echo_header "Creating ISO filesystem description."
  15. cd $disksdir; rm -rf isofs; mkdir -p isofs
  16. echo_status "Creating livecd/isofs directory.."
  17. ln 2nd_stage.img.z isofs/
  18. ln *.img initrd.gz isofs/ 2>/dev/null || true
  19. echo_status "Creating isofs.txt file .."
  20. echo "DISK1 build/${ROCKCFG_ID}/ROCK/livecd/isofs/ `
  21. `${ROCKCFG_SHORTID}/" > ../isofs_generic.txt
  22. cat ../isofs_*.txt > ../isofs.txt