Re: [PATCH 2/2] kbuild: Move gen_init_cpio and gen_initramfs.sh to scripts/
From: Nicolas Schier
Date: Tue Mar 10 2026 - 03:15:36 EST
On Tue, Mar 10, 2026 at 04:49:12AM +0300, Askar Safin wrote:
> Nicolas Schier <nsc@xxxxxxxxxx>:
> > +# Keep around until cleanup in scripts/remove-stale-files
>
> Linus said here https://lore.kernel.org/all/CAHk-=wiHK5_oBUdUiNAaevmN9f-ORe+QBqbRefAZaw-RbgEn3w@xxxxxxxxxxxxxx/
> that he doesn't like scripts/remove-stale-files (this is my interpretation).
thanks for the pointer!
Yes, remove-stale-files is suboptimal, but not adding entries there
doesn't make anything better. And yes, entries in remove-stale-files
should have a life-time of years rather than months; and removing
entries from .gitignore before the remove-stale-files cleanup should be
prevented.
Therefore I chose to add the comment to usr/.gitignore to prevent
accidental removal of the '/gen_init_cpio' before the time has come.
Does that match for you?
Kind regards,
Nicolas