Updated update-kernel
Signed-off-by: Marcin Wozniak <y0rune@aol.com>
This commit is contained in:
parent
1c3d517ce5
commit
bbfe0149c3
@ -36,8 +36,7 @@ if [ "$agreed" == "y" ] || [ "$agreed" == "Y" ]
|
||||
$NOW > /tmp/compiling-starting
|
||||
NEW_KERNEL="/tmp/new-kernel-config"
|
||||
sudo cp -r $TMP_KERNEL $DEFAULT_KERNEL
|
||||
#cd /usr/src/linux; sudo make menuconfig; sleep 2; sudo cp -r $DEFAULT_KERNEL $NEW_KERNEL
|
||||
sleep 2; sudo cp -r $DEFAULT_KERNEL $NEW_KERNEL
|
||||
cd /usr/src/linux; sudo make menuconfig; sleep 2; sudo cp -r $DEFAULT_KERNEL $NEW_KERNEL
|
||||
sudo genkernel all --makeopts=-j$(nproc --all) --kernel-config=$NEW_KERNEL --callback="emerge nvidia-drivers::gentoo"
|
||||
elif [ "$agreed" == "N" ] || [ "$agreed" == "n" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user