[09:10] <luc4> Hello! When git bisecting the kernel for the rpi, can I only replace the vmlinuz file in /boot? Or do I also have to rebuild the initrd?
[10:30] <ogra> the kernel deb usually does this automatically ...
[10:31] <ogra> (the deb has a postinst trigger that calls update-initramfs)
[10:31] <luc4> ogra: I see, the problem is that I don’t know how to generate a deb from a commit in the kernel
[10:32] <luc4> ogra: when I crossbuild, all I get is vmlinuz
[10:33] <ogra> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
[10:33] <ogra> CROSS_COMPILE= and ARCH= are respected when building a deb ...
[10:34] <luc4> ogra: that procedure seems to assume the debian/ directory is present. But I see it is only present in some commits, not in others.
[10:34] <ogra> ??
[10:34] <ogra> it is definitely in all our trees
[10:36] <luc4> ogra: I’m git bisecting, and I found myself in commits where no debian/ directory was present.
[10:36] <luc4> ogra: what I saw is that the directory seems to be added when a new release is started, is this possible?
[10:38] <ogra> well, not sure what tree you are bisecting against (and i'm not any expert in bisecting) but you should definitely always have a debian dir in any ubuntu trees
[10:38] <ogra> perhaps better ask in #ubuntu-kernel
[10:40] <luc4> ogra: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/hirsute/tree/?id=84faf29b2d529a10cd71e609ddb237a5af8551a4
[10:42] <ogra> as i said, better ask in #ubuntu-kernel ...
[10:43] <luc4> ogra: ok, thanks
[10:43] <ogra> though that commit you have there is totally not for RPi's at all ...
[10:43] <ogra> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/hirsute/commit/?id=84faf29b2d529a10cd71e609ddb237a5af8551a4
[10:43] <luc4> ogra: I see, but bisection brings me there.
[10:44] <ogra> it's adevicetree change for some exotic stm 96boards device
[10:44] <luc4> ogra: I understand that commit is not relevant for me, but previous commits are.
[10:44] <ogra> (not sure why that would even end up in linux-raspi at all ... so you definitely need someone from the kernel team to answer that)
[10:45] <luc4> ogra: isn’t that the rpi kernel?
[10:45] <ogra> linux-raspi is the pi kernel. yeah ... but that seems to be some upstream pull-in thing
[10:46] <luc4> ogra: oh, maybe I found the wrong git?
[10:46] <ogra> they tend to sync changes from upstream ... and that might be why there is no debian dir in the upstream tree you compare
[10:46] <ogra> but again, only someone from the kernel team can answer that
[10:46] <luc4> ogra: ok, I’ll try to ask there then, thanks