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>
33 lines
965 B
Bash
33 lines
965 B
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-infocus-flatfish
|
|
pkgdesc="InFocus New Tab F1"
|
|
pkgver=3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armhf"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-infocus-flatfish mkbootimg"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
kernel-cmdline.conf
|
|
fb.modes
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
|
|
}
|
|
|
|
sha512sums="
|
|
51a97c20bb6048f7ee939d1ae80985051fee83fc2994092a82c666e655ad3f5f3d62b397259d394978a24b44bf3f58711992ae3eb666dd78b21c42547d8af220 deviceinfo
|
|
dd0ecafc3bdc7bee058f8abf7d65e212a4b938f118eaa623caeffc2afaa4175300aa2ed78ce3908e3ace2d9f0111ebdf0d01611d1ebaa02e033329a0093ec0aa kernel-cmdline.conf
|
|
2961df06a303e28139f67ae8abc99d0ddc48d2aa4c1d67a51e924493a27b46fff7e6072ddfd4273bdfa6b489598cbfda65400c3afdfaf16fce7fc407d19284f0 fb.modes
|
|
"
|