core124: fix removing old initrd files on arm systems
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 27 Sep 2018 19:53:53 +0000 (21:53 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 27 Sep 2018 19:53:53 +0000 (21:53 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/124/update.sh

index b1b8623..25a7fd6 100644 (file)
@@ -72,9 +72,9 @@ rm -rf /boot/config-*
 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/uImage-*-ipfire-*
+rm -rf /boot/zImage-*-ipfire-*
+rm -rf /boot/uInit-*-ipfire-*
 rm -rf /boot/dtb-*-ipfire-*
 rm -rf /lib/modules
 rm -f  /etc/sysconfig/lm_sensors