samsung-j5: solve potential filename conflict (MR 4438)

ERROR: the source file 'WCNSS_qcom_wlan_nv.bin' has different checksums in the following files:
- device/testing/firmware-samsung-j5/APKBUILD: 742ee81d034116cf1ecdfae5f75495e6b10ce5be0c2a999b6c8a2c161b1da8b48d6810d5405edb8c829b96fdf75e45a565c74963c76d1bca4aaedf28572fa91f
...

Fix this by setting a different target filename in the package you modified:
https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#source

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Raymond Hackley 2023-10-01 03:19:57 +00:00 committed by Pablo Correa Gómez
parent d56b851aea
commit c9163b1581
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-j5
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy J5 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -8,7 +8,7 @@ subpackages="$pkgname-wcnss-nv:wcnss_nv"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
source="https://github.com/nergzd723/j53g_firmware/raw/master/WCNSS_qcom_wlan_nv.bin"
source="$pkgname-WCNSS_qcom_wlan_nv.bin::https://github.com/nergzd723/j53g_firmware/raw/master/WCNSS_qcom_wlan_nv.bin"
_fwdir="/lib/firmware/postmarketos"
@ -19,9 +19,10 @@ package() {
wcnss_nv() {
pkgdesc="$_name WiFi/BT firmware configuration"
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
install -Dm644 "$srcdir"/$pkgname-WCNSS_qcom_wlan_nv.bin \
"$subpkgdir/$_fwdir"/wlan/prima/WCNSS_qcom_wlan_nv.bin
}
sha512sums="
742ee81d034116cf1ecdfae5f75495e6b10ce5be0c2a999b6c8a2c161b1da8b48d6810d5405edb8c829b96fdf75e45a565c74963c76d1bca4aaedf28572fa91f WCNSS_qcom_wlan_nv.bin
742ee81d034116cf1ecdfae5f75495e6b10ce5be0c2a999b6c8a2c161b1da8b48d6810d5405edb8c829b96fdf75e45a565c74963c76d1bca4aaedf28572fa91f firmware-samsung-j5-WCNSS_qcom_wlan_nv.bin
"