pmaports/device/testing/device-samsung-n1awifi/APKBUILD
Henrik Grimler 74761bc637
device-samsung-n1awifi: depend on postmarketos-initramfs-minimal (MR 5365)
The boot partition on the device is 8.0 MB, while built boot.img
is 8.7 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:16 -07:00

38 lines
901 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-n1awifi
pkgdesc="Samsung Galaxy Note 10.1 (2014 edition)"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-samsung-n1awifi
mkbootimg
postmarketos-base
postmarketos-base-downstream
msm-fb-refresher
postmarketos-initramfs-minimal
"
makedepends="devicepkg-dev"
source="deviceinfo"
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 Note 10.1 (2014 edition)"
depends="firmware-samsung-n1awifi"
mkdir "$subpkgdir"
}
sha512sums="
3a825af22108791365dfd614fd429277b2a6f71e599b91b2f17efec1b1f7bbea515cfd3efab377b17294f4a9f35ef030d89f8dc30ef66a3c2dbefca11f653404 deviceinfo
"