File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,9 @@ jobs:
354
354
if [ -f ./kernel_platform/build_with_bazel.py ]; then
355
355
./kernel_platform/oplus/bazel/oplus_modules_variant.sh ${{ inputs.soc }} "$BUILD_TYPE" ""
356
356
./kernel_platform/build_with_bazel.py -t ${{ inputs.soc }} $BUILD_TYPE "${BAZEL_ARGS[@]}" -o "$(pwd)/out"
357
+ if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ]; then
358
+ ./kernel_platform/oplus/build/oplus_rebuild_img.sh ${{ inputs.soc }} "$BUILD_TYPE"
359
+ fi
357
360
else
358
361
LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} "$BUILD_TYPE"
359
362
fi
@@ -365,13 +368,20 @@ jobs:
365
368
366
369
echo "Copying Image"
367
370
cp ./out/dist/Image ../AnyKernel3/Image
368
- cp ./out/dist/dtbo.img ../AnyKernel3/dtbo.img
371
+ if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ]; then
372
+ cp ./out/dist/dtbo.img ../AnyKernel3/dtbo.img
373
+ zip -r -FF "../out.zip" ./out/*
374
+ fi
369
375
370
376
- name : Create ZIP Files for Different Formats
371
377
run : |
372
378
echo "Navigating to AnyKernel3 directory..."
373
379
cd ./AnyKernel3
374
380
381
+ if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ]; then
382
+ sed -i '/flash_boot/a flash_dtbo' ./anykernel.sh
383
+ fi
384
+
375
385
# Zip the files in the AnyKernel3 directory with a new naming convention
376
386
ZIP_NAME="${{ inputs.model }}_${{ inputs.android_version }}_${{ inputs.kernel_version }}_Next_SUSFS_AnyKernel3.zip"
377
387
echo "Creating zip file $ZIP_NAME..."
You can’t perform that action at this time.
0 commit comments