-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix create+prepare rt kernel scripts (#701)
* Updating build and prepare scripts * wget failing due to ssl cert fix * matching linux version formatting across scripts
- Loading branch information
1 parent
9e76b17
commit aa368eb
Showing
2 changed files
with
21 additions
and
11 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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
#!/bin/bash | ||
|
||
KERNEL_VERSION="4.13.13" | ||
# 1) Replace with kernel version | ||
KERNEL_VERSION="x.x.x" | ||
|
||
# https://www.debian.org/releases/stable/i386/ch08s06.html.en | ||
sudo apt-get install kernel-package fakeroot libssl-dev | ||
sudo apt-get install kernel-package fakeroot libssl-dev dpkg-dev libelf-dev | ||
|
||
cd linux-${KERNEL_VERSION}/ | ||
make-kpkg clean | ||
make clean | ||
|
||
# set concurrency to all cores but one | ||
export CONCURRENCY_LEVEL=$(expr $(grep -c ^processor /proc/cpuinfo) - 1) | ||
sudo fakeroot make-kpkg --initrd --revision=1.0.custom kernel_image | ||
|
||
# 2)a) on systems prior to 22.04 run below | ||
#sudo fakeroot make-kpkg --initrd --revision=1.0.custom kernel_image | ||
|
||
#2)b) on systems 22.04 and up run | ||
#sudo fakeroot make bindeb-pkg |
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