Skip to content

Commit fa61bb2

Browse files
committed
builddeb: fixup headers installation
reduce kernel headers compiling time
1 parent 11b754f commit fa61bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/builddeb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ create_package() {
4444

4545
# Create postinstall script for headers
4646
if [[ "$1" == *headers* ]]; then
47-
echo "cd /usr/src/linux-headers-$version; echo \"Compiling headers - please wait ...\"; make -s scripts >/dev/null 2>&1" >> $pdir/DEBIAN/postinst
47+
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
4848
echo "exit 0" >> $pdir/DEBIAN/postinst
4949
chmod 775 $pdir/DEBIAN/postinst
5050
fi

0 commit comments

Comments
 (0)