=== tjaalton_ is now known as tjaalton === pwnOrbitals1 is now known as pwnOrbitals === pwnOrbitals1 is now known as pwnOrbitals [21:05] Hi 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:06] According 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:07] That 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:08] the heuristics seem a little fuzzy [21:13] malloc: my guess is you don't actually want the -source packages but rather the -headers- packages instead [21:15] sarnold: 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 usage [21:17] ddg'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:21] malloc: oh, hrm. then you've got something complicated going on [21:21] sarnold: yeah :-/ [21:22] i can get by with some chicanery for poc purposes but would like to have a less brittle story to present my team [21:22] malloc: 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 thing [21:23] malloc: (I think the -signed- packages just take binaries from a similarly-named source package, just missing the -signed- piece..) [21:24] sarnold: http://archive.ubuntu.com/ubuntu/pool/main/l/linux-azure/ helps! I see buildpackage sources and the diff.gz for 1058 [21:34] sarnold: linux-azure source package is really close... odd how 1058.38 != 1058.60 however https://vim.cx/?8a25a12faea255c5#2K1BLeQEpMNHmVrmiynbrnrHdKzuZsdcQuFaCs1yKzSc [21:35] malloc: I think the -meta- packages are mostly just dependencies and the like -- it's only ~10kb of stuff to download, for example [21:36] malloc: 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 download [21:38] sarnold: there isn't a corresponding linux-azure-tools-5.4... only linux-azure-tools-5.0.0-1036 [21:38] that is my main pickle... getting equiv source for the binary kernel [21:39] malloc: oh dang. :( that's one downside of looking at the archive directories .. it's hard to know which packages go to which releases :( [21:47] going from the dist files leads to http://archive.ubuntu.com/ubuntu/pool/main/l/linux-azure-5.4/ [21:47] http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-amd64/Packages.gz