Revert one chunk from 37432a83fa commit

No '-I' option is supported by tar tool from aosp R-branch of
prebuilts/tools project due to this full android build failing with
below error. fix this by reverting -I usage.

  tar: Unknown option 'I' (see "tar --help")
  [.../kernel/msm-5.4/kernel/Makefile:140: kernel/kheaders_data.tar.xz] Error 1.

Change-Id: Ia078d52d61282ad78518a685eef94f7f2d4d5759
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
This commit is contained in:
Blagovest Kolenichev 2020-10-12 16:56:44 -07:00 committed by Srinivasarao P
parent 9c22726124
commit 5a49091487

View File

@ -88,7 +88,7 @@ find $cpio_dir -type f -print0 |
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 \
-I $XZ -cf $tarfile -C $cpio_dir/ -T - > /dev/null
-Jcf $tarfile -C $cpio_dir/ -T - > /dev/null
echo $headers_md5 > kernel/kheaders.md5
echo "$this_file_md5" >> kernel/kheaders.md5