Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested change to installation instructions #289

Open
itayjce opened this issue Nov 28, 2023 · 1 comment
Open

Suggested change to installation instructions #289

itayjce opened this issue Nov 28, 2023 · 1 comment

Comments

@itayjce
Copy link

itayjce commented Nov 28, 2023

Hi. I am new to github and hope that this is an acceptable way to suggest a change.

I believe that the current instructions do not cover well the case in which the kernel-headers package change due to kernel change. At least for debian installation.

Therefore I recommend to modify the Requirments sub section of the installation instructions (OPTION 1):

Replace the build-specific linux-headers package with arch-specific meta package. Namely, instead of
apt-get install linux-headers-$(uname -r) use apt-get install linux-headers-<arch> where <arch> is the architecture tag , e.g, amd64, i386, etc., (the last bit of $(uname -r)).
Rationale: the meta package linux-headers-<arch> depends on the latest build-specific package and will automatically pull it whenever the kernel headers change for the latest build.

If for any reason the above suggestion is unacceptable, than at least modify the instructions in "When your kernel changes..." (OPTION 2):

Add before cd ~/rtw89 the line sudo apt-get install linux-headers-$(uname -r)

Note 1: unfortunately I implemented OPTION 1 after the last update to the kernel-headers so it is not fully tested yet.
Note 2: ubunto and other debian-derived distributions may use different names for the kernel headers meta-package.

Hope you will find this suggestion helpful,
Itay

@lwfinger
Copy link
Owner

You mean to tell me that Debian is so brain--dead that if the kernel headers are installed and the kernel is updated that the headers are not also updated? My openSUSE installation certainly tracks the interdependency of all packages, and "does the right thing"!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants