summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
diff options
context:
space:
mode:
authorChang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>2017-04-09 18:58:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-14 09:47:09 +0100
commit2248d186974dbabe04c36a05e264f3466c400726 (patch)
treefa66d0a7862c86d98a94fb347658eaa00d0a5b87 /meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
parent9a5039d563f46e4b8c55238576ccf0d02ef8d154 (diff)
downloadpoky-2248d186974dbabe04c36a05e264f3466c400726.tar.gz
linux-firmware: Fix build failure when update SRCREV to latest HEAD
When we update the SRCREV to latest, we will encouter the following bitbake error. Build error message: | Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 | error: Arch dependent binaries in noarch package | | | RPM build errors: | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_1x40.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x25.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_8x10.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_4x10.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_4x10_1x40.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x10.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_2x40.nffw | Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0096-0001_2x10.nffw | Deprecated external dependency generator is used! | Arch dependent binaries in noarch package | WARNING: exit code 1 from a shell command. This is due to netronome firmware is not included in noarch package. Hence we removed the netronome firmware before it is packaged, until the rpm issue is resolved. (From OE-Core rev: cdfa43191f84dc3b1a592ce2e813509f6820184d) Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_git.bb')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 7b43c25dba..be5bdbd7f5 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -112,7 +112,7 @@ LIC_FILES_CHKSUM = "\
112 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ 112 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
113 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ 113 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
114 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ 114 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
115 file://WHENCE;md5=4c56371b1c0d9e75f7620563c652b566 \ 115 file://WHENCE;md5=ad12d0618287e8c10ae3da05fa0edcfb \
116" 116"
117 117
118# These are not common licenses, set NO_GENERIC_LICENSE for them 118# These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -172,7 +172,7 @@ NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
172NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c" 172NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
173NO_GENERIC_LICENSE[WHENCE] = "WHENCE" 173NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
174 174
175SRCREV = "a4dde74b504522d239e8521617b53b03f393ed6a" 175SRCREV = "b14134583c2a15d4404695f72cb523daedb877ab"
176PE = "1" 176PE = "1"
177PV = "0.0+git${SRCPV}" 177PV = "0.0+git${SRCPV}"
178 178
@@ -216,6 +216,9 @@ do_install() {
216 216
217 # Copy the iwlwifi ucode 217 # Copy the iwlwifi ucode
218 cp ${WORKDIR}/iwlwifi-8000C-19.ucode ${D}${nonarch_base_libdir}/firmware/ 218 cp ${WORKDIR}/iwlwifi-8000C-19.ucode ${D}${nonarch_base_libdir}/firmware/
219
220 # TODO: Remove netronome firmware until RPM packaging issue is resolved
221 rm -r ${D}${nonarch_base_libdir}/firmware/netronome/
219} 222}
220 223
221 224