From 48c1c4dcc449d05e9950a861e165f456e0d583a1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 10 Mar 2015 16:12:03 +0100 Subject: Rename & cleanup. --- make_cdrom.sh | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'make_cdrom.sh') diff --git a/make_cdrom.sh b/make_cdrom.sh index b481fcc..d67b3ec 100755 --- a/make_cdrom.sh +++ b/make_cdrom.sh @@ -1,17 +1,34 @@ #!/bin/sh -mkdir -p cdrom/boot/grub - 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 -cp menu_cdrom.lst cdrom/boot/grub/menu.lst +# Copy system files to CDROM + cp src/kernel/kernel.bin cdrom; strip cdrom/kernel.bin cp src/apps/init/init.bin cdrom; strip cdrom/init.bin + cp README.md cdrom +# Setup config files + +cat > cdrom/boot/grub/menu.lst <