Native swig will read datas from hard-coded SWIGLIB or the same
environment variable.
While using sstate, the hard-coded SWIGLIB will point to the project
that create original sstates. This would cause build issues, so add
a wrapper to set the environment variable SWIGLIB to a relative path
on current sysroot.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
oe-core adds a exit handler to rw python command history file
(~/.python-history). There are no allow rules for every user&role
to use create/read/write ~/.python-history, and it is also
improper to add rules because these rules would blow up the
user&role's scope of authority.
So disable the handler, if selinux enabled.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
NOTE: package rpm-native-5.4.9-r44.1: task do_fetch: Started
ERROR: Error executing a python function in
.../meta/recipes-devtools/rpm/rpm_5.4.9.bb:
IOError: [Errno 2] No such file or directory:
'.../rpm-fix-build-bug.patch'
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Add swig recipe from meta-openembedded/meta-oe
as of commit: 2eb27e123b7a85453224f2c822d43f8572eec57a
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>