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 committed Aug 5, 2024
1 parent c64f983 commit e24d317
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 e24d317

Please sign in to comment.