From 4f472f86f854a5460c4fa8eb63fd1a4393d6099d Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 5 Mar 2016 17:07:23 +0100 Subject: [PATCH] flash-images: copy kernel and initrd first there is a u-boot bug that not find all files if the directory entries was splittet to more sectors so copy the important files first. Signed-off-by: Arne Fitzenreiter --- lfs/flash-images | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lfs/flash-images b/lfs/flash-images index 0d57a2a8d6..d10fc9bbf9 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -121,9 +121,14 @@ ifeq "$(MACHINE_TYPE)" "arm" cp -v /boot/MLO $(MNThdd)/boot/ cp -v /boot/u-boot.img $(MNThdd)/boot/ cp -v /boot/zImage-ipfire-multi $(MNThdd)/boot/ + cp -v /boot/uInit-ipfire-multi $(MNThdd)/boot/ + cp -v /boot/uImage-ipfire-kirkwood $(MNThdd)/boot/ + cp -v /boot/uInit-ipfire-kirkwood $(MNThdd)/boot/ + cp -v /boot/uEnv.txt $(MNThdd)/boot/ # work around a u-boot bug not find the folders sometimes mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-multi mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-kirkwood + sync umount $(MNThdd)/boot mount $(PART_BOOT) $(MNThdd)/boot -- 2.39.5