]> git.ipfire.org Git - people/jschlag/ipfire-2.x.git/commitdiff
core100: touch arm kernel and initrd before unpack.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Mar 2016 17:34:45 +0000 (18:34 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Mar 2016 17:34:45 +0000 (18:34 +0100)
this is a workaround for a uboot bug that not find all
files.

config/rootfiles/core/100/update.sh

index a547431c5119b77b6a5e9c9bba4fa8f9d8b6eacc..9e48d3aec63c5986554960aed077d5f6fa74e7a3 100644 (file)
@@ -105,6 +105,7 @@ rm -rf /boot/ipfirerd-*
 rm -rf /boot/initramfs-*
 rm -rf /boot/vmlinuz-*
 rm -rf /boot/uImage-ipfire-*
+rm -rf /boot/zImage-ipfire-*
 rm -rf /boot/uInit-ipfire-*
 rm -rf /boot/dtb-*-ipfire-*
 rm -rf /lib/modules
@@ -119,7 +120,10 @@ case "$(uname -m)" in
                # work around the u-boot folder detection bug
                mkdir -pv /boot/dtb-$KVER-ipfire-kirkwood
                mkdir -pv /boot/dtb-$KVER-ipfire-multi
-#to do add touch for arm kernel and initrd here
+               touch /boot/uImage-ipfire-kirkwood
+               touch /boot/zImage-ipfire-multi
+               touch /boot/uIinit-ipfire-kirkwood
+               touch /boot/uIinit-ipfire-multi
                ;;
 esac