Busybox also provides the command 'vconfig' when CONFIG_VCONFIG is
enabled.
Busybox has a priority of 50.
Prior to the patch running
bitbake core-image-minimal
produced the warnings
WARNING: core-image-minimal-1.0-r0 do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
WARNING: core-image-minimal-1.0-r0 do_rootfs: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
WARNING: core-image-minimal-1.0-r0 do_rootfs: [log_check] core-image-minimal: found 1 warning message in the logfile:
[log_check] WARNING: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
where log.do_rootfs contained
update-alternatives: Error: not linking /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/sbin/vconfig to /bin/busybox.nosuid since /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/sbin/vconfig exists and is not a link
when a workspace layer created by devtool contained
$ cat workspace/appends/busybox_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://vconfig.cfg"
and
$ cat workspace/appends/busybox/vconfig.cfg
CONFIG_VCONFIG=y
and local.conf contained
$ tail -n2 conf/local.conf
IMAGE_INSTALL_append = " busybox"
IMAGE_INSTALL_append = " vlan"
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cb7b35a4f9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Change path of minicoredumper on init/service script to /usr/sbin.
Since the commit "relocate admin-binaries to sbin" on minicoredumper,
minicoredumper binaries are installed on /usr/sbin directory instead
of /usr/bin.
src/minicoredumper/Makefile.am: sbin_PROGRAMS = minicoredumper
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d1cfe7a70c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The sysv initscript and systemd service assumes minicoredumper is
installed in /usr/bin/. In our case minicoredumper is installed in
/usr/sbin/ by default. Therefore, fix this path.
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 26ba552614)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
When enable multilib build, there is a QA Issue error:
ERROR: networkmanager-openvpn-1.2.8-r0 do_package: QA Issue: networkmanager-openvpn: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/NetworkManager
/usr/lib/NetworkManager/VPN
/usr/lib/NetworkManager/VPN/nm-openvpn-service.name
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
networkmanager-openvpn: 4 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 028f302074)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
When enable multilib build, there is a QA Issue error:
ERROR: networkmanager-1.10.6-r0 do_package: QA Issue: networkmanager: Files/directories were installed but not shipped in any package:
/usr/lib/NetworkManager
/usr/lib/NetworkManager/VPN
/usr/lib/NetworkManager/conf.d
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
networkmanager: 3 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 9a654a35b7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Building the 'gnome-keyring' recipe with "installed-vs-shipped"
included in ERROR_QA will result in:
ERROR: gnome-keyring-3.20.0-r0 do_package: QA Issue: gnome-keyring: \
Files/directories were installed but not shipped in any package:
/usr/lib64/pkcs11/gnome-keyring-pkcs11.la
/lib64/security/pam_gnome_keyring.la
>From various documents the .la files should not be packaged in either
the main recipe package or the -dev package unless required. So
inherit 'remove-libtool' to have all the .la files cleaned up as they
don't appear to be necessary.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 973aec3a2a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Add the runtime dependencies robot framework has so they are available on
images including it.
python-robotframework.inc is included by both python3 and python
robot framework.
python3 includes zlib by default so include python-zlib as a runtime
dependency in the python-robotframework recipe and not in the
python3-robotframework.
Signed-off-by: Sipke Vriend <sipke.vriend@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit f90318b625)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Up to now, an openobex specific over-ride for ASNEEDED has been
provided by oe-core (from as-needed.inc). If ASNEEDED does need to be
over-ridden in order to build openobex it's not ideal that the
over-ride comes from a different layer so define it directly in the
meta-oe recipe.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit e59a9738c2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The module werkzeug.test is moved to the python-werkzeug-tests package
since commit 857ed16. Flask imports werkzeug.tests during exception
handling which results in "ImportError: No module named
'werkzeug.test'".
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 0d2305d452)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Let krb5 support environment setting on systemd startup.
Here is one requirement of environment setting from upstream krb5
...
https://web.mit.edu/kerberos/krb5-1.16/doc/admin/conf_files/kdc_conf.html
|Normally, the kdc.conf file is found in the KDC state directory,
LOCALSTATEDIR/krb5kdc. You can override the default location by
setting the environment variable KRB5_KDC_PROFILE.
...
The fix of (krb5-admin-server.service/krb5-kdc.service) refers ubuntu 1604
Variable RUN_KADMIND is sysvinit, move it out from default/krb5-admin-server
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 7eb04ba677)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Unfortunately, the default behavior for at least the client service is to
reboot the machine if it encounters problems. Since it is pretty
much guaranteed to need target specific configuration info, we
should not enable the service(s) by default.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 1ec2d489c3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
WARNING: libtevent-0.9.36-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch avoid-attr-unless-wanted.patch
patching file lib/replace/wscript
Hunk #1 succeeded at 793 with fuzz 2 (offset 175 lines).
Hunk #2 succeeded at 806 with fuzz 2 (offset 178 lines).
Now at patch avoid-attr-unless-wanted.patch
Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d2760faf82)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Following error apprear in do configure. Fix it by adding bison-native in DEPENDS.
../radvd-2.17/ylwrap: line 176: yacc: command not found
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ecdf58aa4a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
* so that bitbake doesn't need to use git ls-remote during parsing to resolve tag name into SRCREV
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
ecodes.c is generated file and if we do not specify the
linux input headers it happiliy defaults to /usr/include/
to look for these headers while emitting code for ecodes.c
which can cause gripes when build systems kernel UAPI is
different than the target kernel. Mysterious build errors
or even worse runtime errors can start to appear.
e.g.
| evdev/ecodes.c:603:29: error: 'KEY_ROTATE_LOCK_TOGGLE' undeclared (first use in this function); did you mean 'KEY_ATTENDANT_TOGGLE'?
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Flask-RESTful is a simple framework for creating REST APIs with Flask
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The wrong patches were applied:
commit c5a0460081
Author: Armin Kuster <akuster808@gmail.com>
Date: Fri Mar 30 19:56:03 2018 -0700
networkmanager: Fix many typos in DISTRO_FEATURES PACKAGECONFIG decodes
commit 575c14ded5
Author: Andreas Müller <schnitzeltony@gmail.com>
Date: Thu Mar 22 18:40:52 2018 +0100
networkmanager: fix gobject-introspection/musl and cleanup
* musl fixed (tested)
* PACKAGECONFIG systemd: Logic was broken by c5a046. To avoid
further confusion, the expression was put into one line.
* PACKAGECONFIG wifi: The expression 'bb.utils.filter.. ' was perfectly fine.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Pystache is a Python implementation of Mustache. Mustache is a
framework-agnostic, logic-free templating system inspired by ctemplate and et.
Like ctemplate, Mustache "emphasizes separating logic from presentation: it is
impossible to embed application logic in this template language."
Signed-off-by: Christian Poessinger <christian@poessinger.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what’s found in Microsoft Windows INI files.
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>