]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/boot.img
Starte SSH-Server beim Boot.
[people/pmueller/ipfire-2.x.git] / lfs / boot.img
index 84c4f5757feb869679c8bf971806e77a38f99bea..0ddeb8721b842cd4cf6c90c37f5472d96d5b5d20 100644 (file)
 # Makefiles are based on LFSMake, which is                                    #
 # Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
 #                                                                             #
-# Modifications by:                                                           #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
-#          - Modified Makefile for IPCop build                                #
-#                                                                             #
-# $Id: boot.img,v 1.8.2.4 2005/10/30 18:19:16 gespinasse Exp $
-#                                                                             #
 ###############################################################################
 
 ###############################################################################
@@ -32,6 +26,8 @@
 
 include Config
 
+VER = ipfire
+
 THISAPP    = boot-$(VERSION).img
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
@@ -52,7 +48,7 @@ md5 :
 ###############################################################################
 
 $(TARGET) :
-       if [ "$(MACHINE)" = "i386" ]; then \
+       if [ "$(MACHINE)" = "i586" ]; then \
                dd if=/dev/zero of=/install/images/boot-$(VERSION).img bs=1024 count=1440; \
                mkdosfs -f 1 -r 16 /install/images/boot-$(VERSION).img; \
                syslinux -s /install/images/boot-$(VERSION).img; \
@@ -65,12 +61,11 @@ $(TARGET) :
                done; \
                losetup $$LOOPDEV /install/images/boot-$(VERSION).img; \
                mount -t msdos $$LOOPDEV /install/mnt; \
-               sed -e 's/boot IPCop/boot IPCop $(VERSION)/' $(DIR_SRC)/config/kernel/install-message \
+               sed -e 's/boot IPFire/boot IPFire $(VERSION)/' $(DIR_SRC)/config/kernel/install-message \
                        > /install/mnt/message; \
                cp $(DIR_SRC)/config/kernel/syslinux.cfg    /install/mnt/syslinux.cfg; \
-               cp /boot/vmlinuz-installer                  /install/mnt/vmlinuz; \
+               cp /boot/vmlinuz-$(KVER)                    /install/mnt/vmlinuz; \
                cp /install/images/fdinitrd.gz              /install/mnt/instroot.gz; \
                umount /install/mnt; \
                losetup -d $$LOOPDEV; \
        fi
-