linux-pikaos-6.12.1/patches/0000-deb-packaging.patch

15 lines
496 B
Diff
Raw Normal View History

2024-11-18 21:03:27 +01:00
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
2024-11-18 21:59:12 +01:00
@@ -125,7 +125,10 @@
2024-11-18 21:03:27 +01:00
CC="${DEB_HOST_GNU_TYPE}-gcc" "${srctree}/scripts/package/install-extmod-build" "${pdir}/usr/src/linux-headers-${version}"
- mkdir -p $pdir/lib/modules/$version/
+ mkdir -p "${pdir}/usr/src/linux-headers-${version}/"
+ cp .config "${pdir}/usr/src/linux-headers-${version}/.config"
+
+ mkdir -p $pdir/lib/modules/$version/
ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
}