I'm a gentoo user and I've become I a bit tired of copying my kernel config file when a new kernel comes out. I wonder if it's possible to pipe the configuration file to genkernel directly. Something like this:
sudo genkernel --install --clean --kernel-config=$(gunzip/proc/config.gz) --menuconfig all
zcat /proc/config.gz | sudo genkernel --install --clean --kernel-config=- --menuconfig all
But I can't get it to work since I'm not really that good at piping/shell scripting. Any ideas?
$(gunzip /proc/config.gz) it says
gzip: /proc/config: No such file or directory. But it's untrue since
zcat /proc/config.gz prints all my settings