split packages-index.txt and do it after package-tools
fix package-uninstall to succeed even if there is no $ORIGIN
more build-tools/platforms (with macro)
more system-images (with macro)