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:
parent
939835cebb
commit
1d362bdf0f
@ -288,7 +288,6 @@ if [ -d mkosi.kernel/ ]; then
|
|||||||
|
|
||||||
KERNEL_RELEASE=$(make O="$BUILDDIR"/mkosi.kernel -s kernelrelease)
|
KERNEL_RELEASE=$(make O="$BUILDDIR"/mkosi.kernel -s kernelrelease)
|
||||||
mkdir -p "$DESTDIR/usr/lib/modules/$KERNEL_RELEASE"
|
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_MOD_PATH="$DESTDIR/usr" modules_install
|
||||||
make O="$BUILDDIR/mkosi.kernel" INSTALL_PATH="$DESTDIR/usr/lib/modules/$KERNEL_RELEASE" install
|
make O="$BUILDDIR/mkosi.kernel" INSTALL_PATH="$DESTDIR/usr/lib/modules/$KERNEL_RELEASE" install
|
||||||
mkdir -p "$DESTDIR/usr/lib/kernel/selftests"
|
mkdir -p "$DESTDIR/usr/lib/kernel/selftests"
|
||||||
|
Loading…
Reference in New Issue
Block a user