Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
Ubuntu Realtime Kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CeTI
ROS
Ubuntu Realtime Kernel
Commits
59cb0a8c
Commit
59cb0a8c
authored
4 years ago
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
change to ubuntu 20.04 and kernel 5.9
parent
dfa3782d
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#9707
failed
4 years ago
Stage: build
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compile.bash
+13
-13
13 additions, 13 deletions
compile.bash
config
+1037
-566
1037 additions, 566 deletions
config
with
1050 additions
and
579 deletions
compile.bash
+
13
−
13
View file @
59cb0a8c
...
...
@@ -2,22 +2,22 @@
# get current kernel and realtime patch version
FILE
=
`
curl
-s
https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.
4
/
`
KERNEL
=
`
echo
$FILE
|
sed
-n
's/.*patch-5.
4
.\(.*\)-rt.*.patch.gz.*/\1/p'
`
RTPATCH
=
`
echo
$FILE
|
sed
-n
's/.*patch-5.
4
..*-rt\(.*\).patch.gz.*/\1/p'
`
echo
"using kernel 5.
4
.
$KERNEL
with realtime patch
$RTPATCH
"
FILE
=
`
curl
-s
https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.
9
/
`
KERNEL
=
`
echo
$FILE
|
sed
-n
's/.*patch-5.
9
.\(.*\)-rt.*.patch.gz.*/\1/p'
`
RTPATCH
=
`
echo
$FILE
|
sed
-n
's/.*patch-5.
9
..*-rt\(.*\).patch.gz.*/\1/p'
`
echo
"using kernel 5.
9
.
$KERNEL
with realtime patch
$RTPATCH
"
# get kernel file names and location
KERNELURL
=
https://www.kernel.org/pub/linux/kernel/v5.x/
KERNELNAME
=
linux-5.
4
.
${
KERNEL
}
KERNELFILE
=
linux-5.
4
.
${
KERNEL
}
.tar
KERNELFILEXZ
=
linux-5.
4
.
${
KERNEL
}
.tar.xz
KERNELSIGN
=
linux-5.
4
.
${
KERNEL
}
.tar.sign
PATCHURL
=
https://www.kernel.org/pub/linux/kernel/projects/rt/5.
4
/
PATCHFILE
=
patch-5.
4
.
${
KERNEL
}
-rt
${
RTPATCH
}
.patch
PATCHFILEXZ
=
patch-5.
4
.
${
KERNEL
}
-rt
${
RTPATCH
}
.patch.xz
PATCHSIGN
=
patch-5.
4
.
${
KERNEL
}
-rt
${
RTPATCH
}
.patch.sign
KERNELNAME
=
linux-5.
9
.
${
KERNEL
}
KERNELFILE
=
linux-5.
9
.
${
KERNEL
}
.tar
KERNELFILEXZ
=
linux-5.
9
.
${
KERNEL
}
.tar.xz
KERNELSIGN
=
linux-5.
9
.
${
KERNEL
}
.tar.sign
PATCHURL
=
https://www.kernel.org/pub/linux/kernel/projects/rt/5.
9
/
PATCHFILE
=
patch-5.
9
.
${
KERNEL
}
-rt
${
RTPATCH
}
.patch
PATCHFILEXZ
=
patch-5.
9
.
${
KERNEL
}
-rt
${
RTPATCH
}
.patch.xz
PATCHSIGN
=
patch-5.
9
.
${
KERNEL
}
-rt
${
RTPATCH
}
.patch.sign
# download kernel
...
...
@@ -46,7 +46,7 @@ patch -p1 < ../${PATCHFILE}
# build the kernel
# use the kernel config build on a normal ubuntu
18
.4
# use the kernel config build on a normal ubuntu
20
.4
cp
../config .config
# update config with defaults if new options have been added
make olddefconfig
...
...
This diff is collapsed.
Click to expand it.
config
+
1037
−
566
View file @
59cb0a8c
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment