#!/bin/sh if [ ! -e cdrom/boot/grub/stage2_eltorito ]; then mkdir -p cdrom/boot/grub echo "Please copy grub's stage2_eltorito to cdrom/boot/grub." exit -1 fi # Copy system files to CDROM cp build/kernel.bin cdrom/boot; strip cdrom/boot/kernel.bin cp build/kernel.map cdrom/boot cp build/init.bin cdrom/boot; strip cdrom/boot/init.bin mkdir -p cdrom/sys/bin cp build//giosrv.bin cdrom/sys/bin cp build/login.bin cdrom/sys/bin cp build/terminal.bin cdrom/sys/bin cp build/shell.bin cdrom/sys/bin for BIN in cdrom/sys/bin/*.bin; do strip $BIN; done mkdir -p cdrom/sys/fonts cp build/res/fonts/*.bf cdrom/sys/fonts cp build/res/fonts/pcvga.bf cdrom/sys/fonts/default.bf mkdir -p cdrom/sys/keymaps cp build/res/keymaps/*.km cdrom/sys/keymaps cp build/res/keymaps/fr.km cdrom/sys/keymaps/default.km cp README.md cdrom # Setup config files mkdir -p cdrom/config/default echo "root:/sys" > cdrom/config/default/sysdir cat > cdrom/boot/grub/menu.lst <