recompile specific packages with aero.py flags
YusufKhan-gamedev opened this issue · 7 comments
There should be an option in aero.py to recompile specific packages, it would allow broken packages to be repaired faster.
There is a script in tools directory called rebuild-sysroot.sh which allows to rebuild a package, it will remove all the sources and binaries from that package, clone it, patch it and build it all over. If you want to rebuild the package from the source that's in the bundled directory you can do this in the sysroot directory instead (substitute $PACKAGE with the actual package name):
rm -rf pkg-builds/$PACKAGE
rm -rf packages/$PACKAGE
xbstrap install $PACKAGEThere is a script in tools directory called rebuild-sysroot.sh which allows to rebuild a package, it will remove all the sources and binaries from that package, clone it, patch it and build it all over. If you want to rebuild the package from the source that's in the bundled directory you can do this in the sysroot directory instead (substitute $PACKAGE with the actual package name):
rm -rf pkg-builds/$PACKAGE rm -rf packages/$PACKAGE xbstrap install $PACKAGE
This should be integrated into aero.py, thats why I put a issue up.
Isn't aero.py a wrapper already? And for good measure, one only has to do xbstrap install --recon $PACKAGE and it will reconfigure, rebuild and reinstall the package.
Isn't
aero.pya wrapper already? And for good measure, one only has to doxbstrap install --recon $PACKAGEand it will reconfigure, rebuild and reinstall the package.
We don’t shell out for xbstrap, though I’ll still look into that since it looks like xbstrap is capable of that
Isn't
aero.pya wrapper already? And for good measure, one only has to doxbstrap install --recon $PACKAGEand it will reconfigure, rebuild and reinstall the package.We don’t shell out for xbstrap, though I’ll still look into that since it looks like xbstrap is capable of that
Anyway, we need to remove the code in uwux/bundled/
what
what
You need to remove the source in aero/bundled/xxxxx as well when restoring a package just in case the source got corrupted when downloading