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 [ci:ignore-count] [ci:skip-build]: bug in CI prevents build testing armv7 and aarch64, so Clayton did the test locally for those archs
44 lines
1.0 KiB
Bash
44 lines
1.0 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-acer-t01
|
|
pkgdesc="Acer Liquid Z330"
|
|
pkgver=3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-qcom-msm8916
|
|
mkbootimg
|
|
postmarketos-base
|
|
soc-qcom-msm8909
|
|
soc-qcom-msm8916-rproc
|
|
"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo modules-initfs"
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
depends="
|
|
firmware-qcom-adreno-a300
|
|
msm-firmware-loader
|
|
firmware-acer-t01-wcnss-nv
|
|
"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ac76d059a6725c3d8a15b4d66f3c88e1f719d8f99c92b4b5d22292b5c6df3203749d5bdef1d3dba5f8daca7cf33e7e869093c86cb83593c7994821aa791abba8 deviceinfo
|
|
a0e3f4ca9dd9bb171b021ee07a2aaf3886b3d6376bb38298128b0bf0325a2305e48ba42a37105b13f7f469fb98d8326c8ce95b6259f8974a4f04b09acb3af7f2 modules-initfs
|
|
"
|