Age | Commit message (Collapse) | Author |
|
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Refresh patches with devtool command to fix do_patch warning.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Refresh patches with devtool command to fix do_patch warning.
Remove fix_missing_qb_array.patch since it had been fixed upstream.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Refresh patch with devtool command to fix do_patch warning.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
per spec, every layer needs a README. Issue noted via yocto-check-layer
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
change appears to no longer being needed.
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
This layer is outdated and not mainainted anymore. We will only
focus on qemu support for now.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* The allarch bbclass should be used instead of setting PACKAGE_ARCH = "all"
according to the commit in oe-core:
"""
commit 591fa7c1ab9e9ff75fdce602c77ecdeda3a255d9
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun Nov 25 20:23:42 2012 +0000
packagegroup/allarch: Convert to use allarch class
Currently there is some odd behaviour of the packagegroup class in relation
to sstate since it sets PACKAGE_ARCH = "all" but does not use the allarch class
leading to it being undetected by sstate.
Previously it was not possible to use allarch as the recipe couldn't "undo"
settings made by the allarch class. Since this no longer happens when
PACKAGE_ARCH != all, we can use the allarch class.
This patch also fixes up one case we need to preserve TRANSLATED_TARGET_ARCH
and ensures sstate only assumes allarch when PACKAGE_ARCH is "all".
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"""
Or it fails since the menifest file names mismatch.
* These packages are not all arch just like other perl libraries,
so just remove the setting PACKAGE_ARCH = "all".
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
cluster-glue refers to some resources located in $OCF_ROOT_DIR which is
provided by package cluster-resource-agents. But these resources are
installed to ${libdir}/ocf by previous commit. So update EXTRA_OECONF to
set OCF_ROOT_DIR with ${libdir}/ocf too.
Update RDEPENDS of ${PN}-lrmtest as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Rebuilding pacemaker would cause the following error:
| NOTE: make clean
| make: *** No rule to make target 'clean'. Stop.
| ERROR: oe_runmake failed
Fix this problem by setting CLEANBROKEN to "1".
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
* Set the default OCF_ROOT_DIR to $libdir/ocf
to make the resource agents components more
compatible
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
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>
|