From 8eb025b946489f3bc91cf763774ea70be8e20c6f Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Tue, 29 Jul 2025 05:18:35 +0200 Subject: [PATCH] firmware-google-sunfish: new aport Signed-off-by: Jens Reidel Part-of: --- ...30-initramfs-firmware-google-sunfish.files | 1 + .../firmware-google-sunfish/APKBUILD | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 device/community/firmware-google-sunfish/30-initramfs-firmware-google-sunfish.files create mode 100644 device/community/firmware-google-sunfish/APKBUILD diff --git a/device/community/firmware-google-sunfish/30-initramfs-firmware-google-sunfish.files b/device/community/firmware-google-sunfish/30-initramfs-firmware-google-sunfish.files new file mode 100644 index 000000000..316382cab --- /dev/null +++ b/device/community/firmware-google-sunfish/30-initramfs-firmware-google-sunfish.files @@ -0,0 +1 @@ +/lib/firmware/qcom/sm7150/google/sunfish/a615_zap.mbn diff --git a/device/community/firmware-google-sunfish/APKBUILD b/device/community/firmware-google-sunfish/APKBUILD new file mode 100644 index 000000000..3dc1b7022 --- /dev/null +++ b/device/community/firmware-google-sunfish/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jens Reidel + +pkgname=firmware-google-sunfish +pkgver=1 +pkgrel=0 +pkgdesc="Firmware for Google Pixel 4a" +url="https://github.com/sm7150-mainline/firmware-google-sunfish" +arch="aarch64" +license="proprietary" +options="!check !strip !archcheck !tracedeps pmb:cross-native textrels" +_commit="fe63598e1bd9884bd68ba89e4670dae4d70b1e3e" +source=" + $pkgname-$_commit.tar.gz::$url/archive/$_commit/$pkgname-$_commit.tar.gz + 30-initramfs-$pkgname.files +" +builddir="$srcdir/$pkgname-$_commit" + +package() { + find . -type f -exec install -Dm644 {} "$pkgdir"/{} \; + + install -Dm644 "$srcdir/30-initramfs-$pkgname.files" -t \ + "$pkgdir"/usr/share/mkinitfs/files +} + +sha512sums=" +c94511f6e6d6aa6ebf3238e27b7092498f3d58be9893d05e874ce9551cffb1a3e38b994a822c4364c97da0f03925d4d554045234b1f78b59af63207a396ee713 firmware-google-sunfish-fe63598e1bd9884bd68ba89e4670dae4d70b1e3e.tar.gz +d07e3a34791608d432cb119507299dabedc5772ad34763c5494daf68f28892b3556ca6ca34994b5f32cc097cd6d1795db3b952db11e0522f6ef33a663761f289 30-initramfs-firmware-google-sunfish.files +"