From: Arne Fitzenreiter Date: Sat, 5 Mar 2016 16:07:23 +0000 (+0100) Subject: flash-images: copy kernel and initrd first X-Git-Tag: v2.19-core100~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f472f86f854a5460c4fa8eb63fd1a4393d6099d;p=ipfire-2.x.git 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 --- 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