blob: ee6a47424a69ebd0fb72fd2f13b3b5a8997a9b95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
set -xe
d=`pwd`
k=`eselect kernel list | tail -n1 | cut -d\ -f6`
eselect kernel set $k
cd /usr/src/linux
patch -p1 < $d/i8042-acpipnpio.h.patch
cp $d/config .config
make
make modules
make install
make modules_install
m=`cut -d- -f2- <<<$k`
dracut --force --kver $m /boot/initramfs-$m.img
grub-mkconfig > /boot/grub/grub.cfg
|