device/testing/firmware-*: move firmware to /lib/firmware/postmarketos

We keep device-specific firmware in this directory and not in
/lib/firmware.
This commit is contained in:
Luca Weiss 2021-02-03 22:31:51 +01:00 committed by Martijn Braam
parent 73a5cace0d
commit a807b01d8f
No known key found for this signature in database
GPG key ID: C4280ACB000B060F
6 changed files with 35 additions and 35 deletions

View file

@ -1,6 +1,6 @@
pkgname=firmware-asus-flo
pkgver=0
pkgrel=2
pkgrel=3
pkgdesc="Firmware for asus-flo"
url="https://developers.google.com/android/drivers#flomob30x"
arch="armv7"
@ -33,7 +33,7 @@ package() {
_files="bcm2079x-b5_firmware.ncd bcm2079x-b5_pre_firmware.ncd"
for _i in $_files; do
install -Dm644 "vendor/broadcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/$_i";
"$pkgdir/lib/firmware/postmarketos/$_i";
done
# keymaster
@ -41,7 +41,7 @@ package() {
keymaster.mdt"
for _i in $_files; do
install -Dm644 "vendor/qcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/keymaster/$_i";
"$pkgdir/lib/firmware/postmarketos/keymaster/$_i";
done
# discretix
@ -49,15 +49,15 @@ package() {
dxhdcp2.mdt"
for _i in $_files; do
install -Dm644 "vendor/qcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/discretix/$_i";
"$pkgdir/lib/firmware/postmarketos/discretix/$_i";
done
# prima
install -Dm644 "$pkgname-$_commit_other-WCNSS_qcom_wlan_nv_flo.bin" \
"$pkgdir/lib/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin"
"$pkgdir/lib/firmware/postmarketos/wlan/prima/WCNSS_qcom_wlan_nv.bin"
for _i in WCNSS_qcom_cfg.ini WCNSS_cfg.dat; do
install -Dm644 "$pkgname-$_commit_other-$_i" \
"$pkgdir/lib/firmware/wlan/prima/$_i";
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i";
done
# qualcomm
@ -71,7 +71,7 @@ package() {
vidc.mdt"
for _i in $_files; do
install -Dm644 "vendor/qcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/$_i";
"$pkgdir/lib/firmware/postmarketos/$_i";
done
}
sha512sums="e18fe860185e2efe2b9b0d1ed17e7ba40c687fdf08667db1358fb8c68cc8632f36942ddccee975eecbc9f0e0a9b5b97abddb837dbd07653298609de09fe5bfce broadcom-flo-mob30x-23c0a6c8.tgz

View file

@ -1,6 +1,6 @@
pkgname=firmware-asus-z00t
pkgver=0
pkgrel=1
pkgrel=2
pkgdesc="Firmware for asus-z00t"
url="https://github.com/F2F056C4-B868-4F9D-BF2A-45B9CD317E1D/asus-z00t-firmware"
arch="aarch64"
@ -20,7 +20,7 @@ package() {
cd "$srcdir"
for part in b00 b01 b02 b03 mdt; do
install -Dm644 "$_dir/firmware/image/keymaste.$part" "$pkgdir/lib/firmware/keymaster/keymaster.$part";
install -Dm644 "$_dir/firmware/image/keymaste.$part" "$pkgdir/lib/firmware/postmarketos/keymaster/keymaster.$part";
done
# prima
@ -38,14 +38,14 @@ package() {
"
for f in $_files; do
install -Dm644 "$_dir/etc-firmware/wlan/prima/$f" \
"$pkgdir/lib/firmware/wlan/prima/$f"
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$f"
done
_files="
WCNSS_qcom_cfg.ini
"
for f in $_files; do
install -Dm644 "$f" \
"$pkgdir/lib/firmware/wlan/prima/$f"
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$f"
done
# qualcomm
@ -116,7 +116,7 @@ package() {
"
for f in $_files; do
install -Dm644 "$_dir/firmware/image/$f" \
"$pkgdir/lib/firmware/$f"
"$pkgdir/lib/firmware/postmarketos/$f"
done
}
sha512sums="f6011a1b0f367eba1e03fa38ef3eba35340492934e9160d37bb1211b05025c39f27e1991a6df32b8a3de4f1c9463bf27846998de46d84e1a2f2c97cda321d4e7 firmware-asus-z00t-d75a9d565250429ed5b06ed6c5d6f50cfadf9cb9.tar.gz

View file

@ -1,6 +1,6 @@
pkgname=firmware-lg-hammerhead
pkgver=1
pkgrel=2
pkgrel=3
_modem_commit="d0565ebb2033bbd267b8be698373f075c9a82cd5"
pkgdesc="Firmware for LG hammerhead (Nexus 5)"
subpackages="$pkgname-modem $pkgname-adsp $pkgname-bluetooth"
@ -32,7 +32,7 @@ modem() {
cd "$srcdir/hammerhead-modem-$_modem_commit/image"
for _i in *; do
install -Dm644 $_i "$subpkgdir"/lib/firmware/$_i
install -Dm644 $_i "$subpkgdir"/lib/firmware/postmarketos/$_i
done
}
@ -41,14 +41,14 @@ adsp() {
cd "$srcdir/qcom/vendor/qcom/hammerhead/proprietary"
for _i in adsp.*; do
install -Dm644 $_i "$subpkgdir"/lib/firmware/$_i
install -Dm644 $_i "$subpkgdir"/lib/firmware/postmarketos/$_i
done
}
bluetooth() {
pkgdesc="LG Nexus 5 Bluetooth firmware"
install -Dm644 "$srcdir/broadcom/vendor/broadcom/hammerhead/proprietary/bcm4335c0.hcd" "$subpkgdir"/lib/firmware/brcm/BCM4335C0.hcd
install -Dm644 "$srcdir/broadcom/vendor/broadcom/hammerhead/proprietary/bcm4335c0.hcd" "$subpkgdir"/lib/firmware/postmarketos/brcm/BCM4335C0.hcd
}
sha512sums="a63a0fad2c7e5920c8a30213e149c51a745cdb2b34c1b13772737d1da51cd712aa81d3e03de6f3397d0705e59d0130727979f2c1c6f529788e0fbc9bbcde6a8a hammerhead-modem-d0565ebb2033bbd267b8be698373f075c9a82cd5.tar.gz

View file

@ -1,7 +1,7 @@
# Maintainer: ky0ko <ky0ko@disroot.org>
pkgname=firmware-motorola-def
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for Motorola One Hyper"
url="https://github.com/goshhhy/motorola-def-firmware"
arch="aarch64"
@ -15,7 +15,7 @@ source="https://github.com/goshhhy/motorola-def-firmware/archive/$_commit.tar.gz
package() {
cd "$srcdir/motorola-def-firmware-$_commit/files"
for _i in *; do
install -Dm644 $_i "$pkgdir"/lib/firmware/$_i
install -Dm644 $_i "$pkgdir"/lib/firmware/postmarketos/$_i
done
}

View file

@ -1,6 +1,6 @@
pkgname=firmware-oneplus-oneplus3
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for OnePlus 3/3T (metapackage)"
url="https://gitlab.com/DrGitX/firmware-oneplus3"
arch="aarch64"
@ -89,24 +89,24 @@ unpack() {
package() {
cd "$srcdir"
for _i in a530_pfp.fw a530_pm4.fw a530v3_gpmu.fw2; do
install -Dm644 $_i "$pkgdir/lib/firmware/qcom/$_i"
install -Dm644 $_i "$pkgdir/lib/firmware/postmarketos/qcom/$_i"
done
}
_install_fw() {
mkdir -p "$subpkgdir/lib/firmware/qcom"
mkdir -p "$subpkgdir/lib/firmware/postmarketos/qcom"
cd "$srcdir/$1"
for _i in adsp.* modem.* mba.* slpi.*; do
install -Dm644 $_i "$subpkgdir/lib/firmware/$_i"
install -Dm644 $_i "$subpkgdir/lib/firmware/postmarketos/$_i"
done
for _i in venus.*; do
install -Dm644 $_i "$subpkgdir/lib/firmware/qcom/venus-4.2/$_i"
install -Dm644 $_i "$subpkgdir/lib/firmware/postmarketos/qcom/venus-4.2/$_i"
done
install -Dm644 "$srcdir/a530_zap$2.elf" "$subpkgdir/lib/firmware/qcom/a530_zap.mdt"
install -Dm644 "$srcdir/a530_zap$2.elf" "$subpkgdir/lib/firmware/postmarketos/qcom/a530_zap.mdt"
install -Dm644 "$srcdir/20-adreno-gpu-firmware.files" \
"$pkgdir/etc/postmarketos-mkinitfs/files/20-adreno-gpu-firmware.files"

View file

@ -1,6 +1,6 @@
pkgname=firmware-oppo-find-7a
pkgver=0.1
pkgrel=4
pkgrel=5
_commit="412fbe0922125a4d5ff884626c3274a15bd36dff"
_commit_android_image="68f5bc5447b781ecfd7712c32cac96041374a8be"
_commit_oppo_fw="31144f275f8542c73c624c4920fc72b6b8b2a860"
@ -31,32 +31,32 @@ build() {
package() {
for _i in $_files1; do
install -Dm644 msm8974-common/proprietary/vendor/firmware/"$_i" \
"$pkgdir"/lib/firmware/"$_i"
"$pkgdir"/lib/firmware/postmarketos/"$_i"
done
for _i in $_files2; do
install -Dm644 find7/proprietary/vendor/firmware/"$_i" \
"$pkgdir"/lib/firmware/"$_i"
"$pkgdir"/lib/firmware/postmarketos/"$_i"
done
cd "$srcdir"/android_device_oppo_msm8974-common-"$_commit_android_image"
for _i in $_files3; do
install -Dm644 wifi/"$_i" \
"$pkgdir"/lib/firmware/wlan/prima/"$_i"
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
done
cd "$srcdir"
for _i in $_files4; do
install -Dm644 "$_i" "$pkgdir"/lib/firmware/"$_i"
install -Dm644 "$_i" "$pkgdir"/lib/firmware/postmarketos/"$_i"
done
install -Dm644 keymaste.b00 "$pkgdir"/lib/firmware/keymaster/keymaster.b00
install -Dm644 keymaste.b01 "$pkgdir"/lib/firmware/keymaster/keymaster.b01
install -Dm644 keymaste.b02 "$pkgdir"/lib/firmware/keymaster/keymaster.b02
install -Dm644 keymaste.b03 "$pkgdir"/lib/firmware/keymaster/keymaster.b03
install -Dm644 keymaste.mdt "$pkgdir"/lib/firmware/keymaster/keymaster.mdt
install -Dm644 keymaste.b00 "$pkgdir"/lib/firmware/postmarketos/keymaster/keymaster.b00
install -Dm644 keymaste.b01 "$pkgdir"/lib/firmware/postmarketos/keymaster/keymaster.b01
install -Dm644 keymaste.b02 "$pkgdir"/lib/firmware/postmarketos/keymaster/keymaster.b02
install -Dm644 keymaste.b03 "$pkgdir"/lib/firmware/postmarketos/keymaster/keymaster.b03
install -Dm644 keymaste.mdt "$pkgdir"/lib/firmware/postmarketos/keymaster/keymaster.mdt
cd "$pkgdir"/lib/firmware
cd "$pkgdir"/lib/firmware/postmarketos
ln -s . qcom
}