]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
flash-images: copy kernel and initrd first
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Mar 2016 16:07:23 +0000 (17:07 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Mar 2016 16:07:23 +0000 (17:07 +0100)
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 <arne_f@ipfire.org>
lfs/flash-images

index 0d57a2a8d673c7f60384a5d0ae602f2049a8da0f..d10fc9bbf93d13b201e2c980b2c15d88557545b5 100644 (file)
@@ -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