[Merge] ~itrue/livecd-rootfs:add-nemos-support into livecd-rootfs:ubuntu/master

Loïc Minier mp+440173 at code.launchpad.net
Wed Apr 5 10:17:38 UTC 2023


AFAIK, in Ubuntu we use arch/ARCH to select a Debian architecture, and subarch/SUBARCH to select for specific silicon families (could be boards too, especially if the resulting image only works on that one board, for instance because it contains a bootloader for this board). e.g. armhf+omap4, arm64+tegra etc.

I don't think you should allow arch=arm64 and subarch=aarch64 as we might need e.g. arch=arm64 subarch=s32. You can default to kiwi image types based on the project (nemos) and you can set the kiwi arch to aarch64 based on the debian arch arm64 and leave subarch alone.

I don't know what the current kiwi manifests implement, is it EFI or some generic architecture, but perhaps it would make sense to map arch=arm64 (and empty subarch) to general purpose QEMU friendly EFI images, and subarch=s32g2 to an image specific to that board (e.g. if the u-boot binary only works on that board).
-- 
https://code.launchpad.net/~itrue/livecd-rootfs/+git/livecd-rootfs/+merge/440173
Your team Ubuntu Core Development Team is subscribed to branch livecd-rootfs:ubuntu/master.




More information about the Ubuntu-reviews mailing list