Skip to content
Snippets Groups Projects

device-<qcom-msm8916>: revert to msdos partition table for now

Merged Minecrell requested to merge Minecrell/pmaports:msm8916-msdos into master
All threads resolved!

pmbootstrap 3.0.0 uses GPT partition table by default, which breaks booting on all the devices using the lk2nd bootloader. The current version of lk2nd supports GPT only for the eMMC, while subpartitions and SD cards must be partitioned with MBR. GPT support was present in the legacy branch of lk2nd, but was dropped at some point because of poor code quality.

Fix the regression for now by reverting back to the old msdos (MBR) partition table. We can revert this again later when lk2nd restores support for GPT.

Generated with:

$ for d in $(grep -R linux-postmarketos-qcom-msm8916 | grep -Eo 'device-[^/]+' | sort -u); do \
  echo -e '\n# lk2nd does not support GPT for subpartitions/SD cards yet\ndeviceinfo_partition_type="msdos"' \
  >> device/*/$d/deviceinfo && pmbootstrap checksum $d && pmbootstrap pkgver_bump $d; done

Merge request reports

Merge request pipeline #210599 passed

Merge request pipeline passed for 319396a6

Merged by MinecrellMinecrell 4 months ago (Nov 19, 2024 9:50pm UTC)

Loading

Pipeline #210619 failed

Pipeline failed for 319396a6 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading