Since everyone uses different archive formats, I’m using xz for a standard and hosting the repackaged archives in a repo.
Populated the packages used in phase 0.
The build system generator now gets you to just after these packages are downloaded.
Now that I’m at this point, I’ll need to continue the automation up to the point that the user is in a chroot. I’m going to build just enough to get rpm put in, and then go back and rebuild those dependencies as rpm’s themselves to minimize the chaos.
After that is in place (and automated) I’ll want to build or find an rpm build system.
After I get to that point I’m going to want to reimplement this build system in a statically linked runtime environment in a more capable language if possible as bash is proving to be quite weak.