extend primary partition to use template.json
Merge pull request #117 from StefanScherer/feature/extend-primary

extend primary partition to use template.json