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>
42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer="Raymond Hackley <raymondhackley@protonmail.com>"
|
|
pkgname=device-samsung-j5x
|
|
pkgdesc="Samsung Galaxy J5 (2016)"
|
|
pkgver=8
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-qcom-msm8916
|
|
mkbootimg
|
|
postmarketos-base
|
|
soc-qcom-msm8916
|
|
soc-qcom-msm8916-rproc
|
|
soc-samsung-msm8916-modem-workaround
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo kernel-cmdline.conf modules-initfs"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-j5x-wcnss-nv"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c9da043b329bcf30184039381bd165be2a7ec3d83302756ff16b4992e7969ff13f52233ee6916724bc811cf8f7cf8b8eb02fb811d08dbe70e4240e13192dd15a deviceinfo
|
|
37e1e5f8839b624ab3eb850a24ed4daeb61a651257a1fb593f49cb869323e5d1b339c831a18eb26a9d7bd0a618ea9eb2bb9bf3882133af5f2606a878e6d39c67 kernel-cmdline.conf
|
|
72ccbf2f59a72d5299339f9db3cdf4e84d4b20c756b549c11d2e94b0bd4b433d993d64c2908e2536ff369363813586691af28c2a5c0e1aecf7a848e8b455cb8d modules-initfs
|
|
"
|