From f26f08b464287f91ff6df849b9e77d354e72d4cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Thu, 7 Jul 2022 13:58:05 +0000 Subject: [PATCH] Core Update 169: Delete unused initrd on 32-bit ARM to save space in /boot MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit On 64-bit ARM, this is still needed for booting. Since the initrds were already shipped with the updater, there is no need to regenerate them locally again. https://community.ipfire.org/t/again-with-the-file-system-full-core-169/8186 Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- config/rootfiles/core/169/update.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/rootfiles/core/169/update.sh b/config/rootfiles/core/169/update.sh index 3902e2d458..dc7a2a18ab 100644 --- a/config/rootfiles/core/169/update.sh +++ b/config/rootfiles/core/169/update.sh @@ -150,6 +150,13 @@ ldconfig # Apply sysctl changes /etc/init.d/sysctl start +# Delete unused initrd on 32-bit ARM to save space in /boot +case "$(uname -m)" in + armv*) + rm /boot/initramfs-${KVER}-ipfire.img + ;; +esac + # Start services telinit u /etc/init.d/firewall restart -- 2.39.2