From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH v2] Core Update 169: Delete unused initrd on 32-bit ARM to save space in /boot Date: Thu, 07 Jul 2022 16:02:51 +0200 Message-ID: <43740C83-77CF-4392-9792-FF877826365B@ipfire.org> In-Reply-To: <20220707135805.1597569-1-peter.mueller@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4260764084054999907==" List-Id: --===============4260764084054999907== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Why do we ship this in the first place, then? > On 7 Jul 2022, at 15:58, Peter M=C3=BCller wro= te: >=20 > 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. >=20 > https://community.ipfire.org/t/again-with-the-file-system-full-core-169/8186 >=20 > Signed-off-by: Peter M=C3=BCller > --- > config/rootfiles/core/169/update.sh | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/config/rootfiles/core/169/update.sh b/config/rootfiles/core/16= 9/update.sh > index 3902e2d45..dc7a2a18a 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 >=20 > +# 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 > --=20 > 2.30.2 >=20 --===============4260764084054999907==--