linux: Remove old code for generating initramfs

These kernels are no longer supported or have been merged into the main
kernel.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-04-10 13:47:39 +00:00
parent b034722ccd
commit 8460cfee52
2 changed files with 0 additions and 13 deletions

View File

@@ -1 +0,0 @@
#boot/initramfs-KVER-ipfire-pae.img

View File

@@ -57,19 +57,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# rebuild module deps
depmod -a $(KVER)-$(VERSUFIX)
#skip initrd build on pae and rpi kernel.
ifneq "$(KCFG)" "-rpi"
ifneq "$(KCFG)" "-pae"
# Create initramfs images
dracut --force --early-microcode --verbose --strip --xz /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
ifeq "$(KCFG)" "-kirkwood"
# cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(VERSUFIX)
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 "$(KCFG)" "-multi"
cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX)
cd /boot && rm initramfs-$(KVER)-$(VERSUFIX).img
@@ -80,6 +70,4 @@ ifeq "$(BUILD_ARCH)" "aarch64"
# dont remove initramfs because grub need this to boot.
endif
endif
endif
@$(POSTBUILD)