From f08c14477ed0f875a86d01c1d11bc234766953aa Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 14 Mar 2016 18:34:45 +0100 Subject: [PATCH] core100: touch arm kernel and initrd before unpack. this is a workaround for a uboot bug that not find all files. --- config/rootfiles/core/100/update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/100/update.sh b/config/rootfiles/core/100/update.sh index a547431c51..9e48d3aec6 100644 --- a/config/rootfiles/core/100/update.sh +++ b/config/rootfiles/core/100/update.sh @@ -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 -- 2.39.2