canonical / chisel

GNU Affero General Public License v3.0
270 stars 42 forks source link

Drop single "ubuntu" archive restriction #57

Closed woky closed 1 year ago

woky commented 1 year ago

Currently, we allow only a single archive named "ubuntu" to be defined in chisel.yaml. Drop this restriction in preparation for the support of multiple archives.

When more than one archive is defined, one of them has to be specified as the default one. When a slice definition file doesn't specify which archive the sliced package belongs to, it is assumed it belongs to the default archive.

This commit, in effect, doesn't change current behavior because we don't allow archives to define their URLs. It's only preparation for future commits that will add support for different types of archives.