Commits

Paweł Wieczorek committed 55b358f

Comments (0)

Files changed (6)

 SUBDIRS= sys
 
 build-image: build
+	touch image/root/boot/impala
 	cp image/root/boot/impala image/root/boot/impala.old
 	cp sys/kern/impala image/root/boot/
 	cd image && sudo ./`uname`.sh
+#!/bin/sh
+
+if [ $UID -ne 0 ]; then
+	echo "Only root can do that..."
+	exit 0
+fi
+
+set -x
+
+mount -o loop floppy.img fd
+mv root/boot/impala root/boot/impala.old
+cp ../kernel/impala root/boot/impala
+cp root/boot/impala* fd/boot/
+cp root/boot/grub/menu.lst fd/boot/grub/
+sync
+umount fd

image/floppy.img

Binary file modified.

image/root/boot/impala.old

Binary file modified.
     atomic_change32(&sp->_dlock, SPINLOCK_UNLOCK);
 }
 
+
+
 #endif
 #endif