mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -1 +0,0 @@
|
||||
#boot/initramfs-KVER-ipfire-pae.img
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user