1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

mkosi: Stop installing kernel headers to /usr

The selftests automatically pick up the headers from the kernel
build directory so we don't have to install them to /usr ourselves.
This commit is contained in:
Daan De Meyer 2023-02-12 18:16:06 +01:00
parent 939835cebb
commit 1d362bdf0f

View File

@ -288,7 +288,6 @@ if [ -d mkosi.kernel/ ]; then
KERNEL_RELEASE=$(make O="$BUILDDIR"/mkosi.kernel -s kernelrelease)
mkdir -p "$DESTDIR/usr/lib/modules/$KERNEL_RELEASE"
make O="$BUILDDIR/mkosi.kernel" INSTALL_HDR_PATH=/usr headers_install
make O="$BUILDDIR/mkosi.kernel" INSTALL_MOD_PATH="$DESTDIR/usr" modules_install
make O="$BUILDDIR/mkosi.kernel" INSTALL_PATH="$DESTDIR/usr/lib/modules/$KERNEL_RELEASE" install
mkdir -p "$DESTDIR/usr/lib/kernel/selftests"