Revert "Revert "Revert "FROMLIST: kheaders: Follow symlinks to source files."""

This reverts commit 81ce9a4343.

Reason for revert: Increased image size by too much. Plus, it does not strip out comments properly.

Bug: 276339429
Change-Id: I083a4aa9d39bca5b6448e4b87df8616c198cf018
Signed-off-by: Yifan Hong <elsk@google.com>
This commit is contained in:
Yifan Hong
2023-06-08 20:35:11 +00:00
parent 81ce9a4343
commit b0acbba3f4
+1 -1
View File
@@ -87,7 +87,7 @@ find $cpio_dir -type f -print0 |
# pre-sorted, as --sort=name might not be available.
find $cpio_dir -printf "./%P\n" | LC_ALL=C sort | \
tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
--owner=0 --group=0 --numeric-owner --no-recursion --dereference \
--owner=0 --group=0 --numeric-owner --no-recursion \
-I $XZ -cf $tarfile -C $cpio_dir/ -T - > /dev/null
echo $headers_md5 > kernel/kheaders.md5