pmaports/device/testing/device-samsung-herolte/APKBUILD
Henrik Grimler b84e97849a
device-samsung-herolte: depend on postmarketos-initramfs-minimal (MR 5365)
Based on device PIT the boot partition is 40 MB, while built boot.img
is 41 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

38 lines
986 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-herolte
pkgdesc="Samsung Galaxy S7"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
postmarketos-base
linux-samsung-herolte
mkbootimg
msm-fb-refresher
postmarketos-initramfs-minimal
"
makedepends="devicepkg-dev"
source="deviceinfo initfs-hook.sh"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Non-free firmware for the Samsung Galaxy S7"
depends="firmware-samsung-hero"
mkdir "$subpkgdir"
}
sha512sums="
58fc394aa3e316ecc1e58bf7deb4e931a63ba5ad7ab631c43b732e3be11e0cba4b69e8aefdfbe2d4973d2827eecffb30d0dae54ca6d5929d6300a510fdefb106 deviceinfo
5a7be3cb8835ffb3783fcd4539de04f7f006c726ac9aea35cdca9e90b2877dc36cf4e314851bf9078f4b2dac061b7265866792d92a79f5232c56a0e17f7910b1 initfs-hook.sh
"