Age | Commit message (Collapse) | Author |
|
0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch
* Rework the patch as the logic is wrong previously
as the STAGING_INCDIR is actually applicable in
cross compiling env.
Update the patch to locate the right OCF_ROOT_DIR
in cross compiling env.
* Add "rm -rf ${D}${localstatedir}/lib/heartbeat" to
fix below error:
Error: Transaction check error:
file /var/lib/heartbeat/cores conflicts between attempted installs of pacemaker-1.1.16-r0.core2_64 and cluster-glue-1.0.12-r0.core2_64
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Add pacemaker-cli-utils to RDEPENDS as
many cluster resource agents manager
commands such as crm_mon are packed into
pacemaker-cli-utils.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
pacemaker requires corosync starts before it. But corosync could not start
without configuration and autostart is disabled. So disable autostart of
pacemaker too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Correct LICENSE of perl modules that 'GPLv2' is not right for them.
libsocket6-perl is licensed with BSD accoring to README file. And other
4 modules libhtml-tagset-perl, libmailtools-perl, libtest-pod-perl and
libwww-perl are licensed with same terms of Perl itself according to
their README files too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
If the network is in poor condition, there may be an error when generate
manpages:
| a2x --xsltproc-opts=--catalogs -L -f manpage doc/crm.8.adoc
[snip]
| a2x: ERROR: "xsltproc" --catalogs --stringparam callout.graphics 0
--stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0
"/buildarea/build/tmp-glibc/work/armv5e-wrs-linux-gnueabi/crmsh/2.3.2-r0/recipe-sysroot-native/etc/asciidoc/docbook-xsl/manpage.xsl"
"/buildarea/build/tmp-glibc/work/armv5e-wrs-linux-gnueabi/crmsh/2.3.2-r0/crmsh-2.3.2/doc/crm.8.xml"
returned non-zero exit status 6
| make: *** [Makefile:848: doc/crm.8] Error 1
By default, xsltproc tries to fetch DTDs from network. If the nework is
in poor condition, the incomplete download may cause a dtd parsing
error. Pass "--nonet" and "--novalid" options to xsltproc to disable the
network access and skip loading the document´s DTD.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Someone may want to add meta-cgl-common layer into their
distro and only use some of the packages, but these kernel
features will be also added by the bbappend and may cause
unexpected issue, so change to append the SRC_URI for poky-cgl
distro only.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Add poky-cgl into DISTROOVERRIDES, otherwise it's
"poky:linuxstdbase" since it requires poky-lsb.conf.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
CONFIG_DRM in yocto-kernel-cache selects CONFIG_I2C_ALGOBIT as "y".
Change CONFIG_I2C_ALGOBIT 00026-lm-sensors.cfg from "m" to "y" to
avoid following config conflict.
---------- CONFIG_I2C_ALGOBIT -----------------
Config: CONFIG_I2C_ALGOBIT
From: /PATH/TO/i915.cfg /PATH/TO/00026-lm-sensors.cfg
Requested value: CONFIG_I2C_ALGOBIT=m
Actual value: CONFIG_I2C_ALGOBIT=y
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
This has been removed from the classes and the corresponding compression
folded into the default image class.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Some dependencies changed in the meta-security layer, update
accordingly.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Distro features enabled in packagegroups have no effect.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
meta-selinux switched from distro conf to distro features, use it
accordingly.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
When glibc upgrade to glibc-2.26.90-14, there was a compile error in fsck.ocfs2,
the compile error messages like,
In file included from /usr/include/string.h:431:0,
from ../include/ocfs2/ocfs2.h:41,
from pass4.c:32:
include/strings.h:37:1: error: unknown type name 'errcode_t'; did you mean 'mode_t'?
errcode_t o2fsck_strings_insert(o2fsck_strings *strings, char *string,
^~~~~~~~~
mode_t
Backport a patch to rename strings.h => o2fsck_strings.h
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Fix below warning when ${libdir} is other than '/usr/lib',
-- snip --
WARNING: pacemaker-1.1.16-r0 do_package: QA Issue: pacemaker: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/ocf
/usr/lib/ocf/resource.d
/usr/lib/ocf/resource.d/.isolation
/usr/lib/ocf/resource.d/pacemaker
/usr/lib/ocf/resource.d/.isolation/docker-wrapper
/usr/lib/ocf/resource.d/pacemaker/SystemHealth
/usr/lib/ocf/resource.d/pacemaker/HealthCPU
/usr/lib/ocf/resource.d/pacemaker/ClusterMon
/usr/lib/ocf/resource.d/pacemaker/pingd
/usr/lib/ocf/resource.d/pacemaker/HealthSMART
/usr/lib/ocf/resource.d/pacemaker/controld
/usr/lib/ocf/resource.d/pacemaker/Stateful
/usr/lib/ocf/resource.d/pacemaker/ping
/usr/lib/ocf/resource.d/pacemaker/o2cb
/usr/lib/ocf/resource.d/pacemaker/remote
/usr/lib/ocf/resource.d/pacemaker/Dummy
/usr/lib/ocf/resource.d/pacemaker/SysInfo
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pacemaker: 18 installed and not shipped files. [installed-vs-shipped]
-- snip --
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
- Add systemd support
- Add PACKAGECONFIG for nss, dbus, rdma and snmp
- Install config file for corosync-notifyd
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Disable stack user support explicitly and only support
stack 'o2cb' in init script o2cb.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* use _append for do_install so that autotools_do_install
will be run first.
* add -m for the install commands.
* add ${S} for install source files instead of relative path.
* remove cluster.conf.sample and use the sample conf file
in source code instead.
* Disable systemd services by default since it won't
work before the conf file is changed according to
the actual network settings.
* Fix the services to use the correct helper scripts
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Remove the duplicated RDEPENDS_${PN}
* Add dependency on e2fsprogs-native to fix:
| compile_et o2dlm_err.et
| /bin/bash: compile_et: command not found
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Changes:
- Fix the license to AGPLv3
- Add summary, description and homepage
- Add systemd support
- Don't change the files in ${S}, change them
after installing.
- Add PACKAGECONFIG for pam and enable it when
it's in DISTRO_FEATURES
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* update the licenses and checksum
* fix PN -> BPN for multilib builds
* add PACKAGECONFIG for systemd and libsmtp
* add fix for libgnutls
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
The Racoon2 project is a joint effort which provides an implementation
of key management system for IPsec. It supports IKEv1, IKEv2, and KINK
protocols.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
crm shell, a Pacemaker command line interface for
management and configuration.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
It fails to find fs.sh.in when srddir and builddir are not the same:
make[5]: Entering directory '/path/to/builddir/rgmanager/src/resources'
cat fs.sh.in | sed \
-e 's#@''LOGDIR@#/var/log/cluster#g' \
> fs.sh.out
cat: fs.sh.in: No such file or directorychmod +x fs.sh.out
mv fs.sh.out fs.sh
Add abs_srcdir to fix this.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Fix configure.ac to cope with new autoconf.
Recent autoconfs generate a bad configure when AM_INIT_AUTOMAKE is
called as late as it was, ending up thinking that the am_aux_dir is pwd
at the start of the build. Move it up to under AC_INIT to fix that.
configure.ac calls AM_INIT_AUTOMAKE too late. The attached patch moves
it up to just after AC_INIT, fixing the FTBFS.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Add missing runtime dependencies for:
- many tools and scripts need bash and perl.
- lvm.sh requires: lvm2
- ip.sh requires: ethtool iproute2 iputils-arping
- fs.sh requires: e2fsprogs-e2fsck util-linux quota
- netfs.sh requires: procps util-linux nfs-utils
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
do_rootfs fails if multiple syslogs are installed:
| Error: package syslog-ng-3.8.1-r0.i586 conflicts with sysklogd provided
by sysklogd-1.5.1-r0.i586
core-image-cgl requires packagegroup-core-full-cmdline which depends
on VIRTUAL-RUNTIME_syslog (default to sysklogd), so set the
VIRTUAL-RUNTIME_syslog in distro conf and no need to depends
on any syslog in packagegroup-cgl-applications, then we ensure
that only one syslog is installed to avoid conflicts.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
UCARP allows a couple of hosts to share common virtual IP addresses in
order to provide automatic failover. It is a portable userland
implementation of the secure and patent-free Common Address Redundancy
Protocol (CARP).
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Update useradd parameters for cluster-glue according
to spec file from source code:
https://github.com/ClusterLabs/cluster-glue/blob/master/cluster-glue-fedora.spec
And use HA_USER and HA_GROUP for easy maintenance.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
It includes LGPL 2.1 as well according to COPYING.LIB.
And point the LIC_FILES_CHKSUM to the checksums of the
license text in the source code.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
inherit systemd and add PACKAGECONFIG to add proper
configure option and dependency when systemd is enabled.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Archive file changed at the source
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
The recipe in meta-oe is version 2.0.22 now, in which
the perl modules are packaged in openipmi-perl,
so this bbappend is not needed any more.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
mainloop.c:406:8: error: unknown type name 'qb_array_t'
| static qb_array_t *gio_map = NULL;
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
| checking for pkg-config... no
| configure: error: You need pkgconfig installed in order to build
| ERROR: Function failed: do_configure (log file is located at /home/akuster/oss/maint/oe-test-distro/build/tmp-glibc-glibc/work/i586-dummy-linux/resource-agents/3.9.7-r0/temp/log.do_configure.3415)
ERROR: Task (/home/akuster/oss/maint/oe-test-distro/openembedded-core/../meta-cgl/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_3.9.7.bb:do_configure) failed with exit code '1
add inherit pkgconfig
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
message_handler_req_exec_lck_resourceclose is to remove cleanup
entry from corosync. Now this job is done by pacemaker. So remove
this feature from openais.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
On some targets, "/etc/init.d/openais stop" can not make
corosync quit since corosync does not respond to signal TERM.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* If req_lib_tmr_timerreschedule->timer_attributes.type is
SA_TIME_ABSOLUTE, an absolute time value must be higher
than the current absolute time.According to the type, we
will compare the current time with an absolute time. If
the type is SA_TIME_ABSOLUTE, we will compare. Or else,
we do nothing;
* For single-event timers, timerPeriodDuration = 0 is required.
Note that saTmrTimerReschedule() cannot be used to change a
timer from being a single-event timer to a periodic timer or
vice versa. Since the older timerPeriodDuration is 0 in testtmr.c
file, it is a single-event timer. The following reschedule will
change it to a periodic timer. It is not permitted.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
openais actually runs on top of corosync. The init
script was checking for the pid of "openais"
rather than checking for corosync's pid.
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
inherit systemd and add .service for systemd support
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
run-postinsts is now installed by default in image.bbclass, so no need
to include it in each image.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
The dependency was needed because of the usage of
openhpi and openimpi, now the two recipes are added
in meta-openembedded/meta-networking and
meta-openembedded/meta-oe with newer versions,
and meta-openclovis is not really active in the past
two years, it's better to remove the dependency on
meta-openclovis.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
uboot inclusion
Follow Up Flag: Follow up
Flag Status: Flagged
From: Armin Kuster <akuster@mvista.com>
since the image type includes "uboot", need to inherit the class for it
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Alexandru.Vaduva <alexandru.vaduva@linux.com>
|
|
Follow Up Flag: Follow up
Flag Status: Flagged
From: Armin Kuster <akuster@mvista.com>
ERROR: openais-1.1.4-r0 do_fetch: Error executing a python function in exec_python_func()
autogenerated:
ftp://ftp@ breaks the fetcher and really is not needed.
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Alexandru.Vaduva <alexandru.vaduva@linux.com>
|