You are not logged in.

#1 2014-08-20 18:49:07

jpgg
Member
Registered: 2014-01-15
Posts: 43

Custom kernels and firmwares

For learning purposes, I would like to build and install a custom kernel WITHOUT using pacman. I want to make + make modules_install and copy the kernel manually in /boot. However, make modules_install would install files in /usr/lib/firmware which already exist on a normal Arch installation and are owned by the linux-firmware package (required by the linux package).

I found this old thread (2009) related to this, but there does not seem to be a clean solution.

There is also no mention of this in the wiki page Kernels/Compilation/Traditional

For those who prefer manually installing their custom kernels, how do you handle firmware files. Do you simply overwrite the files in /usr/lib/firmware? (At first sight, it seems like the firmware files installed by a custom kernel are a subset of those provided by the linux-firmware package, so this might not be a problem.)

Last edited by jpgg (2014-08-20 18:50:33)

Offline

#2 2014-08-20 20:01:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Custom kernels and firmwares

Just remove the linux-firmware package. If it turns out that you need some of the extra files that it provides, just install those manually too.

Offline

#3 2014-08-20 20:10:08

jpgg
Member
Registered: 2014-01-15
Posts: 43

Re: Custom kernels and firmwares

tomk wrote:

Just remove the linux-firmware package.

The linux package depends on linux-firmware and I want to keep the default arch kernel installed. Is it somehow possible to uninstall a package that is required by another?

Last edited by jpgg (2014-08-20 20:12:54)

Offline

#4 2014-08-20 20:32:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Custom kernels and firmwares

It is, but IMO it would be better to create a custom linux-firmware package that no longer conflicts with the files that you want to install manually.

Offline

#5 2014-08-21 02:21:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Custom kernels and firmwares

jpgg wrote:

At first sight, it seems like the firmware files installed by a custom kernel are a subset of those provided by the linux-firmware package, so this might not be a problem.

It isn't.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB