Commit Graph

13 Commits

Author SHA1 Message Date
Howard Chen
f3e1facf7f Fix incorrect prebuilt-info.txt
The 8351194 has a kernel-build-id=8339614 in the prebuilt-info.txt.
This value is incorrect and should be 8350305. Fix this issue by
get the build id from artifact.

Bug: 198363484
Test: development/gsi/build_with_kernel/repack_kernels.sh aarch64
Change-Id: I4c0fd6273df4a794b7dddb5346d182e7fc91adf4
2022-03-25 13:00:16 +08:00
SzuWei Lin
887386c263 Output system_dlkm_staging_archive.tar.gz to dist folder
Bug: 223726390
Test: TH
Change-Id: Iba067ad36ce2ce1f05035d39fb6eb2730880a436
2022-03-14 10:24:04 +08:00
SzuWei Lin
20a24006ec Output system_dlkm.img to dist folder
Bug: 223726390
Test: TH
Change-Id: I7a03162dfb7770381c8465a279379b3fa5dfed84
2022-03-10 17:34:14 +08:00
Howard Chen
2b79b9da13 Add script to update the 5.15 kernel build chaining
This is for the aos-master-boot branch to support
android13-5.15 development.

Bug: 198363484
Bug: 216409649
Test: \
  ./development/gsi/build_with_kernel/fetch_kernels.sh \
  ./development/gsi/build_with_kernel/repack_kernels.sh \
  ./development/gsi/build_with_kernel/update_kernel_prebuilts_515_arm64.sh

Change-Id: Ieadd5a0f8cc6a3e4b654973b2b8844dee2ec0763
2022-02-22 17:43:33 +08:00
Howard Chen
56bfe956a4 Pack all boot images in a zip for certification
The certification script accepts one single zip file as its input.

Bug: 198363484
Test: \
  make bootimage dist && \
  ./development/gsi/build_with_kernel/pack_boot_for_signing.sh
Change-Id: Ia0289979400ea23196449c34865540309bf1e19b
2022-01-05 10:02:22 +08:00
Howard Chen
8187c23b38 Update kernel prebuilts with local artifacts
Bug: 198363484
Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh && \
  development/gsi/build_with_kernel/repack_kernels.sh && \
  development/gsi/build_with_kernel/update_kernel_prebuilts_510_arm64.sh

Change-Id: I88e167be7aff70ff52abee875997d8e9a5c51e79
2021-12-16 08:34:14 +00:00
Howard Chen
4cd02dc116 Avoid to use make directly
Buildbot does not allow script to call make directly.

Test: ./development/gsi/build_with_kernel/repack_kernels.sh
Bug: 198363484
Change-Id: Ia24cae56af27c6c73327002ebbed2c067c490851
2021-11-12 06:36:17 +00:00
Howard Chen
ca961096fc Deprecate prebuilts/misc/linux-x86/lz4/lz4
Replace prebuilts/misc/linux-x86/lz4/lz4 with external/lz4.

Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh \
  development/gsi/build_with_kernel/repack_kernels.sh
Bug: 205492988

Change-Id: Ic22e6ea7cc68b45761b963ea3c41fd099ea29bc9
2021-11-08 04:03:38 +00:00
Howard Chen
35b6f96567 Change android12-5.10 to android13-5.10
The aosp/master is using android13-5.10 for T.
The fetch_kernel.sh is for testing.

Bug: 198363484
Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh && \
  development/gsi/build_with_kernel/repack_kernels.sh && \
  development/gsi/build_with_kernel/kernel_info_to_dist.sh

Change-Id: Iad16792312ba3dad8b3352534ecc3e184afc71cb
2021-11-01 09:07:13 +00:00
SzuWei Lin
29cceb796f Add building with kernel helper scripts
This scripts are for building GSI targets with prebuilt kernel
binaries. The kernel binaries are from a kernel build on AndroidCI,
or the build chaining on build server.

download_kernels_prebults.sh
  For local testing the build chaining with kernel prebuilt binaries.
  Downloads the kernel prebuilts binaries from AndroidCI with the
  build ID in the file `bid`.

kernel_info_to_dist.sh
  A postprocessing script to download the kernel prebuilt binaries
  and debugging information from AndroidCI, and output to dist folder.

repack_kernel(_x86_64).sh
  The preprocessing helper scripts for build chaining with kernel
  prebuilt binaries.

Bug: 196916063
Test: na
Change-Id: I081585d20f8d4a4e3cf135a1447775a8562d6fae
2021-09-23 13:17:40 +08:00
SzuWei Lin
70743f3355 Revert "Define some symlinks for workaround solutions"
This reverts commit 18f2cb7506.

Reason for revert: Workaround reason is gone.

Change-Id: I3c8217c6d6063dfd5ff39ba6e263e10bd4c21e40
2021-03-19 07:03:49 +00:00
SzuWei Lin
18f2cb7506 Define some symlinks for workaround solutions
Bug: 181614552
Test: n/a
Change-Id: I6a63df5807ff8f4301f4091d63d9d221c7c81d3b
2021-03-16 17:24:25 +08:00
SzuWei Lin
061d91766a Add empty.mk
Bug: 181614552
Test: n/a
Change-Id: Ib624af5b230d4627476e38e62ba8389e19d357da
2021-03-15 16:57:08 +08:00