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>
55 lines
1.4 KiB
Bash
55 lines
1.4 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer=""
|
|
pkgname=device-sony-yuga
|
|
pkgver=7
|
|
pkgrel=0
|
|
pkgdesc="Sony Xperia Z"
|
|
url="https://postmarketos.org"
|
|
arch="armv7"
|
|
license="MIT"
|
|
depends="
|
|
firmware-sony-fusion3
|
|
mkbootimg
|
|
postmarketos-base
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-kernel-next:kernel_next
|
|
$pkgname-kernel-stable:kernel_stable
|
|
$pkgname-kernel-lts:kernel_lts
|
|
"
|
|
source="deviceinfo kernel-cmdline.conf"
|
|
options="!check !archcheck"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_next() {
|
|
pkgdesc="Unstable next kernel (linux-next)"
|
|
depends="linux-next"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_stable() {
|
|
pkgdesc="Stable kernel from Alpine Linux (linux-stable)"
|
|
depends="linux-stable"
|
|
provides="$pkgname-kernel-edge=$pkgver-r$pkgrel"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_lts() {
|
|
pkgdesc="Long term support (LTS) kernel from Alpine Linux (linux-lts)"
|
|
depends="linux-lts"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
sha512sums="
|
|
490c1b836334c70e9d5da7c8a3af1aa771b594f251b248de46f69152a44a66979684dab3def16679dbf414c2bd2f3a536fca6285c7a8705ba19eae055d77ced4 deviceinfo
|
|
ed0ef3a8867ceb92e21ce6e8d4666361c588dea02b296d0c97f1dbe699ae521a117dcbba29bc99787f6392cc8544a0899568a15520101751ae55bee595585317 kernel-cmdline.conf
|
|
"
|