This migrates all device package to the new system, which is documented here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html. It also replaces old initramfs params (PMOS_NOSPLASH and PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern equivalents, so we can finally get rid of those. Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org> [ci:skip-build]: already built successfully in CI Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer="Luca Weiss <luca@lucaweiss.eu>"
|
|
pkgname=device-fairphone-fp3
|
|
pkgdesc="Fairphone 3"
|
|
pkgver=7
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
firmware-fairphone-fp3-adreno
|
|
firmware-fairphone-fp3-adsp
|
|
firmware-fairphone-fp3-audio
|
|
firmware-fairphone-fp3-modem
|
|
firmware-fairphone-fp3-venus
|
|
firmware-fairphone-fp3-wcnss
|
|
firmware-qcom-adreno-a530
|
|
linux-postmarketos-qcom-msm8953
|
|
lk2nd-msm8953
|
|
mkbootimg
|
|
msm-modem-uim-selection
|
|
postmarketos-base
|
|
qbootctl
|
|
rmtfs
|
|
soc-qcom-msm8953
|
|
unl0kr-fbforcerefresh
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-openrc"
|
|
source="deviceinfo kernel-cmdline.conf modules-initfs"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
openrc() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
depends="
|
|
openrc
|
|
qbootctl-openrc
|
|
"
|
|
|
|
mkdir -p "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a12a181a5180f945da73f5600f00d350c2313a3b610f5f8190ae63c3d95435e3212ce88ed3496bba3b2ebe525afc21b852f8e22c01daed9161d2d2bc8ed502cc deviceinfo
|
|
003e5228a2b2825f24cb8b4842e3c3f72b99225f0aef3cda5bb2de4e4beb5e1c84800ba48c6cf1b84fe042bd039912e67c545c00981b604db0c0f0bcb546f7c5 kernel-cmdline.conf
|
|
c56e5b11dc5ecaba8bb5ff0e06a1f2746942eebb0336257e44e673e849f440a6800e5b30e297e5827fb540778e4400daa31b76f521b3e804279c0c2b3329267f modules-initfs
|
|
"
|