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
7a8aeda5
Commit
7a8aeda5
authored
Dec 12, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generation: Fix 20compile-kernel.sh
parent
af3ddbf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
generation/20compile-kernel.sh
generation/20compile-kernel.sh
+4
-4
No files found.
generation/20compile-kernel.sh
View file @
7a8aeda5
...
...
@@ -8,19 +8,19 @@ cd "$GIT_ROOT"
source
generation/00env.sh
KERNEL_COMPILATION_DIR
=
kernel-compilation
nproc
=
32
apt
-y
build-dep linux
mkdir
-p
"
$KERNEL_COMPILATION_DIR
"
&&
cd
"
$KERNEL_COMPILATION_DIR
"
if
[
!
-f
linux-
"
$KERNEL_VERSION
"
.tar.xz
]
;
then
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-
"
$KERNEL_VERSION
"
.tar.xz
fi
if
[
!
-d
linux-
"
$KERNEL_VERSION
"
]
;
then
tar
-xaf
linux-
"
$KERNEL_VERSION
"
.tar.xz
fi
cd
linux-
"
$KERNEL_VERSION
"
make olddefconfig
make menuconfig
./scripts/config
\
-d
CONFIG_MODULE_SIG_ALL
\
...
...
@@ -29,10 +29,10 @@ make menuconfig
-d
CONFIG_DEBUG_INFO
\
-e
CONFIG_EFI_STUB
#
include
every modules in the kernel
#
embed
every modules in the kernel
cp
.config .config.backup
sed
-i
's/=m$/=y/g'
.config
make deb-pkg
-j
"
$(
nproc
)
"
LOCALVERSION
=
-
"
$(
dpkg
--print-architecture
)
"
KDEB_PKGVERSION
=
"
$(
make
$KERNEL_VERSION
)
-1"
make deb-pkg
-j
"
$(
nproc
)
"
LOCALVERSION
=
-
"
$(
dpkg
--print-architecture
)
"
KDEB_PKGVERSION
=
"
$(
make
kernelversion
)
-1"
cd
..
dpkg
-x
linux-image-
"
$KERNEL_VERSION
"
-amd64_
"
$KERNEL_VERSION
"
-1_amd64
.deb
"
$KERNEL_DIR
"
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