Skip to content

caden-kline/linux_builder

 
 

Repository files navigation

linux_builder

Standalone repo for building a linux source tree with CI. This design keeps CI infrastructure, build scripts, and configs out of the original tree making it easy to see the difference and port it to other kernel versions.

Usage

Update submodule

cd linux

# Checkout desired branch, pull, etc
git checkout master
git pull

# Go back to project root
cd ..

# Add new commit
git commit -am "Updated linux to ..."

git push

Make new release

To make a new release, tag the repo with a v*.* string and push it:

git tag v3.1
git push origin v3.1

The CI jobs will then build your release and make it available at https://github.com/panda-re/linux_builder/releases/download/<TAG-NAME>/kernels-latest.tar.gz

Modifying configs

If you'd like to add a given option or set of options to all configs, you can add it to configs/all-common.inc.

Linting configs

Before commiting any config update you MUST lint your change by running ./build.sh --config-only. You can specify architectures to lint with the --targets flag, e.g., ./build.sh --config-only --targets "armel mipel". If the lint fails, build.sh will exit with non-zero status and print a diff containing the problems.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 75.1%
  • Shell 20.6%
  • C++ 2.5%
  • Dockerfile 1.8%