X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fdracut;h=0779a6b73bd2d953ba536d5489f9b9d2260d8333;hp=9bdb8a12db1f6c141cb422bacc761bb48272f31c;hb=057dbeebb2bb6eeea485c210f20051c4a6bc52b1;hpb=e137ec4ecf166320ce92d5068e864034e19b8f48 diff --git a/lfs/dracut b/lfs/dracut index 9bdb8a12d..0779a6b73 100644 --- a/lfs/dracut +++ b/lfs/dracut @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2011 IPFire Team # # # # 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 # @@ -90,11 +90,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Build initramdisk # Strip all binaries in that initrd, because no debugging code is # needed. - /sbin/dracut --force --verbose --strip /boot/ipfirerd-$(KVER).img $(KVER)-ipfire ifeq "$(MACHINE_TYPE)" "arm" - #Convert initrd to uboot-image - cd /boot && mkimage -A arm -T ramdisk -C lzma -d ipfirerd-$(KVER).img uInit + # kirkwood kernel + /sbin/dracut --force --verbose --strip /boot/ipfirerd-$(KVER)-kirkwood.img $(KVER)-ipfire-kirkwood + cd /boot && mkimage -A arm -T ramdisk -C lzma -d ipfirerd-$(KVER)-kirkwood.img uInit-ipfire-kirkwood + # omap kernel + /sbin/dracut --force --verbose --strip /boot/ipfirerd-$(KVER)-omap.img $(KVER)-ipfire-omap + cd /boot && mkimage -A arm -T ramdisk -C lzma -d ipfirerd-$(KVER)-omap.img uInit-ipfire-omap +else + /sbin/dracut --force --verbose --strip /boot/ipfirerd-$(KVER).img $(KVER)-ipfire endif @rm -rf $(DIR_APP) @$(POSTBUILD)