/srv/irclogs.ubuntu.com/2024/09/11/#ubuntu-arm.txt

ikoniawaveform: when you are doing your ubuntu image build/testing is there a process use for making your images13:12
ogra_it is mainly live-build to creaste the squashfs, the livecd-rootfs source holding the scripts and configs for live-build and then AFAIK we switched to ubuntu-image for the actual image building a few cycles ago 13:16
ogra_(before we used our own copy of debain-cd to make images)13:16
ogra_(though i havent touched that code for years, it mightr have changed even more since i looked last)13:17
ikoniaI want to try to customise a raspbian base image to align to some of ubuntu's base image standards to help me port some of the setup I'm using on Rasbian to ubuntu based images13:18
waveformikonia, ogra_ actually the ubuntu pi images (but only the ubuntu pi images) now use the "ubuntu-image" tool rather than live-build/livecd-rootfs (which is still used for just about everything else) for building the images14:25
waveformgenerally speaking it makes things simpler -- you define everything in an image definition yaml and set it going (e.g. https://git.launchpad.net/ubuntu-images/tree/ubuntu-server-pi-arm64.yaml )14:26
waveformbut it has caused a few headaches -- the current one is that the oracular images aren't building because the launchpad builders are running the original focal kernel (5.4), the build occurs in an oracular lxd container, and systemd on oracular (256) requires cgroups2, which the 5.4 kernel doesn't support (result: snapd breaks and we can't snap install ubuntu-image in the container)14:27
waveformit's also verrrry different to how raspbian images are built (which I think is currently their pi-gen tool -- fairly sure that's correct)14:28
waveformwhich in turn means that doing equivalent things in each image means translating between the systems14:29
ikoniagreat info, thank you14:49
ikoniadoes the ubuntu use of config.txt and cmdline.txt mirror Raspbian in terms of options and how and when it' sused17:35
ikoniaused17:35
ikoniaare options compatible between the 2 17:37
waveformikonia, yes -- since jammy we moved away from using u-boot so the boot sequence of raspios and ubuntu is largely the same at this point (bar some differences in the naming of the kernel binary, and the fact we use an initrd and raspios didn't -- although I think that changed with bookworm)21:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!