From c9163b1581841d38693193041dcf620cfd23e346 Mon Sep 17 00:00:00 2001 From: Raymond Hackley Date: Sun, 1 Oct 2023 03:19:57 +0000 Subject: [PATCH] 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 --- device/testing/firmware-samsung-j5/APKBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/device/testing/firmware-samsung-j5/APKBUILD b/device/testing/firmware-samsung-j5/APKBUILD index 52fa79c1e..5d631fb3a 100644 --- a/device/testing/firmware-samsung-j5/APKBUILD +++ b/device/testing/firmware-samsung-j5/APKBUILD @@ -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 "