Commit Graph

22 Commits

Author SHA1 Message Date
Khem Raj
1d42950097 sblim-sfcb: Include config.h before using CONFIG_ERROR_H
Fix use before definition case.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-07 16:44:54 -07:00
Khem Raj
6333570966 sblim-sfcb: Add missing headers file for clang/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
6f01823298 sblim-sfcb: Fix AC_CHECK_LIB tests for various libraries
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Davide Gardenal
efa12676dd meta-oe: ignore patched CVEs
Some old CVEs don't have a vulnerable version range in the NVD database,
this causes come mismatch with cve-check. Ignore many CVEs that are
picked up by the class but are patched in our products.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-18 09:11:22 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
09df8e6784 sblim-sfcb: Fix target postinst
Separate out target specific postintalls into pkg_postinst_ontarget_PN

Fixes
/mnt/b/yoe/master/build/tmp/work/qemuarm64-yoe-linux/meta-oe-ptest-image/1.0-r0/rootfs//var/lib/opkg/info/sblim-sfcb.postinst: line 6: /usr/share/sfcb/genSslCert.sh: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Khem Raj
ab1f4f709f sblim-sfcb: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Denys Dmytriyenko
4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Hongxu Jia
98e284846c sblim-sfcb: do not use 'exit 1' to postpone to first boot
Since `939f7f1 meta/lib/oe/rootfs.py: do not execute
defer_to_first_boot when processing postinst_intercept hooks' applied
in oe-core, use defer_to_first_boot rather than `exit 1' to postpone
to first boot

Remove duplicated `systemctl enable', it is done in systemd.bbclass

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 13:59:16 -07:00
Robert Yang
578da68284 sblim-sfcb: fix sfcbinst2mof_DEPENDENCIES in Makefile.am
Fixed build with automake 1.16.1:
/path/to/i586-poky-linux/8.1.0/ld: cannot find -lsfcBrokerCore
collect2: error: ld returned 1 exit status

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-12 07:19:43 -07:00
Martin Jansa
1d663545cb rarpd, sblim-sfcb, openct: inherit systemd unconditionally
* the inherit was controlled by VIRTUAL-RUNTIME_init_manager and the installation
  of .service files by DISTRO_FEATURES and systemd was in DISTRO_FEATURES but not
  in VIRTUAL-RUNTIME_init_manager it was causing QA issues about unpackaged
  .service files

ERROR: rarpd-ss981107-r0 do_package: QA Issue: rarpd: Files/directories
were installed but not shipped in any package:
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/rarpd.service

ERROR: sblim-sfcb-1.4.9-r0 do_package: QA Issue: sblim-sfcb:
Files/directories were installed but not shipped in any package:
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/sblim-sfcb.service

ERROR: sblim-sfcb-1.4.9-r0 do_package: QA Issue: sblim-sfcb:
Files/directories were installed but not shipped in any package:
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/sblim-sfcb.service

* systemd.bbclass will take care of removing /lib/systemd when systemd
  isn't in DISTRO_FEATURES, so we can remove both conditions

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:41:06 -07:00
Martin Jansa
0db9697dc6 samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs: require pam in DISTRO_FEATURES
* there is explicit dependency on libpam without respecting pam in DISTRO_FEATURES
  so add the check to prevent people building it against broken libpam

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-03-05 11:45:40 -05:00
Khem Raj
e67ac72d07 sblim-sfcb: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:36 +02:00
Khem Raj
c0d763a6e6 sblim-sfcb: Add stdint.h for 'UINT16_MAX'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:26 +02:00
Peter Kjellerstedt
0c31f55bcf Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:30:26 +01:00
Martin Jansa
dc48e768f5 meta-oe: remove trailing spaces
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:29 +02:00
Martin Jansa
1bd027eba4 sblim-sfcb: add missing dependency on unzip-native
* otherwise configure fails with:
  | checking whether to build shared libraries... yes
  | checking whether to build static libraries... no
  | checking for unzip... no
  | configure: error: Could not find unzip
  | NOTE: The following config.log files may provide further information.
  | NOTE: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/sblim-sfcb/1.4.9-r0/build/config.log
  | ERROR: configure failed
  | ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/sblim-sfcb/1.4.9-r0/temp/log.do_configure.9838)
  NOTE: recipe sblim-sfcb-1.4.9-r0: task do_configure: Failed
  ERROR: Task 5 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb, do_configure) failed with exit code '1'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:22 +02:00
Ross Burton
21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Li xin
6cad74d0b5 sblim-sfcb: 1.4.8 -> 1.4.9
Upgrade sblim-sfcb from 1.4.8 to 1.4.9.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-06 13:25:51 +01:00
Martin Jansa
d2213eeb15 sblim-sfcCommon: rename to sblim-sfc-common
* to resolve QA warnings:
  sblim-sfcCommon-1.0.1: sblim-sfcCommon-dev doesn't match the [a-z0-9.+-]+ regex [pkgname]
  sblim-sfcCommon-1.0.1: sblim-sfcCommon-staticdev doesn't match the [a-z0-9.+-]+ regex [pkgname]
  sblim-sfcCommon-1.0.1: sblim-sfcCommon doesn't match the [a-z0-9.+-]+ regex [pkgname]
  sblim-sfcCommon-1.0.1: sblim-sfcCommon-doc doesn't match the [a-z0-9.+-]+ regex [pkgname]
  sblim-sfcCommon-1.0.1: sblim-sfcCommon-dbg doesn't match the [a-z0-9.+-]+ regex [pkgname]
  sblim-sfcCommon-1.0.1: sblim-sfcCommon-locale doesn't match the [a-z0-9.+-]+ regex [pkgname]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:27:50 +02:00
Yi Zhao
cff107b5bf sblim-sfcb: fix ${PN}-${PV} -> ${BP} for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:47 +02:00
leimaohui
0f2b4f7281 sblim-sfcb: add new recipe for openlmi
Sblim-sfcb is dependence of openlmi.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:11:11 +02:00