Create package index and do other image preparations just once
Use separate root directories for different profiles
Create rootfs images for different profiles in separate directories
Allow parallel build of different profiles

This reverts commit 783797a321e7cdf2a6dd3d137ffae8d5725c78d5.