Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit 09c761d

Browse files
committed
Run xz in background
1 parent 5876e98 commit 09c761d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ buildVariant() {
2828
make BUILD_NUMBER=$rom_fp installclean
2929
make BUILD_NUMBER=$rom_fp -j8 systemimage
3030
make BUILD_NUMBER=$rom_fp vndk-test-sepolicy
31-
xz -c $OUT/system.img > release/$rom_fp/system-${2}.img.xz
31+
xz -c $OUT/system.img > release/$rom_fp/system-${2}.img.xz &
3232
}
3333

3434
repo manifest -r > release/$rom_fp/manifest.xml
@@ -43,3 +43,6 @@ buildVariant treble_arm64_bgS-userdebug arm64-ab-gapps-su
4343

4444
buildVariant treble_arm_avN-userdebug arm-aonly-vanilla-nosu
4545
buildVariant treble_arm_aoS-userdebug arm-aonly-go-su
46+
47+
#Wait for background "xz"
48+
while wait;do true;done

0 commit comments

Comments
 (0)