]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/initrd
Ein Paar Dateien fuer die GPLv3 angepasst.
[ipfire-2.x.git] / lfs / initrd
index f90befdd40aec1cee0a42160ed9c1d76159ac4d5..a4aa83fb94a95bd1c1f91caa4c59dd1e372c0483 100644 (file)
@@ -1,22 +1,20 @@
 ###############################################################################
-# This file is part of the IPCop Firewall.                                    #
 #                                                                             #
-# IPCop is free software; you can redistribute it and/or modify               #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation; either version 2 of the License, or           #
+# the Free Software Foundation, either version 3 of the License, or           #
 # (at your option) any later version.                                         #
 #                                                                             #
-# IPCop is distributed in the hope that it will be useful,                    #
+# This program is distributed in the hope that it will be useful,             #
 # but WITHOUT ANY WARRANTY; without even the implied warranty of              #
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
 # GNU General Public License for more details.                                #
 #                                                                             #
 # You should have received a copy of the GNU General Public License           #
-# along with IPCop; if not, write to the Free Software                        #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA    #
-#                                                                             #
-# Makefiles are based on LFSMake, which is                                    #
-# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
 #                                                                             #
 ###############################################################################
 
@@ -61,30 +59,13 @@ $(TARGET) :
        chmod 755 /install/initrd/etc/halt /install/initrd/etc/rc
        cp -f /usr/share/terminfo/l/linux /install/initrd/usr/share/terminfo/l
 
-       # Install SCSI Drivers
-       cp -rf /lib/modules/$(KVER)-ipfire/kernel/drivers/scsi \
-               /lib/modules/$(KVER)-ipfire/kernel/drivers/block \
-               /lib/modules/$(KVER)-ipfire/kernel/drivers/ide \
-               /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/
-       rm -f   /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/message/fusion/mptlan*
-
        # make new dependencies 
        depmod -a -F /boot/System.map-$(KVER)-ipfire $(KVER)-ipfire
        depmod -a -F /boot/System.map-$(KVER)-ipfire-smp $(KVER)-ipfire-smp
-
-       cd / && tar -cf /tmp/drivers.tar \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/{arch,crypto} \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/drivers/{acpi,atm,bluetooth,block,char,connector,cpufreq,crypto,hwmon} \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/drivers/{ieee1394,mmc,md,parport,video} \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/drivers/net/{wan,ppp*,slip*,slhc*,tun*,wireless} \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/fs/{jfs,nfs*,xfs,udf,fuse} \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/drivers/usb/atm \
-               --exclude=lib/modules/$(KVER)-ipfire/kernel/net \
-               --exclude=lib/modules/$(KVER)-ipfire/{build,extra,misc,modules.*,source} \
-               lib/modules/$(KVER)-ipfire
-       cd /install/initrd/ && tar -xvf /tmp/drivers.tar && rm -f /tmp/drivers.tar
-
-       cp -f /lib/modules/$(KVER)-ipfire/modules.* /install/initrd/lib/modules/$(KVER)-ipfire
+       
+       cp -a /lib/modules/$(KVER)-ipfire/ /install/initrd/lib/modules/
+       rm -rf /install/initrd/lib/modules/$(KVER)-ipfire/{build,source,misc/*,kernel/{crypro,sound,net}} \
+               /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/message/fusion/mptlan*
 
        cp /opt/$(MACHINE)-uClibc/lib/libgcc_s.so.1 /install/initrd/lib/