samsung-a6lte: make samsungipcd a dependency of the firmware subpackage (MR 4968)

The modem requires firmware to be loaded from an on-device RADIO partition, samsungipcd does that. Not installing it prevents that firmware from being used.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Sergey Lisov 2024-03-26 18:34:27 +03:00 committed by Stefan Hansson
parent da997fd9cb
commit c57ca2dc8c
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD

View file

@ -2,7 +2,7 @@
pkgname=device-samsung-a6lte
pkgdesc="Samsung Galaxy A6 2018"
pkgver=0.5
pkgrel=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -12,7 +12,6 @@ depends="
bootmac
mkbootimg
postmarketos-base
samsungipcd
util-linux
"
replaces="
@ -76,9 +75,11 @@ kernel_mainline() {
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
# samsungipcd is technically not a firmware package, but it does use the firmware stored on the on-device RADIO partition
# so it makes sense to have it here rather than in the main depends list
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-a6lte"
pkgdesc="Wifi firmware & kill-switch for the cellular modem"
depends="firmware-samsung-a6lte samsungipcd"
mkdir "$subpkgdir"
}