You are not logged in.

#1 2024-08-02 12:04:33

konqueror
Member
Registered: 2017-02-19
Posts: 4

zcat command and .config file

Hello everyone,

I am trying to build a new kernel through the traditional compilation method. I downloaded kernel-6.10.2 from the kernel.org website and unpacked it under ~/kernelbuild as per the Arch wiki. When I run the following command inside the custom kernel source directory:

$ zcat  /proc/config.gz  > .config

I expect to see the .config file inside ~/kernelbuild/linux-6.10.2  where the unpacked new kernel is. I do not see the .config file, and so I must have done something wrong...

Thank you in advance for any clarification.

Enrico

Offline

#2 2024-08-02 12:05:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: zcat command and .config file

what are you using to 'see' it?

Online

#3 2024-08-02 12:18:16

konqueror
Member
Registered: 2017-02-19
Posts: 4

Re: zcat command and .config file

Hi there,

I tried with the command:

find ~/kernelbuild/linux-6.10.2  -name ".config"

,

and now I see it...I had given the command with no space before "-name" and that is why it did not find anything....

Enrico

Offline

#4 2024-08-02 12:46:38

mpan
Member
Registered: 2012-08-01
Posts: 1,593
Website

Re: zcat command and .config file

Is your working directory “~/kernelbuild/linux-6.10.2” when you invoke zcat?


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2024-08-02 15:21:48

konqueror
Member
Registered: 2017-02-19
Posts: 4

Re: zcat command and .config file

mpan wrote:

Is your working directory “~/kernelbuild/linux-6.10.2” when you invoke zcat?

Yes it is, but, as I replied in a previous post, I had issued the wrong command to see the .config file.

Offline

#6 2024-08-02 16:37:15

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: zcat command and .config file

And that is why you should always post actual commands and outputs instead of vague descriptions. See also https://bbs.archlinux.org/viewtopic.php?id=57855.


Jin, Jîyan, Azadî

Offline

#7 2024-08-03 07:28:27

konqueror
Member
Registered: 2017-02-19
Posts: 4

Re: zcat command and .config file

Head_on_a_Stick wrote:

And that is why you should always post actual commands and outputs instead of vague descriptions. See also https://bbs.archlinux.org/viewtopic.php?id=57855.

Understood. I will refer to the link posted in my next posts.

Offline

Board footer

Powered by FluxBB