Guest User

Untitled

a guest
Apr 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cd /usr/src/
  4. wget $1
  5. filename=$(echo $1 | awk -F / '{print $NF}')
  6. tar -xf $filename
  7. echo "Running eselect"
  8. eselect kernel set $(echo $filename | awk -F '.tar.xz' '{print $1}')
  9. cd linux/
  10. make olddefconfig
  11. make -j8
  12. make module_install
  13. make install
  14. emerge @module-rebuild
  15. genkernel --install initramfs
  16. grub-mkconfig -o /boot/grub/grub.cfg
Add Comment
Please, Sign In to add comment