Re:Aho – a Git implementation in Awk
by Almondsetat on Saturday February 10, 2024 @03:35PM
(#39329957)
can't wait for the day I will be able to compile Linux without Perl
[ Parent
| on HN ]
Re:Aho – a Git implementation in Awk
by fuzztester on Saturday February 10, 2024 @11:15PM
(#39332602)
that's the day I'll eat my red hat
Re:Aho – a Git implementation in Awk
by LinuxProtips on Sunday February 11, 2024 @03:54AM
(#39333568)
You can do that right now. Sabotage Linux rewrote the one and only perl dependency in awk years ago.
Grab https://raw.githubusercontent.com/sabotage-linux/sabotage/ma... and clobber the perl script in the Linux source.
Then: sed -i -e 's@perl $(srctree)/$(src)/build_OID_registry@awk -f $(srctree)/$(src)/build_OID_registry@' ./lib/Makefile
They also removed the perl dependency for ca-certificates since one of the goals was to remove perl dependencies from the core system including its toolchain and kernel. It's not needed at all now.
This Aho project is neat because it has the potential of removing the perl dependency on having a git client, which was a problem prior.