mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <arne_f@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user