aboutsummaryrefslogtreecommitdiffstats
path: root/meta-cgl-common/recipes-cgl/crmsh/crmsh
AgeCommit message (Collapse)Author
2021-10-26crmsh: fix deprecation on collections.MutableSetYi Zhao
Python 3.10 removes the deprecated aliases to collections abstract base clases [1]. Using 'collections.abc.MutableSet' instead of 'collections.MutableSet' [1]: https://bugs.python.org/issue37324 Fixes: $ crm Traceback (most recent call last): File "/usr/bin/crm", line 29, in <module> from crmsh import main File "/usr/lib64/python3.10/site-packages/crmsh/main.py", line 18, in <module> from . import ui_root File "/usr/lib64/python3.10/site-packages/crmsh/ui_root.py", line 23, in <module> from . import ui_cib File "/usr/lib64/python3.10/site-packages/crmsh/ui_cib.py", line 16, in <module> from .cibconfig import cib_factory File "/usr/lib64/python3.10/site-packages/crmsh/cibconfig.py", line 23, in <module> from . import orderedset File "/usr/lib64/python3.10/site-packages/crmsh/orderedset.py", line 29, in <module> class OrderedSet(collections.MutableSet): AttributeError: module 'collections' has no attribute 'MutableSet' Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2018-04-18crmsh: refresh patch to fix QA warningYi Zhao
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>
2017-10-23crmsh: disable network access for xsltproc when generate manpagesYi Zhao
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>
2017-06-15crmsh: add new recipeJackie Huang
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>