summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libsmi
Commit message (Collapse)AuthorAgeFilesLines
* libsmi: use /bin/sh instead of ${base_bindir}/sh to silence QA error with ↵Martin Jansa2021-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usrmerge * with usrmerge ${base_bindir} is /usr/bin/sh and libsmi fails with: ERROR: libsmi-0.5.0-r0 do_package_qa: QA Issue: /usr/bin/smistrip contained in package libsmi requires /usr/bin/sh, but no providers found in RDEPENDS_libsmi? [file-rdeps] ERROR: libsmi-0.5.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. * this is a bit strange as busybox does install /usr/bin/sh file: ./1.33.0-r0.usrmerge/image/usr/bin/sh ./1.33.0-r0.default/image/bin/sh but also adds /bin/sh to RPROVIDES_${PN} for usrmerge in DISTRO_FEATURES: RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh', '', d)}" added in: https://git.openembedded.org/openembedded-core/commit/?id=1f6c14939c8daa5e09103789c3ff5031cc888d16 and 1.33.0-r0.usrmerge/pkgdata/runtime/busybox:FILERPROVIDES_/usr/bin/busybox.nosuid_busybox correctly contains /usr/bin/sh * adding runtime dependency on busybox as /usr/bin/sh provider would silence the QA warning but people might not like adding busybox to their image * using /bin/sh silences the QA warning as well, because /bin/sh is explicitly ignored in file-rdeps insane.bbclass: https://git.openembedded.org/openembedded-core/tree/meta/classes/insane.bbclass?id=1f6c14939c8daa5e09103789c3ff5031cc888d16#n907 if "file-rdeps" not in skip: ignored_file_rdeps = set(['/bin/sh', '/usr/bin/env', 'rtld(GNU_HASH)']) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 08fad9f3a6d1026eea84906c2ede7a4a2dc93863) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libsmi: set awk as target pathOleksiy Obitotskyy2021-04-081-1/+1
| | | | | | | | | | smistrip contains absolute path and prevent to create reproducible builds. smistrip should use target awk not host one, so override path. Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libsmi: Use right name for tcl licenseKhem Raj2019-12-101-1/+1
| | | | | | | Fixes WARNING: libsmi-0.5.0-r0 do_populate_lic: libsmi: No generic license file exists for: TCL in any provider Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsmi: Fix and operator per SPDXKhem Raj2019-10-211-1/+1
| | | | | | This was a fallout from last commit Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsmi: Clarify BSD license variantChristophe PRIOUZEAU2019-10-171-1/+1
| | | | | | | The License of libsmi is BSD-3-Clause and TCL. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsmi: rdepends on wget and set WGET as target pathWenzong Fan2016-10-051-1/+3
| | | | | | | | | | * /usr/bin/smicache requires wget: + WGET=/usr/bin/wget * Set the WGET as target path to avoid host contamination. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libsmi: set the SH to the target pathJackie Huang2016-03-251-0/+2
| | | | | | | | | | | | | Set the SH to the target path to avoid host contamination, which causes the following issue on some hosts: | WARNING: QA Issue: /usr/bin/smicache_libsmi contained in package libsmi requires /usr/bin/sh, but no providers found in its RDEPENDS [file-rdeps] | Computing transaction...error: Can't install libsmi-0.4.8-r0.0@corei7_64: no package provides /usr/bin/sh Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libsmi: fix the test dump filesJackie Huang2016-02-252-0/+278
| | | | | | | | | These test dump files were generated by smidump 0.4.5 which would not match with the ones generated by 0.4.8, so update them with the ones for 0.4.8. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libsmi: 0.4.8 -> 0.5.0Dai Caiyun2016-01-141-3/+4
| | | | | | | | | | Upgrade libsmi from 0.4.8 to 0.5.0. Fix error: QA Issue: libsmi: Files/directories were installed but not shipped in any package: /usr/share/yang/* Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libsmi: add configure fileKai Kang2015-11-062-1/+59
| | | | | | | | | | | | Add configure file duplicated from file smi.conf-example in source code and replace paths with mibs files directories. Then set libsmi-mibs as runtime recommend package to provide mibs files. Add homepage and update SRC_URI as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: use BPN in SRC_URIRobert Yang2014-07-151-1/+1
| | | | | | | | | | | | Fixed SRC_URI: * ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV} * ${P} -> ${BP} Otherwise we would meet do_fetch errors when we do the multilib, native or nativesdk build. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libsmi: initial add 0.4.8Jack Mitchell2013-11-181-0/+16
Signed-off-by: Jack Mitchell <jmitchell@cbnl.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>