mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Core Update 169: Delete unused initrd on 32-bit ARM to save space in /boot
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 <peter.mueller@ipfire.org>
This commit is contained in:
@@ -150,6 +150,13 @@ ldconfig
|
|||||||
# Apply sysctl changes
|
# Apply sysctl changes
|
||||||
/etc/init.d/sysctl start
|
/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
|
# Start services
|
||||||
telinit u
|
telinit u
|
||||||
/etc/init.d/firewall restart
|
/etc/init.d/firewall restart
|
||||||
|
|||||||
Reference in New Issue
Block a user