X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Flinux-initrd;h=f5bd4527bdb84e93873fa5cb4726f5fbe1f8e27f;hp=93f21078ea06d8514eb2d2f55f166c1b8bc64493;hb=15b1a3e360a277dc7481103f8ddcbf189033e3a6;hpb=b403b04a139c02156829d8d21943bc69b2cf0c53 diff --git a/lfs/linux-initrd b/lfs/linux-initrd index 93f21078ea..f5bd4527bd 100644 --- a/lfs/linux-initrd +++ b/lfs/linux-initrd @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2018 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 # @@ -71,13 +71,13 @@ ifeq "$(KCFG)" "-kirkwood" endif ifeq "$(KCFG)" "-multi" -ifeq "$(BUILD_ARCH)" "aarch64" - cd /boot && mkimage -A arm64 -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX) - # dont remove initramfs because grub need this to boot. -else cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX) cd /boot && rm initramfs-$(KVER)-$(VERSUFIX).img endif + +ifeq "$(BUILD_ARCH)" "aarch64" + cd /boot && mkimage -A arm64 -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX) + # dont remove initramfs because grub need this to boot. endif endif