ikonia | waveform: when you are doing your ubuntu image build/testing is there a process use for making your images | 13: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 |
ikonia | I 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 images | 13:18 |
waveform | ikonia, 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 images | 14:25 |
waveform | generally 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 |
waveform | but 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 |
waveform | it'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 |
waveform | which in turn means that doing equivalent things in each image means translating between the systems | 14:29 |
ikonia | great info, thank you | 14:49 |
ikonia | does the ubuntu use of config.txt and cmdline.txt mirror Raspbian in terms of options and how and when it' sused | 17:35 |
ikonia | used | 17:35 |
ikonia | are options compatible between the 2 | 17:37 |
waveform | ikonia, 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!