]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/flash-images
core89: Create temporary files in update to avoid reboot
[ipfire-2.x.git] / lfs / flash-images
index e92a50689338fa96875cad0e74c1ab3cc1d55da0..6c88180598b659dfa2ae79f77a5be3e9c4cf6592 100644 (file)
@@ -75,9 +75,9 @@ else
 endif
 
 # /boot:  64MB - OFFSET
-# /    : 700MB
+# /    : 750MB
 S_BOOT := $(shell echo $$(( 131072 - $(S_OFFSET) )))
-S_ROOT := 1433600
+S_ROOT := 1536000
 
 PADDING = 100 # MB
 
@@ -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