https://github.com/vaeth/kernel
A POSIX shell script to compile the kernel with user permissions. Intended for Gentoo linux
https://github.com/vaeth/kernel
build-tool linux-kernel
Last synced: 11 months ago
JSON representation
A POSIX shell script to compile the kernel with user permissions. Intended for Gentoo linux
- Host: GitHub
- URL: https://github.com/vaeth/kernel
- Owner: vaeth
- Created: 2011-12-21T18:28:11.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2023-06-25T06:38:42.000Z (almost 3 years ago)
- Last Synced: 2025-07-18T19:21:06.960Z (11 months ago)
- Topics: build-tool, linux-kernel
- Language: Shell
- Homepage: http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html#kernel
- Size: 104 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kernel
(C) Martin Väth
This project is under the BSD license 2.0 (“3-clause BSD license”).
SPDX-License-Identifier: BSD-3-Clause
If you want to configure/compile your linux kernel as a user and install it
as root, usually several standard commands should be entered.
I got bored of typing these over and over and thus have written a convenient
script to automate this task.
This POSIX shell script is optimized for usage under Gentoo with portage
(and can use __app-portage/eix-0.32.2__ or newer to speed up):
It uses portage to determine some default paths and settings;
it is currently untested in different environments.
You must have `push.sh` from https://github.com/vaeth/push (v2.0 or newer)
in your `$PATH`.
This script requires that you have set `KBUILD_OUTPUT` so that the
output really can occur as a user. (You should set it also in the root
environment or in make.conf to the same value so that ebuilds will
honour that place).
If you want to transfer X data, you should also have the `sudox` script from
https://github.com/vaeth/sudox (v4.1.0 or better newer) in your `$PATH`.
If you want that the hard status line is set, also the `title` script from
https://github.com/vaeth/runtitle (version 2.3 o newer) is required in
your `$PATH`.
### Installation
For installation, copy the content of `bin/` with executable permission in your
`$PATH` (perhaps to `/usr/bin`). To obtain support for __zsh completion__,
copy the content of `zsh/` to a directory of your zsh's `$fpath`
(perhaps to `/usr/share/zsh/site-functions/`).
There is also an ebuild in the `mv` repository
(available by `app-select/eselect-repository` or `app-portage/layman`).