firmware: use build() instead of unpack() (MR 4493)

Some firmware packages has only a WCNSS config file, which is decoded
from base64 uploaded to Pastebin, and there is nothing to unpack.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Raymond Hackley 2023-10-18 09:10:22 +00:00 committed by Pablo Correa Gómez
parent ef663840c4
commit 6157a01f0f
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
20 changed files with 40 additions and 60 deletions

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-a3
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy A3 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/X3t8q7u
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-a5
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy A5 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/br6nKv4
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-e7
pkgver=1
pkgrel=1
pkgrel=2
_name="Samsung Galaxy E7"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/qF2Y0k5
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-grandmax
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Grand Max"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/7Kp9JMg
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-gt510
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Tab A 9.7 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/vi1vz9E
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-gt58
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Tab A 8.0 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/L95C6H6
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-xiaomi-wt88047
pkgver=9.2.5.0
pkgrel=1
pkgrel=2
pkgdesc="Firmware for Xiaomi Redmi 2"
url="https://androidfilehost.com/?w=files&flid=303434"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
@ -11,8 +11,7 @@ source="wt88047-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/bntm8Z7m
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d wt88047-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-ark-peach
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for ARK Benefit A3"
url="https://postmarketos.org"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
@ -11,8 +11,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/F2zDaaq
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-huawei-g7
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for Huawei Ascend G7"
url="https://postmarketos.org"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
@ -11,8 +11,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/UmTSZBW
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-huawei-y635
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for Huawei Y635"
url="https://postmarketos.org"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
@ -11,8 +11,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/yYNgH3P
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-a7
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy A7 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/qqXtjvd
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-cprime
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Core Prime"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/2vBcF82
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-fortuna3g
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Grand Prime 3G (G530H)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/Y8DvfvR
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-fortunaltezt
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Grand Prime (SM-G530Y)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/s25mBae
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-gprimeltecan
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Grand Prime CAN (G530W)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/BxjvzZh
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-gprimeltexx
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Grand Prime (G530FZ)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/6rPpqqE
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-gtelwifiue
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy Tab E 9.7 (SM-T560NU)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/KMyWjAH
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-j3ltetw
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy J3 (2016)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/fRk3jmJ
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-j5x
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy J5 (2016)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/pL9nwXm
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-samsung-on7
pkgver=1
pkgrel=0
pkgrel=1
_name="Samsung Galaxy On7 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
@ -12,8 +12,7 @@ source="$pkgname-WCNSS_qcom_wlan_nv.bin.base64::https://pastebin.com/raw/4c9b2b9
_fwdir="/lib/firmware/postmarketos"
unpack() {
default_unpack
build() {
base64 -d $pkgname-WCNSS_qcom_wlan_nv.bin.base64 > WCNSS_qcom_wlan_nv.bin
}