Skip to content

Commit

Permalink
CI: mkosi: Fix the lack of gcc-13 for mainline builds
Browse files Browse the repository at this point in the history
Installing dkms should be generic enough to bring everything needed to
build kernel modules.

This is not 100% solution since exact kernel version may still differ:

  $ make ...
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-3ubuntu1) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-4ubuntu1) 13.3.0

But this is best effort.

Fixes: #343
Signed-off-by: Vitaly Chikunov <[email protected]>
  • Loading branch information
vt-alt authored and solardiz committed Aug 5, 2024
1 parent c64f983 commit 2bf9cf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mkosi.default
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ RootSize=4G
[Packages]
BuildPackages=
diffutils
gcc
make
dkms
linux-virtual
Packages=
sysvbanner
Expand Down

0 comments on commit 2bf9cf0

Please sign in to comment.