mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
mkosi: Make sure we build kernel headers
Required for building kernel selftests
This commit is contained in:
parent
c109cff9f9
commit
076deab75d
@ -19,6 +19,7 @@ if [ -d "$SRCDIR"/mkosi.kernel/ ]; then
|
||||
|
||||
# Make sure systemd-boot boots this kernel and not the distro provided one by overriding the version.
|
||||
make O="$BUILDDIR" VERSION=99 -j "$(nproc)"
|
||||
make O="$BUILDDIR" VERSION=99 -j "$(nproc)" headers
|
||||
|
||||
KERNEL_RELEASE=$(make O="$BUILDDIR" VERSION=99 -s kernelrelease)
|
||||
mkdir -p "$DESTDIR/usr/lib/modules/$KERNEL_RELEASE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user