fix patch

This commit is contained in:
ferreo 2024-11-18 20:59:12 +00:00
parent c57e5a7930
commit d32adf0194

View File

@ -1,13 +1,12 @@
--- a/scripts/package/builddeb --- a/scripts/package/builddeb
+++ b/scripts/package/builddeb +++ b/scripts/package/builddeb
@@ -125,7 +125,11 @@ @@ -125,7 +125,10 @@
CC="${DEB_HOST_GNU_TYPE}-gcc" "${srctree}/scripts/package/install-extmod-build" "${pdir}/usr/src/linux-headers-${version}" 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/lib/modules/$version/
+ mkdir -p "${pdir}/usr/src/linux-headers-${version}/" + mkdir -p "${pdir}/usr/src/linux-headers-${version}/"
+ cp .config "${pdir}/usr/src/linux-headers-${version}/.config" + cp .config "${pdir}/usr/src/linux-headers-${version}/.config"
+ cp .config usr/src/linux-headers-$version/
+ +
+ mkdir -p $pdir/lib/modules/$version/ + mkdir -p $pdir/lib/modules/$version/
ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build