FixBug for base image and distribution creation.
Parition number was messed up.