jstm-optimized/README.md

34 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

# jstm-optimized
2024-08-07 00:35:59 +02:00
This repository includes a build tool for compiling the Linux kernel with performance patches from the Linux Clear project. It allows for build time speedups and easier PKGBUILD configuration.
This repository is based on the AUR package [linux-clear](https://aur.archlinux.org/pkgbase/linux-clear) (which is also maintained by me) and simply patches it's PKGBUILD file and passes some environment variables.
Before I took over the AUR package I maintained a softfork of the package here. Now it just contains tools for it as I am now able to introduce things to upstream.
2024-03-11 00:47:06 +01:00
## Warning
As with every other software, make sure to regularily update your kernel. Missing updates and security patches will make your system vulnerable to attacks.
2024-03-10 16:04:07 +01:00
2024-07-11 19:21:36 +02:00
## Changes
This repository improves/changes the following things over [linux-clear](https://aur.archlinux.org/pkgbase/linux-clear):
2024-07-11 19:21:36 +02:00
- includes a build tool with build time performance improvements
2024-07-11 19:32:11 +02:00
- defaults to cpu governor `schedutil` instead of `performance` (you don't need maximum performance 24/7 anyway, use [`gamemode`](https://github.com/FeralInteractive/gamemode) for maximum game performance or use [`cpu-power`](https://archlinux.org/packages/extra/x86_64/cpupower/))
- includes the `powersave` cpu governor for battery-powered devices
2024-07-11 19:21:36 +02:00
2024-03-10 16:04:07 +01:00
## Building
To build this kernel, run this command in your terminal:
```bash
curl -sSL "https://git.staropensource.de/JeremyStarTM/jstm-optimized/raw/branch/develop/buildtool.sh">/tmp/buildtool.sh
chmod +x /tmp/buildtool.sh
/tmp/buildtool.sh
2024-03-10 16:04:07 +01:00
```
2024-03-11 00:47:06 +01:00
## Building from local repository
2024-03-29 23:00:24 +01:00
If you've already built this kernel or want to compile the kernel from your local repository execute this:
2024-03-11 00:47:06 +01:00
```bash
env BUILDTOOL_LOCALDIR=SET ./buildtool.sh
```
2024-03-11 01:58:42 +01:00
## Cleaning repository
To remove everything `makepkg` produced, simply run:
```bash
./cleantool.sh
```