Christian Marangi 7bffb3f72b
kernel: fix CopyImage function with Per Device Rootfs
Some target define custom kernel images with KERNEL_INITRAMFS_NAME to
reference .elf variant of vmlinux.

With Per Device Rootfs, the expected format is
image.suffix.extension.ROOTFS_ID, while in CopyImage we are currently
generating images with image.suffix.ROOTFS_ID.extension making some
target failing.

Fix CopyImage function to correctly follow the expected pattern.

Fixes: 97fd059e7e6a ("image: respect TARGET_PER_DEVICE_ROOTFS for initramfs")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-07-07 18:24:24 +02:00
..
2024-05-04 14:14:16 +08:00
2021-02-05 14:54:47 +01:00
2024-07-01 00:22:09 +02:00
2024-07-04 22:02:47 +02:00
2024-07-04 22:07:10 +02:00
2024-05-04 14:14:16 +08:00
2024-07-03 13:10:59 +02:00
2022-11-27 00:52:06 +01:00
2023-04-05 08:24:49 -03:00
2021-10-24 18:20:50 +02:00
2024-04-08 21:53:05 +02:00