[Wisp-cvs] wisp/users/pisi/winix/beast Makefile,1.1,1.2
Status: Alpha
Brought to you by:
digg
From: <pi...@us...> - 2003-02-22 22:46:18
|
Update of /cvsroot/wisp/wisp/users/pisi/winix/beast In directory sc8-pr-cvs1:/tmp/cvs-serv27746 Modified Files: Makefile Log Message: cosmetics Index: Makefile =================================================================== RCS file: /cvsroot/wisp/wisp/users/pisi/winix/beast/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile 22 Feb 2003 22:16:55 -0000 1.1 +++ Makefile 22 Feb 2003 22:46:15 -0000 1.2 @@ -16,43 +16,43 @@ touch .kernel -beast.initrd: beast-initrd/linuxrc beast-initrd/busybox/busybox +beast.initrd: beast-initrd/linuxrc @printf "**********\nINITRD\n**********\n" chown -R root.root beast-initrd - chmod 755 beast-initrd/linuxrc beast-initrd/busybox/busybox - genromfs -d beast-initrd -f beast.initrdfs - gzip -9 beast.initrdfs + chmod 755 beast-initrd/linuxrc + genromfs -d beast-initrd -f beast.initrdfs -V 'The Beast fleshfinder' + gzip -9 beast.initrdfs mv beast.initrdfs.gz beast.initrd beast.eltorito: beast.initrd .kernel ./beast-eltorito/boot/grub/menu.lst @printf "**********\nBOOT DISK\n**********\n" -# dd if=/dev/zero of=beast.eltorito bs=1024 count=2880 + dd if=/dev/zero of=beast.eltorito bs=1024 count=2880 cp beast.initrd ./beast-eltorito/initrd.gz mkdir bootdisk.tmp losetup $(LOOPDEV) beast.eltorito -# mkfs.minix $(LOOPDEV) + mkfs.minix $(LOOPDEV) mount -t minix $(LOOPDEV) ./bootdisk.tmp -# cp -a beast-eltorito/* ./bootdisk.tmp/ - cp ./beast-eltorito/initrd.gz ./bootdisk.tmp/ + cp -a beast-eltorito/* ./bootdisk.tmp/ +# cp ./beast-eltorito/initrd.gz ./bootdisk.tmp/ # cp ./beast-eltorito/boot/kernel ./bootdisk.tmp/boot/kernel sync umount ./bootdisk.tmp -# grub --batch < misc/grubify >/dev/null 2>&1 + grub --batch < misc/grubify >/dev/null 2>&1 losetup -d $(LOOPDEV) rmdir bootdisk.tmp touch beast.eltorito flesh: @printf "**********\nFLESH\n**********\n" - genromfs -d flesh-beast -f flesh + genromfs -d beast-flesh -f beast.flesh beast.iso: beast.eltorito flesh @printf "**********\nISO IMAGE\n**********\n" - cp beast.eltorito beast-cdrom/boot.bin - cp beast.flesh beast-cdrom/flesh - mkisofs -J -R -b boot.bin -o beast.iso -V "The Beast" beast-cdrom + cp beast.eltorito beast-media/boot.bin + cp beast.flesh beast-media/flesh + mkisofs -J -R -b boot.bin -o beast.iso -V "The Beast" beast-media # do the grownups thing to beastmama love: beast.iso @@ -76,8 +76,11 @@ lilo -C /tmp/lilo.conf.beast.$$ rm -f /tmp/lilo.conf.beast.$$ -clean: dataclean binclean - rm -f beast.iso beast.initrd beast.flesh +nice: + find -type f -name '*~' -print -exec rm '{}' ';' + +clean: dataclean binclean nice + rm -f beast.iso beast.initrd beast.flesh beast.eltorito dataclean: rm -f .flesh .initrd .cdrom binclean: |