Builds the deb and rpm packages of an mklinux release on GitHub Actions, for x86_64 and arm64, and attaches them to the release page. It lives apart from the kernel repo so that the kernel tree carries no CI.
Once the tag is pushed and its release page exists in multikernel/linux:
gh workflow run build.yml --repo multikernel/mklinux-packages -f tag=v7.0-mk5
Add -f publish=false to only build; the packages are then kept as
workflow artifacts. A published run uploads the packages and a SHA256SUMS
file to the release and replaces the ## Install section of its notes.
The publish job needs a secret named LINUX_RELEASE_TOKEN: a fine-grained
personal access token limited to multikernel/linux with read and write
access to Contents.
gh secret set LINUX_RELEASE_TOKEN --repo multikernel/mklinux-packages
The repo has to be public for the hosted runners to be free.
lts.yml runs daily. When the stable series of the LTS branch has a
release the branch does not carry, it:
- merges the stable tag (
scripts/lts-merge.sh) and pushes the result to<branch>-nextinmultikernel/linux; - builds that commit for x86_64 and arm64 with the release configs and
boots each kernel under QEMU (
scripts/boot-test.sh); - fast-forwards the LTS branch to it when both pass.
A conflict or a failed build opens an issue here, and the schedule leaves that tag alone until the issue is closed. It never tags a release; that stays a manual step.
Setup, on top of LINUX_RELEASE_TOKEN:
gh variable set LTS_BRANCH --repo multikernel/mklinux-packages --body linux-7.4.y-mk
The branch has to exist in multikernel/linux and be named
linux-X.Y.y-mk; the series is read from the name. Without the variable
the workflow does nothing. To merge a given tag, or to retry at once:
gh workflow run lts.yml --repo multikernel/mklinux-packages [-f tag=v7.4.3]
After a conflict, do the merge by hand, push it to <branch>-next and
send that commit through the same build, boot test and fast-forward:
gh workflow run lts.yml --repo multikernel/mklinux-packages -f sha=<commit>
GitHub turns the schedule off after 60 days without a commit in this repo.
configs/x86_64.config,configs/arm64.config: the generic kernel configs of Ubuntu 26.04, unmodified.scripts/update-base-configs.shrefreshes them.configs/mklinux.config,configs/mklinux-<arch>.config: what mklinux changes on top.scripts/make-config.shmerges them and fails when an option does not surviveolddefconfig.
Debug info is off because a build with DWARF does not fit on a hosted
runner's disk. There is therefore no -dbg package and no BTF.
scripts/make-config.sh x86_64 /path/to/linux
scripts/build-packages.sh /path/to/linux out
scripts/install-notes.sh out