ramips: Fix EX400 imagebuilder
authorMauri Sandberg <maukka@ext.kapsi.fi>
Fri, 11 Oct 2024 07:38:07 +0000 (10:38 +0300)
committerRobert Marko <robimarko@gmail.com>
Mon, 4 Nov 2024 10:25:36 +0000 (11:25 +0100)
commit11ba2b141fbea0e65484d21c419f4c9d74a23ba3
treea25e662a0e4a7615e33b381ec9aa69a72845b2ec
parentf2bddc17893ea9819ee485b87f240b8d4db76df1
ramips: Fix EX400 imagebuilder

A factory image for DNA EX400 depends on an initramfs image and they
were explicitly removed from the imagebuilder recently. Now the factory
image creation fails miserably and it also affects custom image creation
with the firmware selector.

Add the initramfs kernel to the staging so that it's shipped with the
imagebuilder. Also remove a image build target added solely for DNA EX400.

Tested by creating a factory and syspupgrade images locally with
the imagebuilder and verified their functionality.

Related work
  c85348d9abf4 ("imagebuilder: remove initramfs image files")

Fixes: fea2264d9fdd ("ramips: mt7621: Add DNA Valokuitu Plus EX400")
Signed-off-by: Mauri Sandberg <maukka@ext.kapsi.fi>
---
v4: use append-image-stage, remove Build/kernel-initramfs-bin
v3: adjust commit subject
v2: remove fix for inconsistent line ending elsewhere in the file
Link: https://github.com/openwrt/openwrt/pull/16659
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/image/mt7621.mk