Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
d306e777
Commit
d306e777
authored
Dec 05, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel-compilation: Add basic script for downloading and compiling the linux kernel.
parent
899baa9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
kernel-compilation/download.sh
kernel-compilation/download.sh
+17
-0
No files found.
kernel-compilation/download.sh
0 → 100755
View file @
d306e777
kversion
=
5.10.157
nproc
=
32
apt
-y
build-dep linux
mkdir
-p
compilation
&&
cd
compilation
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-
"
$kversion
"
.tar.xz
tar
-xaf
linux-
"
$kversion
"
.tar.xz
&&
cd
linux-
"
$kversion
"
make olddefconfig
make menu config
./scripts/config
-d
CONFIG_MODULE_SIG_ALL
-d
CONFIG_MODULE_SIG_KEY
-d
CONFIG_SYSTEM_TRUSTED_KEYS
./scripts/config
-d
CONFIG_DEBUG_INFO
make deb-pkg
-j
"
$(
nproc
)
"
LOCALVERSION
=
-
"
$(
dpkg
--print-architecture
)
"
KDEB_PKGVERSION
=
"
$(
make kernelversion
)
-1"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment