pmaports/device/testing/device-samsung-p4note/APKBUILD
Newbyte 759ae7dbee
samsung-p4note: fix kernel partition name (MR 3397)
Without this, pmbootstrap flasher flash_kernel fails as it tries to
flash the kernel to a partition called KERNEL, which does not
exist.
2022-09-05 11:25:16 +02:00

39 lines
836 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-p4note
pkgdesc="Samsung Galaxy Note 10.1"
pkgver=1.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-exynos4
mesa-dri-gallium
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi and Bluetooth firmware"
depends="
firmware-samsung-midas-bluetooth
firmware-samsung-midas-wifi
"
mkdir "$subpkgdir"
}
sha512sums="
5121841a8ee25cb9101f0067d511a50c6af796b1d84ca45de5ed4dfd1f1c8072ba5e27f871b6278a7faf1a45d39f54b1c9bb6a06ef54e368b79fdd6fa44d015a deviceinfo
"