diff --git a/patch/kernel/cubox-default/packaging-4.x-default-with-postinstall-scripts.patch b/patch/kernel/cubox-default/packaging-4.x-default-with-postinstall-scripts.patch index 5f6cabc29..4b4f07fb7 100644 --- a/patch/kernel/cubox-default/packaging-4.x-default-with-postinstall-scripts.patch +++ b/patch/kernel/cubox-default/packaging-4.x-default-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 6c3b038..cc9b3c0 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/cubox-dev/general-packaging-4.20-dev.patch b/patch/kernel/cubox-dev/general-packaging-4.20-dev.patch index 12222b81e..c6776dd54 100644 --- a/patch/kernel/cubox-dev/general-packaging-4.20-dev.patch +++ b/patch/kernel/cubox-dev/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/cubox-next/general-packaging-4.20-next.patch b/patch/kernel/cubox-next/general-packaging-4.20-next.patch index 0cd36cc73..ce92ae233 100644 --- a/patch/kernel/cubox-next/general-packaging-4.20-next.patch +++ b/patch/kernel/cubox-next/general-packaging-4.20-next.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/meson-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/meson-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index f847ba086..4bd0c44e8 100644 --- a/patch/kernel/meson-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/meson-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -45,7 +45,7 @@ index 3001ec5..dc76d3c + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/meson64-default/packaging-4.x-next.patch b/patch/kernel/meson64-default/packaging-4.x-next.patch index 5b8b89430..6b2d4e462 100644 --- a/patch/kernel/meson64-default/packaging-4.x-next.patch +++ b/patch/kernel/meson64-default/packaging-4.x-next.patch @@ -22,7 +22,7 @@ index 0bc87473..cf26d2c7 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/meson64-next/general-packaging-4.17-next.patch b/patch/kernel/meson64-next/general-packaging-4.17-next.patch index af7f076c1..586d4f837 100644 --- a/patch/kernel/meson64-next/general-packaging-4.17-next.patch +++ b/patch/kernel/meson64-next/general-packaging-4.17-next.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi @@ -218,4 +218,4 @@ index f839ecd9..cd276162 100644 +KBUILD_IMAGE := $(boot)/Image KBUILD_DTBS := dtbs - all: Image.gz $(KBUILD_DTBS) \ No newline at end of file + all: Image.gz $(KBUILD_DTBS) diff --git a/patch/kernel/mt7623-default/general-packaging-4.18-default.patch b/patch/kernel/mt7623-default/general-packaging-4.18-default.patch index 0e5639e4c..207179845 100644 --- a/patch/kernel/mt7623-default/general-packaging-4.18-default.patch +++ b/patch/kernel/mt7623-default/general-packaging-4.18-default.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/mvebu-default/packaging-4.x-with-postinstall-scripts.patch b/patch/kernel/mvebu-default/packaging-4.x-with-postinstall-scripts.patch index 0a088b4ca..23f6fd763 100644 --- a/patch/kernel/mvebu-default/packaging-4.x-with-postinstall-scripts.patch +++ b/patch/kernel/mvebu-default/packaging-4.x-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 0bc87473..18a66ab5 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/mvebu-dev/general-packaging-4.20-dev.patch b/patch/kernel/mvebu-dev/general-packaging-4.20-dev.patch index 12222b81e..c6776dd54 100644 --- a/patch/kernel/mvebu-dev/general-packaging-4.20-dev.patch +++ b/patch/kernel/mvebu-dev/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/mvebu-next/general-packaging-4.17-next.patch b/patch/kernel/mvebu-next/general-packaging-4.17-next.patch index ad6ba4f28..586d4f837 100644 --- a/patch/kernel/mvebu-next/general-packaging-4.17-next.patch +++ b/patch/kernel/mvebu-next/general-packaging-4.17-next.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/mvebu64-default/packaging-4.x-next.patch b/patch/kernel/mvebu64-default/packaging-4.x-next.patch index fc8861305..2090e30ca 100644 --- a/patch/kernel/mvebu64-default/packaging-4.x-next.patch +++ b/patch/kernel/mvebu64-default/packaging-4.x-next.patch @@ -22,7 +22,7 @@ index 0bc87473..cf26d2c7 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/mvebu64-dev/general-packaging-4.17-dev.patch b/patch/kernel/mvebu64-dev/general-packaging-4.17-dev.patch index 02f6ad3c5..e5344fb46 100644 --- a/patch/kernel/mvebu64-dev/general-packaging-4.17-dev.patch +++ b/patch/kernel/mvebu64-dev/general-packaging-4.17-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/mvebu64-next/general-packaging-4.19-next.patch b/patch/kernel/mvebu64-next/general-packaging-4.19-next.patch index 7b27d3232..2b0043774 100644 --- a/patch/kernel/mvebu64-next/general-packaging-4.19-next.patch +++ b/patch/kernel/mvebu64-next/general-packaging-4.19-next.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 523fdd97d..0ebfbc53d 100644 --- a/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -45,7 +45,7 @@ index 3001ec5..dc76d3c + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidc1-next/general-packaging-4.20-next.patch b/patch/kernel/odroidc1-next/general-packaging-4.20-next.patch index 0cd36cc73..ce92ae233 100644 --- a/patch/kernel/odroidc1-next/general-packaging-4.20-next.patch +++ b/patch/kernel/odroidc1-next/general-packaging-4.20-next.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidn2-default/packaging-4.x-NEXT-with-postinstall-scripts.patch b/patch/kernel/odroidn2-default/packaging-4.x-NEXT-with-postinstall-scripts.patch index 50d3519cf..cbe352322 100644 --- a/patch/kernel/odroidn2-default/packaging-4.x-NEXT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidn2-default/packaging-4.x-NEXT-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 6c3b038..cc9b3c0 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidn2-dev/general-packaging-4.20-dev.patch b/patch/kernel/odroidn2-dev/general-packaging-4.20-dev.patch index 12222b81e..c6776dd54 100644 --- a/patch/kernel/odroidn2-dev/general-packaging-4.20-dev.patch +++ b/patch/kernel/odroidn2-dev/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidn2-next/general-packaging-4.20-dev.patch b/patch/kernel/odroidn2-next/general-packaging-4.20-dev.patch index 0cd36cc73..ce92ae233 100644 --- a/patch/kernel/odroidn2-next/general-packaging-4.20-dev.patch +++ b/patch/kernel/odroidn2-next/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidxu4-default/packaging-4.x-default-with-postinstall-scripts.patch b/patch/kernel/odroidxu4-default/packaging-4.x-default-with-postinstall-scripts.patch index b1e4cc539..618d8f1fa 100644 --- a/patch/kernel/odroidxu4-default/packaging-4.x-default-with-postinstall-scripts.patch +++ b/patch/kernel/odroidxu4-default/packaging-4.x-default-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 0bc8747..9dab810 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidxu4-dev/general-packaging-4.20-dev.patch b/patch/kernel/odroidxu4-dev/general-packaging-4.20-dev.patch index 12222b81e..c6776dd54 100644 --- a/patch/kernel/odroidxu4-dev/general-packaging-4.20-dev.patch +++ b/patch/kernel/odroidxu4-dev/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch b/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch index d5e4ebabc..97d2f62df 100644 --- a/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 0bc8747..9dab810 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 62408a115..3d869a10d 100644 --- a/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -32,7 +32,7 @@ index 3001ec5a..071b38bd 100644 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/rk3399-default/packaging-4.x-with-postinstall-scripts.patch b/patch/kernel/rk3399-default/packaging-4.x-with-postinstall-scripts.patch index aa2f38a8e..4b37b6dab 100644 --- a/patch/kernel/rk3399-default/packaging-4.x-with-postinstall-scripts.patch +++ b/patch/kernel/rk3399-default/packaging-4.x-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 6c3b038..34c4006 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/rockchip-default/packaging-4.x-with-postinstall-scripts.patch b/patch/kernel/rockchip-default/packaging-4.x-with-postinstall-scripts.patch index 50d3519cf..cbe352322 100644 --- a/patch/kernel/rockchip-default/packaging-4.x-with-postinstall-scripts.patch +++ b/patch/kernel/rockchip-default/packaging-4.x-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 6c3b038..cc9b3c0 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/rockchip-dev/general-packaging-4.20-dev.patch b/patch/kernel/rockchip-dev/general-packaging-4.20-dev.patch index 12222b81e..c6776dd54 100644 --- a/patch/kernel/rockchip-dev/general-packaging-4.20-dev.patch +++ b/patch/kernel/rockchip-dev/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/rockchip-next/general-packaging-4.17-dev.patch b/patch/kernel/rockchip-next/general-packaging-4.17-dev.patch index ad6ba4f28..586d4f837 100644 --- a/patch/kernel/rockchip-next/general-packaging-4.17-dev.patch +++ b/patch/kernel/rockchip-next/general-packaging-4.17-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/rockchip64-default/packaging-4.x-with-postinstall-scripts.patch b/patch/kernel/rockchip64-default/packaging-4.x-with-postinstall-scripts.patch index f58f1db99..79b69d5df 100644 --- a/patch/kernel/rockchip64-default/packaging-4.x-with-postinstall-scripts.patch +++ b/patch/kernel/rockchip64-default/packaging-4.x-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 6c3b038..cc9b3c0 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/rockchip64-dev/general-packaging-4.17-dev.patch b/patch/kernel/rockchip64-dev/general-packaging-4.17-dev.patch index 57467e2ca..de409757c 100644 --- a/patch/kernel/rockchip64-dev/general-packaging-4.17-dev.patch +++ b/patch/kernel/rockchip64-dev/general-packaging-4.17-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index f847ba086..4bd0c44e8 100644 --- a/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -45,7 +45,7 @@ index 3001ec5..dc76d3c + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/s5p6818-next/packaging-4.x-next.patch b/patch/kernel/s5p6818-next/packaging-4.x-next.patch index 6ab70594f..9d2d2f246 100644 --- a/patch/kernel/s5p6818-next/packaging-4.x-next.patch +++ b/patch/kernel/s5p6818-next/packaging-4.x-next.patch @@ -22,7 +22,7 @@ index 0bc87473..cf26d2c7 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch index ce6d7a7d3..6ea41b4bf 100644 --- a/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch @@ -30,7 +30,7 @@ index ed7ccdc..bf30624 100644 + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1 " >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/sun5i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/sun5i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch index ce6d7a7d3..6ea41b4bf 100644 --- a/patch/kernel/sun5i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/sun5i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch @@ -30,7 +30,7 @@ index ed7ccdc..bf30624 100644 + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1 " >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/sun7i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/sun7i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch index ce6d7a7d3..6ea41b4bf 100644 --- a/patch/kernel/sun7i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/sun7i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch @@ -30,7 +30,7 @@ index ed7ccdc..bf30624 100644 + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1 " >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/sun8i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/sun8i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch index efb138d4b..fe4b4de88 100644 --- a/patch/kernel/sun8i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/sun8i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch @@ -30,7 +30,7 @@ index ed7ccdc..bf30624 100644 + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1 " >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/sunxi-dev/general-packaging-4.20-dev.patch b/patch/kernel/sunxi-dev/general-packaging-4.20-dev.patch index 12222b81e..c6776dd54 100644 --- a/patch/kernel/sunxi-dev/general-packaging-4.20-dev.patch +++ b/patch/kernel/sunxi-dev/general-packaging-4.20-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/sunxi-next/general-packaging-4.17-next.patch b/patch/kernel/sunxi-next/general-packaging-4.17-next.patch index ad6ba4f28..586d4f837 100644 --- a/patch/kernel/sunxi-next/general-packaging-4.17-next.patch +++ b/patch/kernel/sunxi-next/general-packaging-4.17-next.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/udoo-dev/general-packaging-4.17-dev.patch b/patch/kernel/udoo-dev/general-packaging-4.17-dev.patch index 57467e2ca..de409757c 100644 --- a/patch/kernel/udoo-dev/general-packaging-4.17-dev.patch +++ b/patch/kernel/udoo-dev/general-packaging-4.17-dev.patch @@ -22,7 +22,7 @@ index 90c9a8a..3c79b90 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi diff --git a/patch/kernel/udoo-next/packaging-4.x-NEXT-with-postinstall-scripts.patch b/patch/kernel/udoo-next/packaging-4.x-NEXT-with-postinstall-scripts.patch index d1794906d..24bcb2fae 100644 --- a/patch/kernel/udoo-next/packaging-4.x-NEXT-with-postinstall-scripts.patch +++ b/patch/kernel/udoo-next/packaging-4.x-NEXT-with-postinstall-scripts.patch @@ -23,7 +23,7 @@ index 6c3b038..cc9b3c0 100755 + + # Create postinstall script for headers + if [[ "$1" == *headers* ]]; then -+ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\";find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst ++ echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\";find -type f -exec touch {} +;make -s scripts >/dev/null 2>&1; make -s M=scripts/mod/ >/dev/null 2>&1" >> $pdir/DEBIAN/postinst + echo "exit 0" >> $pdir/DEBIAN/postinst + chmod 775 $pdir/DEBIAN/postinst + fi