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>
31 lines
820 B
Bash
31 lines
820 B
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer="Alexey Minnekhanov <alexeymin@postmarketos.org>"
|
|
pkgname=device-xiaomi-cepheus
|
|
pkgdesc="Xiaomi Mi 9"
|
|
pkgver=4
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-qcom-sm8150
|
|
mkbootimg
|
|
postmarketos-base
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo kernel-cmdline.conf"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
90ec02cf560903d6cab0f03b95f3c29c5806929b46d1689cdad9cad10647b9b0e5c3fe5215c493758ed4563e740ac01a8bff5f248e991c28ee2594be52e8faf5 deviceinfo
|
|
42d3a47ebc8109fc3bf1ac03ddae6254ca9bc7b0a64f58cfe652b30a40bdceddf09fd65a46fddeda0138d8b52dbccc2425da06f7705373f4a4ab0babaa35b150 kernel-cmdline.conf
|
|
"
|