/srv/irclogs.ubuntu.com/2021/09/13/#ubuntu-kernel.txt

=== tjaalton_ is now known as tjaalton
=== pwnOrbitals1 is now known as pwnOrbitals
=== pwnOrbitals1 is now known as pwnOrbitals
mallocHi all... I'm trying to build an out of tree kernel module against the linux-image-5.4.0-1058-azure kernel (5.4.0-1058.60~18.04.1) and noticed that linux-*source package linux-hwe-5.4-source-5.4.0 (5.4.0-84.94~18.04.1) is empty.21:05
mallocAccording to the source package linux-signed-azure-5.4 the source is in git://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-signed-azure/+git/bionic within the azure-5.4 branch.21:06
mallocThat repository has the following tag: Ubuntu-hwe-5.4-5.4.0-85.95_18.04.1... what is the easiest way for me to make sure I have the correct sources as the packages move forward?21:07
mallocthe heuristics seem a little fuzzy21:08
sarnoldmalloc: my guess is you don't actually want the -source packages but rather the -headers- packages instead21:13
mallocsarnold: you are right except for one wrinkle for this particular external module that wants to copy a few source files into the local build tree for internal usage21:15
mallocddg'ing around lead me to http://ports.ubuntu.com/pool/main/l/linux/linux-source-5.4.0_5.4.0-84.94_all.deb which matches the linux-hwe-5.4-source-5.4.0 version. 21:17
sarnoldmalloc: oh, hrm. then you've got something complicated going on21:21
mallocsarnold: yeah :-/21:21
malloci can get by with some chicanery for poc purposes but would like to have a less brittle story to present my team21:22
sarnoldmalloc: I don't think the linux source package sources are really involved in building the azure kernels; probably the azure kernel comes from the linux-azure source package http://archive.ubuntu.com/ubuntu/pool/main/l/linux-azure/ -- maybe 'apt source linux-azure-tools' or similar will grab the right thing21:22
sarnoldmalloc: (I think the -signed- packages just take binaries from a similarly-named source package, just missing the -signed- piece..)21:23
mallocsarnold: http://archive.ubuntu.com/ubuntu/pool/main/l/linux-azure/ helps! I see buildpackage sources and the diff.gz for 105821:24
mallocsarnold: linux-azure source package is really close... odd how 1058.38 != 1058.60 however  https://vim.cx/?8a25a12faea255c5#2K1BLeQEpMNHmVrmiynbrnrHdKzuZsdcQuFaCs1yKzSc21:34
sarnoldmalloc: I think the -meta- packages are mostly just dependencies and the like -- it's only ~10kb of stuff to download, for example21:35
sarnoldmalloc: I picked 'linux-azure-tools' as the binary package for 'apt source' on the hopes that it'd pick the linux-azure source package to download21:36
mallocsarnold: there isn't a corresponding linux-azure-tools-5.4... only linux-azure-tools-5.0.0-103621:38
mallocthat is my main pickle... getting equiv source for the binary kernel21:38
sarnoldmalloc: oh dang. :( that's one downside of looking at the archive directories .. it's hard to know which packages go to which releases :(21:39
mallocgoing from the dist files leads to http://archive.ubuntu.com/ubuntu/pool/main/l/linux-azure-5.4/21:47
mallochttp://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-amd64/Packages.gz21:47

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