Removed some acpi and cpufreq modules from install ramdisk
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 26 Aug 2009 04:00:02 +0000 (06:00 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 26 Aug 2009 04:00:02 +0000 (06:00 +0200)
it was again to large after kernel update

lfs/initrd

index aba58ffa87e0277680a75963055ea509fb2eaab5..5532c19c04476950c2855f63190c068ee6a26996 100644 (file)
@@ -64,10 +64,15 @@ $(TARGET) :
        
        cp -a /lib/modules/$(KVER)-ipfire/ /install/initrd/lib/modules/
        
-       rm -rf /install/initrd/lib/modules/$(KVER)-ipfire/{build,mISDN,source,misc/*,kernel/{sound,drivers/{bluetooth,hwmon,gpu,rtc,isdn,media,video,watchdog}}} \
+       rm -rf /install/initrd/lib/modules/$(KVER)-ipfire/{build,mISDN,source,misc/*,kernel/{sound,drivers/{acpi,bluetooth,cpufreq,hwmon,gpu,rtc,isdn,media,video,watchdog}}} \
                /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/message/fusion/mptlan* \
                /install/initrd/lib/modules/$(KVER)-ipfire/net/{bridge,netfilter,ipsec}
 
+       # ... acpi/dock.ko is needed for libata
+       -mkdir -p /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/acpi
+       cp -a /lib/modules/$(KVER)-ipfire/kernel/drivers/acpi/dock.ko \
+               /install/initrd/lib/modules/$(KVER)-ipfire/kernel/drivers/acpi/dock.ko
+
        cp /opt/$(MACHINE)-uClibc/lib/libgcc_s.so.1 /install/initrd/lib/
 
        cd /install/initrd/lib/ && ln -sf libgcc_s.so.1 libgcc_s.so