firmware-samsung-j5x: avoid installing directly to subpackage
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9345>
This commit is contained in:
@@ -12,20 +12,18 @@ options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
||||
source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/pL9nwXmg"
|
||||
builddir="$srcdir"
|
||||
|
||||
_fwdir="/lib/firmware/postmarketos"
|
||||
|
||||
build() {
|
||||
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
|
||||
}
|
||||
|
||||
package() {
|
||||
# parent package is empty
|
||||
mkdir -p "$pkgdir"
|
||||
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin \
|
||||
-t "$pkgdir"/usr/lib/firmware/postmarketos/wlan/prima/
|
||||
}
|
||||
|
||||
wcnss_nv() {
|
||||
pkgdesc="$_name WiFi/BT firmware configuration"
|
||||
install -Dm644 "$srcdir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
||||
amove usr
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
||||
Reference in New Issue
Block a user