-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c16b5dc
Showing
6 changed files
with
11,875 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Debian kernel" | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt update; sudo apt install -y git build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison binutils | ||
- name: Build kernel | ||
run: bash build.sh | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: debian-kernel | ||
retention-days: 7 | ||
path: | | ||
*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
linux* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
VERSION="6.6.2" | ||
|
||
ROOT="$PWD" | ||
TARBALL="linux-${VERSION}.tar.xz" | ||
TARBALLURL="https://cdn.kernel.org/pub/linux/kernel/v${VERSION:0:1}.x/${TARBALL}" | ||
|
||
curl -LO $TARBALLURL | ||
tar -xf $TARBALL | ||
cd linux-${VERSION} | ||
|
||
for patch in $(ls $ROOT/patches) | ||
do | ||
patch -p1 < $ROOT/patches/$patch | ||
done | ||
|
||
cp ${ROOT}/config .config | ||
make olddefconfig | ||
make bindeb-pkg -j$(nproc) INSTALL_MOD_STRIP=1 |
Oops, something went wrong.