The patch changes the same file twice which causes issues with some patch
tools (not used in YP by default). Refresh the patch to clean this up
anyway.
The check for a git HEAD still wasn't quite correct because it was using
the .git directory as the current working directory. Instead, it should
be passed as the --git-dir argument when running git. Running `git
rev-parse HEAD` in a .git directory with no HEAD reports 'HEAD' and
exits with success but then 'git log' will fail, which is not what we
want.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This progress handler intercepts log output, stripping any ANSII color
escape codes. Then the stripped output is fed to the underlying progress
handler which will render the progress bar as usual.
Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Matt Madison [Tue, 28 Jul 2020 12:04:40 +0000 (05:04 -0700)]
cogl-1.0: correct X11 dependencies
cogl depends on libxdamage when configured for X11 support.
A dependency was added for this in 2012 with 959a2f6d88d8fa6874fff83b7a1f0e7d4e36b887, but that addition
was lost when the recipe was reworked in 2013 with b508fdd2b19ca30da8d09caf646897dc4cf195c8. That commit also
added a dependency on libxi, which is not actually needed.
The missing dependency doesn't cause problems in most cases,
since mesa also depends on libxdamage, but when an alternative
opengl implementation such as libglvnd is used, cogl fails
to configure.
Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 27 Jul 2020 21:48:02 +0000 (22:48 +0100)]
gcc: Fix mangled patch
To quote Zhuang <qiuguang.zqg@alibaba-inc.com>:
"""
A few days ago, I tried to compile a gcc plugin with the toolchain from poky sdk.
It failed with errors about missing header files such as backend.h etc.
After investigation, I found that the problem was brought by a gcc patch:
0012-gcc-Fix-argument-list-too-long-error.patch (which is considered derived from the original patch)
It changes the commands of install-plugin, making the sorting taken effect before the shell globs.
Thus results in the header files under gcc $(srcdir) being not installed.
By checking log.do_install, we can find that the `headers=' statement to run is incorrect and will not work as expected:
headers="$(cd *.def) *.h ../../../../../../../work-shared/gcc-10.1.0-r0/gcc-10.1.0/gcc/../include/ansidecl.h ...
As the patch says,
"The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, ..."
my suggestion is that we can simply take care of PLUGIN_HEADERS
using the original proposed sort.
"""
This fixes the gcc patch as proposed as it does appear its been
broken over time.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Thu, 23 Jul 2020 06:51:20 +0000 (14:51 +0800)]
layer.conf: fix adwaita-icon-theme signature change problem
allarch package adwaita-icon-theme inherit both allarch and
gtk-icon-cache, since commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62
[gtk-icon-cache.bbclass: add runtime dependency], it start depend on
non-allarch packages gdk-pixbuf and gtk+3, which make it's signature
changes when machine changed.
the only way to fix this is remove the task dependency.
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS not work in class, so add it in
layer.conf.
Maybe we have other recipes under other layers have similar problem, we
can only add one by one to its layer.conf, seems not a good idea. but
add *->pixbuf will influence other packages
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When applying patch subject is including a " fuzz ", do_patch_qa detect
Fuzz.
After the patch is applied, the following log message appears.
Applying: meson: treat all fuzz cases as unit tests
The current Fuzz detection checks for the presence of "fuzz" in this
log message. The log in this example will be treated as Fuzz,
despite its success.
This patch change to more strictly fuzz detection.
if log message is including " fuzz " and "Hunk " in log message,
it will be treated as Fuzz.
Signed-off-by: Naoto Yamaguchi <wata2ki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Sun, 26 Jul 2020 14:10:06 +0000 (16:10 +0200)]
cve-update: handle baseMetricV2 as optional
Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 26 Jul 2020 14:02:20 +0000 (15:02 +0100)]
perl: Avoid race continually rebuilding miniperl
When we run "make install" we notice miniperl rebuilding multiple times.
Usually this is harmless however sometimes race issues occur such as
miniperl not being executable.
The issue is that crosspatch is a phony target so it always rebuilds.
Adding this as a dependency of miniperl means miniperl always rebuilds
too.
Avoid this by injecting a direct dependency avoiding the phony target.
miniperl is then only rebuilt when its input changes as desired.
Patch submitted to upstream perl-cross.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lee Chee Yang [Fri, 24 Jul 2020 04:16:24 +0000 (12:16 +0800)]
checklayer: check layer in BBLAYERS before test
layer under test should absent from BBLAYERS when running
yocto-check-layer. This allow to get signatures before layer
under test. There are existing steps to add the layer under
test to BBLAYERS after getting initial signatures.
add steps to check for layer under test in BBLAYERS before
running any test, skip test for the layer if the layer under
test exist in BBLAYERS.
[YOCTO #13176]
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tune include for armv8.2a. This adds support only for bare armv8.2a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrei Gherzan [Fri, 24 Jul 2020 17:12:05 +0000 (18:12 +0100)]
initscripts: Fix populate-volatile.sh bug when file/dir exists
The blocks which test for entry exitence (file or directory) use a
`A && B || C` syntax. This form is not behaving as a if-then-else block
even the code logic assumes that. C may run when A is true which breaks
the case where VERBOSE is 'no' but the file/directory exists.
Along with fixing these specific issues, this patch fixes the other
instances where blocks of form `A && B || C` are used as if-then-else.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Wed, 8 Jul 2020 11:09:35 +0000 (13:09 +0200)]
rootfs-post: remove traling blanks from tasks
remove the traling blanks before the ;-delimiter, so one could use
"_remove" to avoid running tasks like 'rootfs_update_timestamp',
which are currently hardcoded and not bound to any
configurable feature flag
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khasim Mohammed [Thu, 23 Jul 2020 09:51:50 +0000 (15:21 +0530)]
wic/bootimg-efi: Add support for IMAGE_BOOT_FILES
List of files defined using IMAGE_BOOT_FILES are installed into
the boot partition when preparing an image using the wic tool with
the bootimg-efi source plugin.
The code snippet introduced is taken as is from bootimg-partition.py
Change-Id: I8dbb6b4e7c24870f587a6f31e6ae4a87d7033782
Issue-Id: PLATFORMS-3134 Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes:
Added knowledge about -fprofile-{correction,reorder-functions,values}.
ccache now handles the Intel compiler option -xCODE (where CODE is a processor feature code) correctly.
Added support for NVCC's -Werror and --Werror options.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lee Chee Yang [Thu, 23 Jul 2020 01:16:13 +0000 (09:16 +0800)]
buildhistory: use pid for temporary txt file name
buildhistory create .txt file bh_installed_pkgs.txt and
bh_installed_pkgs_deps.txt while listing down installed package.
These file is later removed in buildhistory_get_installed().
when multiple process runs in parellal there are chances to race for
the file where one process created the file while another task remove
the file right after it.
using different file name for each process should avoid the race. So
add PID to the file name to make it unique.
[yocto #13709]
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dan Callaghan [Thu, 23 Jul 2020 08:50:31 +0000 (18:50 +1000)]
stress-ng: create a symlink for /usr/bin/stress
In commit 72641004, stress-ng was made to provide the stress package,
because it's backwards compatible with the old stress command. But it
doesn't actually provide /usr/bin/stress which is what other recipes
depending on stress will expect.
Symlink /usr/bin/stress to stress-ng so that it actually becomes
a drop-in replacement for stress.
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Matthew [Wed, 22 Jul 2020 19:35:30 +0000 (15:35 -0400)]
ltp: remove --with-power-management-testsuite from EXTRA_OECONF
Commit [b74bbed51b0c0d44b70b136326a8a23cbc64db01 power_management:
compile testcases/kernel/power_management by default] from ltp upstream
removed --with-power-management-testsuite option, it's on by default.
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Wed, 22 Jul 2020 20:02:22 +0000 (22:02 +0200)]
net-tools: upgrade to latest revision in upstream repo instead of old debian snapshot
* debian switched to upstream snapshot as well in 2015:
net-tools (1.60+git20150829.73cef8a-1) unstable; urgency=medium
* After 14 years without an upstream release, I am producing a new package
based on today's upstream repository. Closes: #391495, #486448, #323261, #260587, #545328, #511395.
* Remove many patches now merged upstream, delete unmaintainable and
undocumented local changes, and update the rest.
-- MartÃn Ferrari <tincho@debian.org> Mon, 07 Sep 2015 01:54:07 +0000
* this allows dropping nettools_do_patch task and other weird parts of the recipe
* LIC_FILES_CHKSUM change is caused by formatting changes in: d613e1d Updated COPYING file.
* patches now included in upstream:
0001-added-ull-prefix-to-unsigned-long-long-constants-to-.patch eb04ef3 added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy
ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch 81814dc ifconfig interface:0 del <IP> will remove the aliased IP on IA64
musl-fixes.patch (only lib/inet_sr.c and netstat.c chunks weren't applied, but
maybe not needed anymore) 86b2c77 Remove support for IPV6 with libc5 and glibc 2.0 ecae4b3 lib/util-ank: Include <limits.h> for UINT_MAX c35607e Remove inconsistent conditional includes for libc5 and glibc 2.0
net-tools-1.60-sctp1.patch
net-tools-1.60-sctp2-quiet.patch
net-tools-1.60-sctp3-addrs.patch 7af4859 netstat: update SCTP support 3bbfa09 statistics: add SCTP support 4932915 Add netstat -S/--sctp parameter into help and manpages 8306063 netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714)
0001-lib-inet6.c-INET6_rresolve-various-fixes.patch a70c568 lib/inet6.c:INET6_rresolve() - various fixes
net-tools-fix-building-with-linux-4.8.patch ea3935b iptunnel: fix building w/older linux headers 45d573a iptunnel: drop netinet/ip.h include
* New upstream snapshot
* Refresh patches.
* Fix typos in German manpages. Thanks to Prof. Dr. Steffen Wendzel and
Dr. Tobias Quathamer for the patch. Closes: #900962.
-- MartÃn Ferrari <tincho@debian.org> Mon, 24 Sep 2018 19:08:57 +0000
* Fix typo in French manpage. Thanks to Michel Grigaut for the patch.
* Add manpage for iptunnel, thanks to Sergio Durigan Junior. Closes: #88910
* Rename patches so CME does not choke on them.
* Automated cme fixes; packaging improvements.
* Remove unused and ancient patch.
-- MartÃn Ferrari <tincho@debian.org> Sun, 11 Feb 2018 17:29:24 +0000
* New upstream snapshot.
* Re-synced translations.patch.
* Acknowledge NMUs. Thanks a lot to Andrey Rahmatullin for the
fixes and uploads. Closes: 846509.
* Fix FTCBFS, thanks to Helmut Grohne for the patch. Closes: #811561.
+ Really assign CC for cross compilation.
+ Use triplet prefixed pkg-config.
* Add debian/NEWS warning about changing output in net-tools commands.
Closing bugs that reported problems in 3rd-party scripts arising from these
changes. Closes: #845153, #843892, #820212.
* Update Standards-Version, with no changes.
-- MartÃn Ferrari <tincho@debian.org> Mon, 26 Dec 2016 05:58:42 +0000
* After 14 years without an upstream release, I am producing a new package
based on today's upstream repository. Closes: #391495, #486448, #323261, #260587, #545328, #511395.
* Remove many patches now merged upstream, delete unmaintainable and
undocumented local changes, and update the rest.
-- MartÃn Ferrari <tincho@debian.org> Mon, 07 Sep 2015 01:54:07 +0000
net-tools (1.60-27) unstable; urgency=medium
* Add patch to accept "pointtopoint" as a synonym for "pointopoint". Closes: #443075.
* Add patch to add an example for single route deletion in route.8. Closes: #500913.
* Remove Luk from Uploaders as per his request. Closes: #748491.
* Fix broken watchfile, thanks to Martin Bagge for the patch.
Fix upstream homepage. Closes: #770070.
* Add patch to make mii-tool scan all ethernet devices instead of eth[0-7]. Closes: #532879, #319508.
* Add Vcs fields.
* Update build system to debhelper 9 and 3.0 source format.
* Update ancient Standards-Version, no changes needed.
-- MartÃn Ferrari <tincho@debian.org> Sun, 06 Sep 2015 17:44:11 +0300
Set with-rundir to a known path instead of letting configure decide
which is the best folder to store the timestamp files. This is required
otherwise it might end up at /sudo, which will cause errors on a ro
filesystem.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Tue, 21 Jul 2020 03:06:03 +0000 (11:06 +0800)]
gtk-immodules-cache.bbclass: fix post install scriptlet error
package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default.
when install package gtk-immodule-xim, it is possible met below error:
/var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory
warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1
fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
settimeofday(2) has been deprecated as of glibc 2.31
which hwclock makes use of. This patch makes hwclock
compatible with glibc v2.31
See patch for more details:
busybox/0001-hwclock-make-glibc-2.31-compatible.patch
Fixes [YOCTO #13981]
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- expat_2.2.9.bb recipe was switched on cmake-based building system to
avoid cahnges in autotools build system which considered in upstream as
potentially deprecated (https://github.com/libexpat/libexpat/issues/330).
- cmake-native_3.17.3.bb recipe was forced to use bundled version of
expat from CMake source tree. Therefore expat-native package has been removed
from DEPENDS variable for cmake-native recipe. Without
these changes, next dependency loop appears:
- run-ptest script that initalizes testing, copies testing
executables' output to log file and measures execution time of each testing
executable was added.
- patch that implements output of each testcase result in testing exectutable
was added.
Signed-off-by: Oleksandr Popovych <oleksandr.s.popovych@globallogic.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
classes/package: Use HOST_OS for runtime dependencies
The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).
Fix the code to use HOST_OS instead.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM
variables. The HOST variables should be used instead of
TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for
where the package is going to run (the host), not what it will be
generating output for (the target). The distinction is only really
relevant when building canadian cross recipes.
Also fix up the host OS detection to account for MinGW by setting
CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw
to patch this in all the cmake recipes it builds.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes an error that occurs when attempting to get the timestamp of the
latest commit when there is no HEAD in the git repository. The easiest
way to trigger this condition is to use the 'subdir=' option when
specifying a 'git://' SRC_URI.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 20 Jul 2020 10:54:33 +0000 (11:54 +0100)]
oeqa/qemurunner: Add priority/nice information for running processes
We're seeing failures due to system load. In theory we've set process
nice levels which should compensate for this. Add debugging so we can
find out if they're being correctly applied.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
He Zhe [Mon, 20 Jul 2020 07:39:17 +0000 (15:39 +0800)]
cryptodev-module: Backport a patch to fix build failure with kernel v5.8
Fix the following build failure with linux-yocto-dev
zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
61 | down_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
77 | up_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 17 Jul 2020 12:56:34 +0000 (08:56 -0400)]
kernel-devsrc: fix on-target module build for v5.8+
The kernel build is now more sensitive to changing build inputs,
like the compiler, linker, source tree location, versions, file
timestamps, etc.
When a difference is detected, the kernel build invokes a syncconfig
to update/regenerate files as required. That process may prompt, and
hence breaks automated tested and other workflows.
By default, we don't want this to happen so we make sure that auto*
timestamps are newer or equal to the .config timestap, we ensure that
autoconf.h is in the filesystem and that we've substituted the
cross tools used to build the kernel with the names that will be
on the target.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 17 Jul 2020 12:56:33 +0000 (08:56 -0400)]
kernel-yocto: account for extracted defconfig in elements check
The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 17 Jul 2020 12:56:31 +0000 (08:56 -0400)]
linux-yocto/5.4: update to v5.4.51
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1c54d3c15afa Linux 5.4.51 8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely 43986c32ee00 dm zoned: assign max_io_len correctly 215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts 64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order() 2a9278ac9c55 irqchip/gic: Atomically update affinity 7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops 4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir 2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk 94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates 032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen 2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names 71a20b798da3 cifs: Fix the target file was deleted when rename failed. 49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts 7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts 0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation" fe05e114d0fd nfsd: apply umask on fs without ACL support 4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths 9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665 a632f91f7a9c samples/vfs: avoid warning in statx override cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk c64141c68f72 nvme: fix identify error status silent ignore 7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts 8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe() f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling c84138b3c162 nfsd: fix nfsdfs inode reference count leak 2571e1735602 nfsd4: fix nfsdfs reference count loop 31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183 c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add() 3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly 0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context 6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison f68bda772639 cxgb4: fix endian conversions for L4 ports in filters 180fbf10a26d cxgb4: parse TC-U32 key values and masks natively 0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp 8a1b8e64204e RDMA/counter: Query a counter before release 53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop 60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock() 5d6b46a94dbb tpm: Fix TIS locality timeout problems 563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash 1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put 5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work c4f007d3dbdd nvme-multipath: set bdi capabilities once 8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages 517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names 6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings 3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect 0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab() 542d541c1edd sched/debug: Make sd->flags sysctl read-only ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal 58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h d0e533584a05 mm: fix swap cache node allocation mask 1c4404efcf2c io_uring: make sure async workqueue is canceled on exit
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.
error: cannot open Packages index using db5 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.
- Pass the absolute path when extracting members from SquashFS images as we
run the command with our working directory set to the temporary
directory. (Closes: #964365, reproducible-builds/diffoscope#189)
- Increase the minimum length of the output from strings(1) to 8 characters
to avoid unnecessary diff noise. (Re. reproducible-builds/diffoscope#148)
* Logging improvements:
- Fix the compare_files message when the file does not have a literal name.
- Reduce potential log noise by truncating the has_some_content messages.
* Codebase changes:
- Clarify use of a "null" diff in order to remember an exit code.
- Don't alias a variable when don't end up it; use "_" instead.
- Use a "NullChanges" file to represent missing data in the Debian package
comparator.
- Update some miscellaneous terms.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu: fix for virtfs configuration error in qemu 5.0.0
Add --enable-cap-ng as virtfs dependency in qemu configuration.
When using meta-virtualization layer, qemu requires virtfs,
but during do_configure stage below error message shows up:
ERROR: VirtFS requires libcap-ng devel and libattr devel
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>