summaryrefslogtreecommitdiff
path: root/build-prebuilts.sh
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-05-05 14:35:07 +0800
committerYi-Yo Chiang <yochiang@google.com>2021-05-05 14:35:07 +0800
commiteba2b99a0931b63b1c128e2f7482076d7de761be (patch)
tree8672bb4087d55d5d77ab5a651252bfefa39bcd9e /build-prebuilts.sh
parentce0387f2740a43f2b154d55bf202eb31fa249b2b (diff)
downloadbuild-tools-eba2b99a0931b63b1c128e2f7482076d7de761be.tar.gz
Add mkbootfs to kernel build-tools
So that we can pack/repack mkbootfs data in the kernel tree with `mkbootfs` instead of `cpio`. Using `mkbootfs` in the kernel tree has many benefits, one is `mkbootfs` produces stable output by re-ordering inode numbers and sorts the archive entries, the other is that this makes the kernel tree behaves more like the platform tree, so that's one less "platform and kernel tree differences" to worry about (less mental burden). Bug: 184490452 Test: Presubmit Test: ./prebuilts/kernel-build-tools/build-prebuilts.sh Change-Id: I87edb989d5a8666e626e75e690b6a6566dd5c8a5
Diffstat (limited to 'build-prebuilts.sh')
-rwxr-xr-xbuild-prebuilts.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-prebuilts.sh b/build-prebuilts.sh
index 233d915..b8f909b 100755
--- a/build-prebuilts.sh
+++ b/build-prebuilts.sh
@@ -36,6 +36,7 @@ EOF
img2simg
lpmake
lz4
+ mkbootfs
mkdtboimg.py
mke2fs
mkuserimg_mke2fs