Age | Commit message (Collapse) | Author |
|
Several test scripts need /bin/bash instead of /bin/sh.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
When test using "yocto-check-layer-wrapper .../meta-cgl
--dependency xxx", error occurs:
FAIL: test_signatures (common.CommonCheckLayer)
linux-yocto:do_fetch: 84ac07191eb371845b8773179913d4f1 -> c36d7d453aca36c5e8dd30644a2e9963
...
basehash changed from 3a89fab4c77b51a9ef3ece5eb1270759 to 1e9697c5c2a85520ea36ec5845125f8e
Variable SRC_URI value changed:...
test_signatures are tests to be sure that BSP and DISTRO layers do not
come with recipes that change signatures, so here remove the NULL
SRC_URI operation.
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Per http://hg.linux-ha.org/, the repo moves to
https://github.com/ClusterLabs/cluster-glue and since
commit [21f84fc insane: add sanity checks to SRC_URI]
applied in oe-core, do not use unstable github archive
tarballs, so use git instead.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
distro flag set
Fix build error when pam distro flag is not set:
$ bitbake packagegroup-cgl-applications
ERROR: Nothing RPROVIDES 'pam-passwdqc' (but
/buildarea/poky/meta-cgl/meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb
RDEPENDS on or otherwise requires it)
ERROR: Nothing RPROVIDES 'libpam' (but
/buildarea/poky/meta-cgl/meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb
RDEPENDS on or otherwise requires it)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
The libhtml-tagset-perl recipe was added to meta-perl layer with commit:
4058e65f3c4e17ad04423f4c9edf8607fe6fdb4f
We can drop this duplicate recipe.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
The ipsec-tools and umip had been removed from meta-openembedded. We
should remove them from the packagegroup.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Script ocf-binaries contains build path
$ grep tmp-glibc -rn image/
|image/usr/lib64/ocf/lib/heartbeat/ocf-binaries:11:: ${EGREP:="/buildarea1/hjia/
wrlinux-1019/build_master-wr_qemux86-64_2019053109/build/tmp-glibc/hosttools/grep -E"}
|image/usr/lib64/ocf/lib/heartbeat/ocf-binaries:16:: ${TEST:=/buildarea1/hjia/
wrlinux-1019/build_master-wr_qemux86-64_2019053109/build/tmp-glibc/hosttools/test}
Set grep/test path rather than using hosttools which refers
commit in oe-core [f6e7a3b libtool: Don't hardcode grep paths]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied
in oe-core, do not use unstable github archive tarballs
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied
in oe-core, do not use unstable github archive tarballs
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
umip has been removed, so its bbappend should be removed too.
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
corosync 2.x can replace corosync 1.x + openais.
openais is no longer maintainted and shutdown.
https://github.com/corosync/openais/commit/f2bc4445a7c4ba5d17a218af855dc19d55ed2803
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
corosync 1.x have removed from meta-cgl, and use corosync under meta-networking.
corosync 2.x can replace corosync 1.x + openais (in meta-cgl),
so remove depend on openais
Signed-off-by: Armin Kuster <akuster808@gmail.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: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Since `da5ec06 package: Add auto package splitting of .debug file'
applied in oe-core, only one dbg package is split by default,
set NOAUTOPACKAGEDEBUG = '1' to support multiple dbg packages
Correct dirs for FILES_${PN}-extra/FILES_${PN}-extra-dbg/
FILES_${PN}-dbg, previously dirs are obsolete.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Since `da5ec06 package: Add auto package splitting of .debug file'
applied in oe-core, only one dbg package is split by default,
set NOAUTOPACKAGEDEBUG = '1' to support multiple dbg packages
Use `=+' to replace `+=', it will split user define sub package first
Add missing dirs to FILES_${PN}-dbg
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Since `9ec5a8a layer.conf: Drop sumo from LAYERSERIES_CORENAMES' and
`9867924 layer.conf: Add thud to LAYERSERIES_CORENAMES' applied in oe-core,
update LAYERSERIES_COMPAT `sumo' -> `thud'
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
It installs test case by default which contain host
paths and it breaks binary reproducibility.
Pick a fix from ubuntu to make the testing infrastructure
optional, and disable it by default
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Set prefix to fix below issue when usrmerge
enabled in DISTRO_FEATURES
| WARNING: ocfs2-tools-1.8.5-r0 do_package: QA Issue: ocfs2-tools: Files/directories were installed but not shipped in any package:
/sbin/mount.ocfs2
/sbin/o2cb
/sbin/o2cluster
/sbin/mkfs.ocfs2
/sbin/tunefs.ocfs2
/sbin/fsck.ocfs2
/sbin/debugfs.ocfs2
/sbin/o2cb_ctl
/sbin/ocfs2_hb_ctl
/sbin/mounted.ocfs2
/sbin/o2image
| ERROR: QA Issue: ocfs2-tools-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge]
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Backport two patches to fix below compile failures:
1,
In file included from o2cb_abi.c:52:
../include/ocfs2/ocfs2.h:222:2: error: unknown type name 'loff_t'
loff_t d_off; /* Offset of structure in the file */
^~~~~~
2,
/usr/src/debug/ocfs2-tools/1.8.5-r0/git/mounted.ocfs2/mounted.c:354: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
Makefile:36: recipe for target 'mounted.ocfs2' failed
make[1]: *** [mounted.ocfs2] Error 1
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
1. Upgrade pacemaker to 1.1.19
2. fence_legacy/fence_pcmk in package pacemaker requires
/usr/bin/perl, but no providers found in
RDEPENDS_pacemaker, so add it
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
License-Update: license file change from README to LICENSE
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
License-Update: copyright year update
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
License-Update: copyright year update
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
corosync 1.x have removed from meta-cgl, and use corosync under
meta-networking.
corosync 2.x can replace corosync 1.x + openais (in meta-cgl),
so remove depend on openais
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
Add a conditional RDEPENDS for lsbinitscripts which are
needed by the o2cb and ofcs2 services and not supplied
by systemd.
Also, do not look for a redhat-release file in the o2cb
and ocfs2 scripts. Just use /etc/init.d/functions if
it exists.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
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>
|