Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to Generate a Custom Name Kernel

Need help with peripherals or devices?
Post Reply
Message
Author
overlock
Posts: 12
Joined: 2018-08-27 23:40

How to Generate a Custom Name Kernel

#1 Post by overlock »

Hello, my question is I compile my kernel using make-kpkg, so far so good, but when it is finished with the very big name so linux-image-4.17.8-ck1_4.17.8-ck1-10.00.Custom_amd64.deb I would like so linux-image-4.17.8-ck1_amd64.deb how do I?

milomak
Posts: 2160
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: How to Generate a Custom Name Kernel

#2 Post by milomak »

while not answering your question, is there a specific reason why you are building your own kernel?

i think the answer to your problem may lie with the --revision= flag iirc
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How to Generate a Custom Name Kernel

#3 Post by GarryRicketson »

I don't know really, but doing some searches I found a couple of things that might give a hint. First, this is the search string I used:

Code: Select all

How can I modify the name when I compile a customized kernel for Debian 

There are quite a few results, and I really don't have the tine or interest to look at all of them, but any way, one these 3 might help you .
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
5.2. --append-to-version

The first option lets you specify an addition to the kernel version, which then becomes part of the kernel's name. You may use alphanumeric characters, "+" and "." (period or full stop); do not use underscore "_".

Here's the kernel I'm running now:
====
https://stackoverflow.com/questions/286 ... the-kernel
=======

The last, but is not Debian, and does not use "make-kpkg", and I am not sure if it can be applied to Linux or Debian, it is somewhat more simple though.
https://www.freebsd.org/doc/handbook/ke ... lding.html
Once the edits to the custom configuration file have been saved, the source code for the kernel can be compiled using the following steps:
All the steps, are NOT included in this post, but they are really simple, 1 step includes:
Compile the new kernel by specifying the name of the custom kernel configuration file:

Code: Select all

# make buildkernel KERNCONF=MYKERNEL 
=========
There seem to be a lot of results in a search, if none of the above are good enough, there are many more , just go through them until you find one that is suitable for you.

Post Reply