]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
flash-images: u-boot dtb folder work around.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 21 Dec 2014 11:17:04 +0000 (12:17 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 21 Dec 2014 11:17:04 +0000 (12:17 +0100)
u-boot cannot find folders that are created later...

lfs/flash-images

index e92a50689338fa96875cad0e74c1ab3cc1d55da0..f213476aa388bd24b2302c7529b3c1dfe4c9a16a 100644 (file)
@@ -121,6 +121,9 @@ 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/
+       # 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