Git Product home page Git Product logo

gentoo-kernel-build's Introduction

Purpose

Automating the kernel emerge, eselect, compile, configuration copying and detection, hardware detection install, etc along with grub configuration updating to save some effort when installing, upgrading, or trying a new kernel.

Features

  • A selection of kernels including gentoo-sources, hardened-sources, vanilla-sources, pf-sources, etc
  • The option to unmask testing versions of your selected kernel
  • Handles the eselect kernel set by giving a list of installed kernels to select in an easy manner
  • If dependencies are not installed, you are prompted for the script to install them
  • The option to copy a kernel .config from the scripts running directory to the selected kernels location or using the kernel from the running system
  • Makes use of kergen for enabling hardware support for the currently running system in the selected kernel
  • Options of compiling the kernel with the regular make method, Sakakis build kernel script, or Genkernel
  • In all compiling methods, you are given the amount of CPU cores available and prompted to select how many to use
  • In the regular make method and Genkernel selections you are given the option of using menuconfig or gconfig for kernel customization
  • Supports updating your GRUB config. If GRUB is not installed it will be, walking you through configuration by prompting which disk to install to, etc.
  • Among other nifty features..

Pictures

daulton.ca

Note: Kernel compilation output cut, of course.

daulton.ca

Note: Genkernel initramfs output cut.

daulton.ca

How to use

  • Lets get the source
git clone https://github.com/jeekkd/gentoo-kernel-build.git && cd gentoo-kernel-build
  • First we must change the scripts permissions. This will make the script readable, writable, and executable to root and your user
sudo chmod 770 build-kernel.sh

Note: This script can detect .configs in your current directory if you want to use your own custom configuration instead of your running kernels configuration as an example

  • Now you launch the script like so
sudo sh build-kernel.sh

gentoo-kernel-build's People

Contributors

jeekkd avatar romantic668 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.