pmaports/device/testing/device-samsung-zerofltexx/APKBUILD
Henrik Grimler 90d2e0b068
device-samsung-zerofltexx: depend on postmarketos-initramfs-minimal (MR 5365)
Based on device PIT the boot partition is 28 MB, while built boot.img
is 31 MB.  Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal.  Problems were likely introduced by
postmarketOS/pmaports!5000.
2024-07-23 16:18:15 -07:00

43 lines
915 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-zerofltexx
pkgdesc="Samsung Galaxy S6"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-samsung-zerofltexx
mkbootimg
msm-fb-refresher
postmarketos-initramfs-minimal
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
install="$pkgname.post-install"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Non-free firmware for the Samsung Galaxy S6"
depends="firmware-samsung-zero"
mkdir "$subpkgdir"
}
sha512sums="
03ef283af0ad3c5be2ade36c4a6b52129c3bf5d7ac2e26e130d75e003b5ab7f36bb4821fc52f917c0f557a75e537d32ad026e91ff191b9410887c33f43e10ddf deviceinfo
"