Score:0

Building a custom kernel metapackage

ar flag

I followed the BuildYourOwnKernel guide and produced

linux-image-unsigned-4.15.0-159-generic_4.15.0-159.167+custom_amd64.deb
linux-modules-4.15.0-159-generic_4.15.0-159.167+custom_amd64.deb
linux-modules-extra-4.15.0-159-generic_4.15.0-159.167+custom_amd64.deb
...etc...

Now I would like to also produce linux-generic, linux-headers-generic, linux-image-generic, etc. that depend on these packages.

As a hint, apt source linux-image-generic redirects me to linux-meta which it tells me is on Git:

NOTICE: 'linux-meta' packaging is maintained in the 'Git' version control system at:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/bionic
Please use:
git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/bionic
to retrieve the latest (possibly unreleased) updates to the package.
David avatar
cn flag
What version of Ubuntu? Why do you need these custom files?
ar flag
@David Immediately I'm working with Bionic but I want to be able to move forward to Focal. I have a custom kernel hosted in a private apt repo. I want `apt upgrade linux-image` to correctly install my custom kernel, not the one from the main repo.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.