2026-03-09
03:07tobhe_ has joined #ubuntu-asahi
03:14tobhe has quit [Ping timeout: 480 seconds]
09:26tobhe has joined #ubuntu-asahi
09:31tobhe_ has quit [Ping timeout: 480 seconds]
12:53aditya_ has joined #ubuntu-asahi
13:56tobhe[m]so what I am usually doing is build a meta package that ships a /etc/default/grub.d config and installing that in the minimal set
13:57tobhe[m]btw for resolute there has been a big rewrite of the entire ISO build code that moves it into livecd-rootfs itself so that ubuntu-cdimage and debian-cd is no longer needed
14:09tobhe[m]idk what cubic is but livefs-editor allows you to "easily" modify an existing ubuntu iso
14:11aditya_So, what I did was that I created a Deb, with package name exactly the same as the Linux t2 kernels (linux-t2) with version 0.1. It ships the dkms drivers
14:12aditya_Now upon a software upgrade, apt automatically upgrades the person to the better t2 kernel
14:12tobhe[m]but essentially I would recommend adding a second deb that ships configs and make the grub config part of that
14:12tobhe[m]you will still need both, the livecd grub change and the extra package because the livecd one isn't affected by the package
14:16tobhe[m]unfortunately launchpad seems to have problems but https://launchpad.net/ubuntu/+source/ubuntu-x1e-settings
14:18aditya_And put this: GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT quiet splash foo=bar"
14:19tobhe[m]GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} clk_ignore_unused pd_ignore_unused cma=128M efi=noruntime"
14:20tobhe[m]and if the package is installed in the minimal.squashfs it should automatically be copied to the installation
14:23aditya_Also, any idea why any kernel other than the one shipped in the ISO fails to boot in the live iso?
14:25tobhe[m]because the initrd needs to contain all the casper logic. I think the squashfs mounting all happens in there
14:31tobhe[m]interesting. normally all the packages it tries to install on an offline install should be seeded on disk and not fetched from the web
14:37tobhe[m]can you report a bug against subiquity? I think it should print instructions on how to do it with ubuntu-bug
15:11aditya_Previously I had a script which used the Linux APFS rw driver to get it from macOS automatically via systemd
16:58tobhe[m]I don't think we have written documentation but in short it will always be something like:
16:59tobhe[m]1. Find Ubuntu kernel with the same base version in https://code.launchpad.net/~ubuntu-kernel
16:59tobhe[m]3. copy debian.asahi-arm directory from old ubuntu asahi kernel to this newly merged one
17:00tobhe[m]4. update config as described in https://discourse.ubuntu.com/t/kernel-configuration-in-ubuntu/35857
17:01tobhe[m]6. build, see https://discourse.ubuntu.com/t/how-to-build-your-own-ubuntu-concept-x-elite-kernel/49941 for some discussion ob building kernels and config management
18:53aditya_ has quit [Quit: Connection closed for inactivity]
19:04tobhe_ has joined #ubuntu-asahi
19:08tobhe has quit [Ping timeout: 480 seconds]
19:11tobhe has joined #ubuntu-asahi
19:16tobhe_ has quit [Ping timeout: 480 seconds]
19:22tobhe_ has joined #ubuntu-asahi
19:27tobhe has quit [Ping timeout: 480 seconds]
19:35tobhe has joined #ubuntu-asahi
19:40tobhe_ has quit [Ping timeout: 480 seconds]