8cae59f47c
This device has a small boot partition (8 MB). The big initramfs won't fit.
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
# Archived: Downstream port, only for testing. Use mainline port (samsung-m0/samsung-m3)!
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-m0-downstream
|
|
pkgdesc="Samsung Galaxy S III"
|
|
pkgver=3
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-samsung-m0-downstream
|
|
mkbootimg
|
|
postmarketos-base
|
|
postmarketos-initramfs-minimal
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
install="$pkgname.post-install"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
90-android-touch-dev.rules
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="WiFi firmware"
|
|
depends="firmware-samsung-m0-downstream"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e89b2287780aa94e93ee8cba472ec78b14a0de0089c3ee8c278175ace459d84a58a9278f473d917dd569b114874fb76931b404f810220d328c7e3f6148dac485 deviceinfo
|
|
1376f0eb7c6ba459ca5c44b3eb7e9919d9c5f48d71ec30c006d1b4843e31cdade9f980415a166e977b2567b26f4e87d4554ee1143fdc62453d60a93bed129d06 90-android-touch-dev.rules
|
|
"
|