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>
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
maintainer="Lin, Meng-Bo <linmengbo06890@proton.me>"
|
|
pkgname=device-samsung-j3ltetw
|
|
pkgdesc="Samsung Galaxy J3 2016 (SM-J320YZ)"
|
|
pkgver=7
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
postmarketos-base
|
|
mkbootimg
|
|
linux-postmarketos-qcom-msm8916
|
|
soc-qcom-msm8916
|
|
soc-qcom-msm8916-rproc
|
|
"
|
|
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/Video(/Modem) firmware"
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-j3ltetw-wcnss-nv"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
0b6f64d4659c2e7d59e42ea0600e49dd5f0d180a0260248a86dd91dc59d60375581df2525cf9988e99a20a21409199346326621fbdb97d00a9636448dd1fb212 deviceinfo
|
|
37e1e5f8839b624ab3eb850a24ed4daeb61a651257a1fb593f49cb869323e5d1b339c831a18eb26a9d7bd0a618ea9eb2bb9bf3882133af5f2606a878e6d39c67 kernel-cmdline.conf
|
|
27839a3da5c8b17516f64e0f7c38af2f502379553643a23834038cebd8ef47ea8d321fe796f99715102ce92f70a9fe0cb97062624a3589b98696154bfd7a4514 modules-initfs
|
|
"
|