Hi,
some of the snapd team had a discussion about the model assertions for core18. After some deliberation and tweaking we decided to create the following model assertions:
ubuntu-core-18-amd64
{
"type": "model",
"authority-id": "canonical",
"brand-id": "canonical",
"series": "16",
"model": "ubuntu-core-18-amd64",
"display-name":"Ubuntu Core 18 (amd64)",
"architecture": "amd64",
"base": "core18",
"gadget": "pc=18",
"kernel": "pc-kernel=18",
}
Compared to the previous draft of the model assertion the “display-name” change to include the architecture and the gadget includes a channel now.
ubuntu-core-18-i386
{
"type": "model",
"authority-id": "canonical",
"brand-id": "canonical",
"series": "16",
"model": "ubuntu-core-18-i386",
"display-name":"Ubuntu Core 18 (i386)",
"architecture": "i386",
"base": "core18",
"gadget": "pc=18",
"kernel": "pc-kernel=18",
}
This has the corresponding changes to the amd64 version above.
ubuntu-core-18-pi3
{
"type": "model",
"authority-id": "canonical",
"brand-id": "canonical",
"series": "16",
"model": "ubuntu-core-18-pi3",
"display-name":"Ubuntu Core 18 (pi3)",
"architecture": "armhf",
"base": "core18",
"gadget": "pi3=18",
"kernel": "pi-kernel=18-pi3",
}
Compared to the previous draft this pulls the gadget from the 18 channel, adds “pi3” to the displayname and changes the kernel name to something more generic that is then pulled from a pi3 specific kernel track.
ubuntu-core-18-pi2
{
"type": "model",
"authority-id": "canonical",
"brand-id": "canonical",
"series": "16",
"model": "ubuntu-core-18-pi2",
"display-name":"Ubuntu Core 18 (pi2)",
"architecture": "armhf",
"base": "core18",
"gadget": "pi2=18",
"kernel": "pi-kernel=18-pi2",
}
This has the corresponding changes to the pi3 version above.
ubuntu-core-18-cm3
{
"type": "model",
"authority-id": "canonical",
"brand-id": "canonical",
"series": "16",
"model": "core-cm3-18",
"display-name":"Ubuntu Core 18 (cm3)",
"architecture": "armhf",
"base": "core18",
"gadget": "cm3=18",
"kernel": "pi-kernel=18-cm3",
}
This has the corresponding changes to the pi3 version above.
ubuntu-core-18-dragonboard
{
"type": "model",
"authority-id": "canonical",
"brand-id": "canonical",
"series": "16",
"model": "core-dragonboard-18",
"display-name":"Ubuntu Core 18 (dragonboard)",
"architecture": "arm64",
"base": "core18",
"gadget": "dragonboard=18",
"kernel": "dragonboard-kernel=18",
}
Compared to the previous draft this pulls the gadget from the 18 channel and adds “dragonboard” to the display-name.
[edit: fixed cm3 omissions]