dracut: convert ramdisk to uInit format on arm.

This commit is contained in:
Arne Fitzenreiter
2011-09-26 17:47:01 +00:00
parent 9968c97204
commit bfbad05ad9

View File

@@ -92,5 +92,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# 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
endif
@rm -rf $(DIR_APP)
@$(POSTBUILD)