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>
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