When trying to make changes to refactor livecd-rootfs, it is difficult to know what side effects a change may have because of the use of globs on arch/subarch and the lack of an authoritative list of supported arch combinations. This assembles a list of all possible values for $ARCH:$SUBARCH by looking at all existing uses of $SUBARCH in live-build/auto/config and combining with etc/default-arches from ubuntu-cdimage: $ grep + etc/default-arches |grep -vE '(trusty|xenial|bionic|focal)[[:space:]]|appliance' It also includes a special-case *appliance* glob, because there are many Ubuntu Core appliance builds and there may be more in the future, and we don't want to have to update livecd-rootfs with a hard-coded list. Otherwise, this includes all currently used / supported combinations. The amd64+kassel subarch is referenced in the code, but stopped being built a while ago because "end of contract"; and there are some older no-longer-used subarchs for particular raspi variants, which there is work to clean up separately. So this should be a no-op wrt buildability of any existing images on mantic - and if not, that's important for us to know!use-lxd-installer
parent
3f0ac95248
commit
cec7b99665
Loading…
Reference in new issue