Skip to content

Commit

Permalink
Try with header_version 0
Browse files Browse the repository at this point in the history
  • Loading branch information
rodriguezst authored Nov 10, 2024
1 parent 37b6d66 commit 99cf275
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/patch-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ jobs:
python3 ./unpack_bootimg.py --boot_img ./boot.img --format=mkbootimg | tee mkbootimg_args
./DualBootKernelPatcher out/kernel SM8150_EFI_${{ matrix.uefi-type }}.fd out/PatchedKernel Config/DualBoot.Sm8150.cfg ShellCode.Nabu.bin
sed -i 's/out\/kernel/out\/PatchedKernel/g' mkbootimg_args
python3 ./mkbootimg.py -o boot_${{ matrix.name }}_${{ matrix.uefi-type }}.img $(cat mkbootimg_args) --pagesize 4096 --base 0x0 --second_offset 0xf00000
sed -i 's/header_version 3/header_version 0/g' mkbootimg_args
python3 ./mkbootimg.py -o boot_${{ matrix.name }}_${{ matrix.uefi-type }}.img $(cat mkbootimg_args) --pagesize 4096 --base 0x0
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}_${{ matrix.uefi-type }}
Expand Down

0 comments on commit 99cf275

Please sign in to comment.