Age | Commit message (Collapse) | Author |
|
JIRA: SB-19762
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
* from-dunfell: (68 commits)
oe.rootfs: drop, upstream has the run-postinsts fix
oe.cve_check: drop, unchanged from upstream
cve-check.bbclass: drop, this is fixed upstream
cve-update-db-native: remove, this was unchanged from oe-core
mel_utils: catch SRC_URI items missing from variable history
mel.conf: Unbundle initramfs from the kernel image
mel: work around safe dir issue with METADATA_*
archive-release.bb: drop mx6 layers from SUBLAYERS_INDIVIDUAL_ONLY var
archive-release.bb: drop mentor-bsp layer from SUBLAYERS_INDIVIDUAL_ONLY var
mel_utils/dump-licenses: support multi-config scenarios
mel_utils/dump-downloads: support multi-config scenarios
Revert "mel: set https protocol for all github urls"
mel: set https protocol for all github urls
mel_utils/dump-licenses: fix wrong su dump for pkgs having no SRC_URI
packagegroup-base: Use nfs-utils-client instead of nfs-utils
scripts: recipetool: fix SPDX license identifier
96boards-tools: remove unused sed from the recipe
psplash/mel.png: Update splash screen with 2022 copyright text
mentor-staging/perl-rdepends.txt: remove spdx license header to fix build failure
Update SPDX license info in metadata
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Upstream implemented a variable for the mount base much as we did, so adjust to
use that.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
failure
This removes SPDX header from perl-rdepends.txt file to fix
following build failure for perl package.
ERROR: perl-5.30.1-r0 do_package: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:split_perl_packages(d)
0003:
File: '/data/ansar/fir_async2/oe-core/meta/recipes-devtools/perl/perl_5.30.1.bb', lineno: 335, function: split_perl_packages
0331: module = splitline[0] + '-native'
0332: depends = "perl-native"
0333: else:
0334: module = splitline[0].replace("RDEPENDS_perl", "RDEPENDS_${PN}")
*** 0335: depends = splitline[2].strip('"').replace("perl-module", "${PN}-module")
0336: d.appendVar(d.expand(module), " " + depends)
0337:}
0338:
0339:python() {
Exception: IndexError: list index out of range
JIRA-ID: SB-17889
Signed-off-by: ansar-rasool <ansar_rasool@mentor.com>
|
|
JIRA-ID: SB-17889
Signed-off-by: ansar-rasool <ansar_rasool@mentor.com>
|
|
This reverts commit c3ecf0f466305410e12796cbcade2e1b90e0dbc8.
Revert the fix as it is already available in UPSTREAM oe-core
JIRA-ID: SB-17880
Reference-link: https://github.com/openembedded/openembedded-core/
commit/5a7e1e531d70eb41638c247b70791f2f3aea8793#diff-
c7187c5e7f0c46de6125ecc1009bf0bb699d6810b7d37dcb35d8cb857a11a39c
|
|
libmodbus: add initial ptest
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
remove this recipe as UPSTREAM has same version available
JIRA-ID: SB-17302
Signed-off-by: Syeda Shagufta Naaz <SyedaShagufta_Naaz@mentor.com>
|
|
Error:
aclocal: error: too many loops
aclocal: Please contact bug-automake@gnu.org.
JIRA-ID: SB-17299
Fix:
Backport https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
?h=dunfell&id=d4b4bf172f260ee2d95088368c56de0e2155ffe2
Signed-off-by: Syeda Shagufta Naaz <SyedaShagufta_Naaz@mentor.com>
|
|
libselinux-python
This fixes the error below:
gcc: error: unrecognized command line option
‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’
Without inheriting the config, supposedly a wrong compiler is used.
Backport from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/recipes-security/selinux?h=dunfell&id=c9de7989464c7cd774e25d23496ed63ffc4ecdf6
Signed-off-by: ansar-rasool <ansar_rasool@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
This reverts commit dec3421242a4a8f68b84d7e15c0476b4b60368dc.
This patch has been fixed by updated version haveged_v1.9.13
Link: https://github.com/jirka-h/haveged/commit/
2098470a38e16173c23d176fe87c64754c2000e5
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
* Get the recipe from meta-oe dunfell branch.
* Updated version to 12.5 to get fix for CVE-2020-25694, CVE-2020-25695, CVE-2020-25696
Signed-off-by: Noor Ahsan <noor_ahsan@mentorg.com>
|
|
this tarball is already in the Siemens clearing
platform so we can avoid OSS approval process
this way.
Signed-off-by: Karim, Hafiz Abdul <HafizAbdul_Karim@mentor.com>
|
|
CVE-2021-28041 has an impact before version 8.5
so upgrading to 8.5p1 version fixes this issue.
Signed-off-by: Karim, Hafiz Abdul <HafizAbdul_Karim@mentor.com>
|
|
The current version uses our own script, but ideally we should likely patch the existing scripts to address any issues, patch the makefile to add an install-ptest rule, and ship the script and Makefile. This will do for the moment.
JIRA: MELMR-280
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Without the autoloader module, doing an Net::SSL or
Net::SSLeay fails. The Net::SSLeay package also does
an
use AutoLoader;
Ref: https://github.com/rurban/Net-SSLeay/blob/master/lib/Net/SSLeay.pm#L26
so this is evident.
Fixes: https://jira.alm.mentorg.com/browse/SB-16547
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This is noted in the base perl recipe as well but the
perl-rdepends.txt generation does not cater this properly
where it should ideally concatenate the perl-rdepends.inc
and perl-rdepends.generated to files/perl-rdepends.txt
when do_create_rdepends_inc() is run but that is just
a longer approach for now but would be the better fix
for upstream submission.
Fixes: https://jira.alm.mentorg.com/browse/SB-16547
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
We'll be adding some missing deps in the upcoming
commits.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This aligns the approach that got accepted upstream so it would
make sense to pick that up right now.
Ref: https://git.openembedded.org/openembedded-core/commit/meta/lib/oe?id=627fb3181edd71502fbdf96549c41b2dea027250
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
[dunfell] rootfs.py: fix for disabling run-postinsts on systemd
|
|
The rootfs generation mechanism removed sysV style scripts
for the run-postinsts when they were unneeded but misssed
the same case for systemd type systems. This caused the
systemd service to run unnecessarily which can cause
uninteded long booting times on platforms that do not have
enough hardware resources.
Fixes: https://jira.alm.mentorg.com/browse/SB-15658
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
In order to prep for a fix we're copying over the
rootfs.py module from oe-core. This is picked up
from dunfell commit
bec0a45393d968251059f5075add2cf633aecd1a
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This cherry-picks the fix from upstream qtbase git to fix a warning seen by `readelf -n` due to an alignment issue with the note.
JIRA: SB-16601
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
libsdl2 currently does not handle the failures that
occur due to shared memory in case of remote hosts
where it should ideally switch to socket based writing
when a failure is seen with shared memory.
Consider a scenario where a qemu build is done with
graphics support on a build machine and then accessed
remotely using ssh. If the remote host's X presents
MIT-SHM as an extension, launching qemu fails with
runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
This is most often seen when the remote machine doing
ssh is a Ubuntu 20.04. The libsdl2 native are mainly
used for qemu at this time so it is a major usecase.
A report of such a failure was also presented at
https://lists.yoctoproject.org/g/poky/topic/78854857
Fixes: https://jira.alm.mentorg.com/browse/SB-16569
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
cve-check class.
* Reapply the previus commit on new file
meta-mentor commit 6b605ad2c083e6dbe66dd75926a689690613720a
* When INHERIT += "cve-check" is added in local.conf and we build mel-initramfs-image it
fails with following error
File: 'oe-core/meta/classes/cve-check.bbclass', lineno: 101, function: cve_check_write_rootfs_manifest
0097: link_name = d.getVar("IMAGE_LINK_NAME")
0098: manifest_name = d.getVar("CVE_CHECK_MANIFEST")
0099: cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE")
0100:
*** 0101: shutil.copyfile(cve_tmp_file, manifest_name)
0102:
0103: if manifest_name and os.path.exists(manifest_name):
0104: manifest_link = os.path.join(deploy_dir, "%s.cve" % link_name)
0105: # If we already have another manifest, update symlinks
File: '/usr/lib/python3.8/shutil.py', lineno: 261, function: copyfile
0257:
0258: if not follow_symlinks and _islink(src):
0259: os.symlink(os.readlink(src), dst)
0260: else:
*** 0261: with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
0262: # macOS
0263: if _HAS_FCOPYFILE:
0264: try:
0265: _fastcopy_fcopyfile(fsrc, fdst, posix._COPYFILE_DATA)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '...deploy/images/imx6ullevk-mel/mel-initramfs-image-imx6ullevk-mel-20201027144226.rootfs.cve'
This error occur due to the reason that tmp/deploy/images folder is not created when shutil.copyfile
function call is executed. That is why /mel-initramfs-image-imx6ullevk-mel-20201027144226.rootfs.cve
could not be located in tmp/deploy/images folder. Added bb.utils.mkdirhier(deploy_dir) just before
shutil.copyfile so that tmp/deploy/images/<machine> folder gets created before the function call.
* SB-15623
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
fixes.
* Upstream fixed use lockfile to fix usage under multiconfig in commit
f08604d27ecacfd37bd37bfaf4c76f17b8f65604.
ERROR: cve-update-db-native-1.0-r0 do_populate_cve_db: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_populate_cve_db(d)
0003:
File: '/home/ashish/mgc/embedded/nano_tc2/mel-flex-os/12/workspace/oe-core/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 109, function: do_populate_cve_db
0105: if year == date.today().year:
0106: cve_f.write('CVE database update : %s\n\n' % date.today())
0107:
0108: cve_f.close()
*** 0109: conn.commit()
0110: conn.close()
0111:}
0112:
0113:def initialize_db(c):
Exception: sqlite3.OperationalError: disk I/O error
* SB-16514
* Initial comnit from oe-core commit 37a40c30709bf80c74948f47361b2be2c646c9d8
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: ahsann <noor_ahsan@mentor.com>
|
|
* origin/dunfell: (34 commits)
mel: update ADE_PROVIDER for new branding
update product owner's name to "Siemens Digital Industries Software"
mel.conf: Initial branding changes for Siemens.
mel.png: Update the splash w.r.t Siemens branding
psplash: fix failed starting Terminate Psplash Boot Screen
kbd: use our fork, add missing bison-native dep
mel.conf: set SPLASH using our distro override
local.conf.sample: conditionalize IMAGE_FEATURES_DEVELOPMENT
setup-ubuntu: drop python 2
setup-ubuntu: fix sudo handling so it's used for locale-gen
libwebsockets: Use Mentor fork which has removed prorprietory code for OSS approval. * SB-16309
Revert "setup-ubuntu: install virtualenv for toaster setup"
Update Mentor Copyright dates
setup-mel-builddir: do not depend on mentor-bsp for every machine
wic-bmap.inc: drop toaster reference
Revert switch to wic-bmap
wic_bmap: add space between IMAGE_FSTYPES
mel: use wic_bmap.bbclass rather than wic-bmap.inc
wic_bmap.bbclass: move from wic-bmap.inc
setup-mel-builddir: also fix existing_builddir var handling
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Karim, Hafiz Abdul <HafizAbdul_Karim@mentor.com>
|
|
This work isn't yet needed upstream, and is incomplete at best, but we currently require it given the CodeBench implementation, so move it to a more appropriate location.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|