[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop: [938] ipcop/trunk/lfs/boot.img
From:       chepati () users ! sourceforge ! net
Date:       2007-12-25 11:35:07
Message-ID: E1J783v-0004f5-6B () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 938
          http://ipcop.svn.sourceforge.net/ipcop/?rev=938&view=rev
Author:   chepati
Date:     2007-12-25 03:35:06 -0800 (Tue, 25 Dec 2007)

Log Message:
-----------
Renamed boot.img to ipcop-VERSION-boot.img for consistency

Modified Paths:
--------------
    ipcop/trunk/lfs/boot.img

Modified: ipcop/trunk/lfs/boot.img
===================================================================
--- ipcop/trunk/lfs/boot.img	2007-12-22 20:04:35 UTC (rev 937)
+++ ipcop/trunk/lfs/boot.img	2007-12-25 11:35:06 UTC (rev 938)
@@ -58,10 +58,11 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST))
 
 ifeq "$(MACHINE)" "i486"
-	dd if=/dev/zero of=$(INSTALLER_DIR)/images/boot-$(VERSION).img bs=1024 count=1440
-	mkdosfs -f 1 -r 16 $(INSTALLER_DIR)/images/boot-$(VERSION).img
-	syslinux -s $(INSTALLER_DIR)/images/boot-$(VERSION).img
-	echo "drive i: file=\"$(INSTALLER_DIR)/images/boot-$(VERSION).img\"" exclusive \
mformat_only > /etc/mtools.conf +	dd if=/dev/zero \
of=$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img bs=1024 count=1440 +	mkdosfs \
-f 1 -r 16 $(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img +	syslinux -s \
$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img +	echo "drive i: \
file=\"$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img\"" exclusive mformat_only \
> \ +		/etc/mtools.conf
 	sed -e 's/boot IPCop/boot IPCop $(VERSION)/' \
$(DIR_SRC)/config/kernel/install-message \  | mcopy - i:message
 	mcopy $(DIR_SRC)/config/$(MACHINE)/syslinux-fdinitrd.cfg i:syslinux.cfg
@@ -73,22 +74,21 @@
 ifeq "$(MACHINE)" "ppc"
 	# First make coff image, bootable directly from Open Firmware
 	# as some machines may need this
-	dd if=/dev/zero of=$(INSTALLER_DIR)/images/bootofw.img bs=1024 count=1440
-	hformat -l "IPCop OF Boot Disk" $(INSTALLER_DIR)/images/bootofw.img
-	hmount $(INSTALLER_DIR)/images/bootofw.img
+	dd if=/dev/zero of=$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-bootofw.img bs=1024 \
count=1440 +	hformat -l "IPCop OF Boot Disk" \
$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-bootofw.img +	hmount \
$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-bootofw.img  hcopy -r /boot/vmlinuz.coff \
:ipcop-install  humount
 
 	# Next, prepare the miboot floppy which ideally should boot on
 	# any OldWorld Mac
-	dd if=/dev/zero of=$(INSTALLER_DIR)/images/boot.img bs=1024 count=1440
-	hformat -l "IPCop Boot Disk" $(INSTALLER_DIR)/images/boot.img
+	dd if=/dev/zero of=$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img bs=1024 \
count=1440 +	hformat -l "IPCop Boot Disk" \
$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img  rm -f /etc/miboot.conf
-	echo device $(INSTALLER_DIR)/images/boot.img > /etc/miboot.conf
+	echo device $(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-boot.img > /etc/miboot.conf
 	echo kernel /boot/vmlinuz.miboot root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1 >> \
/etc/miboot.conf  miboot -c /etc/miboot.conf
 	rm -f /boot/vmlinux.gz
-
 endif
 
-	# yes we want it rebuild at each time, so no POSTBUILD
+	# yes we want it rebuilt each time, so no POSTBUILD


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic