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>
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer="hexaheximal <hexaheximal@proton.me>"
|
|
pkgname=device-odroid-n2plus
|
|
pkgdesc="ODROID N2+"
|
|
pkgver=3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base u-boot-amlogic-odroid-n2plus soc-amlogic-aarch64 linux-postmarketos-amlogic"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo kernel-cmdline.conf modules-initfs"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="ODROID N2+ firmware"
|
|
depends="linux-firmware-meson"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
349f8ca9722d0dd61b92ec9fafcdfe0c73166f848298c8d79d9b5109261a99648561b6b36ad04eb91523d66021d1b2d62ca45f9cdcc2108e42ced833fc4f17b9 deviceinfo
|
|
97e88eaa9b8e7989a20d2572479fe5d1fe0284de862da11c91b1f347099d5704673837db01a6b0c289fee0a2d7236f64fba31fd6001475f957c23203e34fd6fb kernel-cmdline.conf
|
|
b9f3e1902c17909de928c99868265a257ba5873f6ea6aa1097ad10721f59d68342d50ee51992472ecd23722f7664a13dd15f4e26071a40595c7c3e5161e533d7 modules-initfs
|
|
"
|