The hardcoded path /usr/sbin/service in ceph-disk is
incorrect for yocto.
Story: 2008204
Task: 40988
Change-Id: I374a90886ad679595054ab3b75c3438002f52024
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
There is potential issue to clone repo in do_configure,
so move it to SRC_URI then it will be cloned in do_fetch,
and also set the correct SRCREV.
Story: 2008204
Task: 40988
Change-Id: I6f7a01cdf2df93edb2d4a29cc8dbcc6e17b38763
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
In dry-run mode, the kickstart file will not be generated,
the existence check will always fail, so change the skip
to warning to allow that the dry-run can succeed without
generated kickstart file.
Story: 2008204
Task: 40988
Change-Id: I32eb8a688498713d03c915b82611cea8fcb493cf
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
In the cpumap_functions.sh, a one line perl script uses a perl
experimental feature which is added in perl 5.14 but removed
in perl 5.23 and later release, so fix to avoid using the
feature to fix failure with new perl releases.
Story: 2008204
Task: 40988
Change-Id: I90aa8bd3d7bd66d9d4d10c1987387dc6b32a2836
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
- Add a patch to avoid using 'which' to check CC since
the 'which' on CentOS doesn't allow options.
- Add a patch to fix the libamon link failure.
Story: 2008204
Task: 40988
Change-Id: I1ee37c049d9d1286b5d1a1afa0dc7e9516eb6b49
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Some packages use the ruby "gem build" command to create gems,
which requires zlib, so add dependency on zlib-native or it
relies the host's zlib and fails on some host like CentOS:
| ERROR: Loading command: build (LoadError)
| cannot load such file -- zlib
| ERROR: While executing gem ... (NoMethodError)
Story: 2008204
Task: 40988
Change-Id: I2d8de8aab2ce3ca24d512354c75ebe34845e4ed0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Required to complete postgres build and ported from upstream
meta-cloud-services. This commit to be removed when moving to
to dunfell or later.
Upstream commit: 8516070112019bd7b3a5c41eb55a042808a13089
Closes-Bug: 1899552
Change-Id: I9ec82e41567a41734a0b10445e4ada661693c4d7
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
Required as not present in meta-python2 warrior branch.
Patch has been upstreamed pending acceptance. This commit
to be removed once patch has been accepted in upstream.
Closes-Bug: 1899549
Change-Id: I253ec03b088630781328879e4029e8ac93593314
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
Add missing curly braces for variables MAJOR and MINOR.
This fixes libamon not installed correctly.
Closes-Bug: 1899130
Change-Id: I12be297058ae3b43a01f4e9b1dadf4626e8e18f0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
sm looks for the init script to manage snmpd, so
remove sysvinit from DISTRO_FEATURES_BACKFILL_CONSIDERED
to avoid init scripts being removed.
And the init script snmpd should be packaged in
PN-server-snmpd, so fix the FILE definition as well.
Partial-Bug: 1897685
Change-Id: I612e6eda0e1a4f942d11e90bec1307db1fd64f60
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
sm looks for the init script to manage haproxy, so
remove sysvinit from DISTRO_FEATURES_BACKFILL_CONSIDERED
to avoid init scripts being removed.
Partial-Bug: 1897685
Change-Id: I982d02add2a463ab93d5855b20a65d0bf0903c07
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
sm looks for the init script to manage dnsmasq, so
remove sysvinit from DISTRO_FEATURES_BACKFILL_CONSIDERED
to avoid init scripts being removed.
Partial-Bug: 1897685
Change-Id: I39d67e2bed981f50cc9399ef20942fee48c4f22c
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
sm looks for init script ceph-manager in /etc/init.d instead
of /etc/rc.d/init.d, so fix the path will fix the following error:
ERROR: sm[78078]: sm_service_action.c(707): Service (ceph-manager)
plugin (/etc/init.d/ceph-manager) access failed, error=No such file or
directory.
Partial-Bug: 1897685
Change-Id: I47b7ffd059960722d72ee68a24d9a2ed0c985989
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Fix a typo in the patch:
systemctll -> systemctl
This fixes collectd not starting correctly.
Closes-Bug: 1897667
Change-Id: Ie7669230c67a746638372c147307af9496633ae1
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Move the StarlingX additional configuration to the recipe
the sshd_config needs to be patched due to difference in
available MACs.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This adds the StarlingX kernel patch which exposes a new userspace
prctl() call with the PR_DO_NOTIFY_TASK_STATE option. This allows
a process to ne notifies when another process exits thus allowing
it to restart the failed process faster.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
previous version in yocto is 0.9.8 which
changes the format of the json output, which
will break the output handling in sysinv.
Signed-off-by: Litao Gao <litao.gao@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
change the source repo from starlingx to align with stx 3.0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>