My yocto linux builds have a single entry point that is a build.sh. And they’re like 20 lines.
I assume your twenty lines has customizations. How do you rebuild the OS and kernel the simplest way possible?
My build.sh clones down 5 repos, inits the bitbake environment, and builds. This bit is 12-15 lines.
Because I have to work around work infrastructure, about 10 lines of build.sh make symlinks into bitbakes previously-cloned folder structure for things that should be native recipes, but cannot be. Really no magic at all, the symlinks piss me off.