Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel e config file
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 369

PostPosted: Sun May 31, 2020 5:34 am    Post subject: kernel e config file Reply with quote

Dove posso trovare un file di configurazione aggiornato (standard) che vada bene nella maggior parte dei casi?

da poter usare per la compilazione del kernel...
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24499
Location: here

PostPosted: Sun May 31, 2020 7:09 am    Post subject: Reply with quote

Installa semplicemente sys-kernel/gentoo-kernel che viene compilato con la configurazione che usa archlinux per i suoi kernel
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 369

PostPosted: Sun May 31, 2020 8:45 am    Post subject: Reply with quote

praticamente il file di configurazione che usa sys-kernel/gentoo-kernel

sarebbe quello che trovo in


/var/cache/distfiles/linux-5.6.8-arch1.amd64.config


dopo che scompatta i file....giusto?

Code:
var/cache/distfile 100%[===================>] 240.40K   245KB/s    in 1.0s   

2020-05-31 10:43:17 (245 KB/s) - ‘/var/cache/distfiles/linux-5.6.8-arch1.amd64.config.__download__’ saved [246166/246166]

 * linux-5.6.8-arch1.amd64.config BLAKE2B SHA512 size ;-) ...                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking linux-5.6.tar.xz to /var/tmp/portage/sys-kernel/gentoo-kernel-5.6.15/work
>>> Unpacking genpatches-5.6-19.base.tar.xz to /var/tmp/portage/sys-kernel/gentoo-kernel-5.6.15/work
>>> Unpacking genpatches-5.6-19.extras.tar.xz to /var/tmp/portage/sys-kernel/gentoo-kernel-5.6.15/work
>>> Unpacking linux-5.6.8-arch1.amd64.config to /var/tmp/portage/sys-kernel/gentoo-kernel-5.6.15/work
unpack linux-5.6.8-arch1.amd64.config: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/sys-kernel/gentoo-kernel-5.6.15/work
>>> Preparing source in /var/tmp/portage/sys-kernel/gentoo-kernel-5.6.15/work/linux-5.6 ...
 * Applying 1001_linux-5.6.1.patch ...                                                                                              [ ok ]
 * Applying 1001_linux-5.6.2.patch ...                                                                                              [ ok ]
 * Applying 1002_linux-5.6.3.patch ...                                                                                              [ ok ]
 * Applying 1003_linux-5.6.4.patch ...                                                                                              [ ok ]
 * Applying 1004_linux-5.6.5.patch ...
^C

Exiting on signal 2
sandbox:stop  caught signal 2 in pid 4
sandbox:stop  Send signal 4 more times to force SIGKILL
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24499
Location: here

PostPosted: Sun May 31, 2020 10:03 am    Post subject: Reply with quote

Si dovrebbe essre quello ma attenzione che disabilita qualcosa l'ebuild
Code:
        local config_tweaks=(
                # shove arch under the carpet!
                -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
                # we do support x32
                -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
                # disable signatures
                -e '/CONFIG_MODULE_SIG/d'
                -e '/CONFIG_SECURITY_LOCKDOWN/d'
                # disable compression to allow stripping
                -e '/CONFIG_MODULE_COMPRESS/d'
                # disable gcc plugins to unbreak distcc
                -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d'
        )
        sed -i "${config_tweaks[@]}" .config || die

Ma perche' non usi semplicemente l'ebuild?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum