Age | Commit message (Collapse) | Author | Files |
|
Change summary is as follows:
3737a5f72234 Linux 4.9.13
d00400605597 xfs: clear delalloc and cache on buffered write failure
57d759622aa7 rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
1cb3de83ab74 block: fix double-free in the failure path of cgwb_bdi_init()
62c153f346fe ACPICA: Linuxize: Restore and fix Intel compiler build
8f9872be6db9 netfilter: nf_ct_helper: warn when not applying default helper assignment
e6bdd8d2fffc goldfish: Sanitize the broken interrupt handler
2709c2a1b016 x86/platform/goldfish: Prevent unconditional loading
fef3fdf2d83c USB: serial: console: fix uninitialised spinlock
960a38eae80a USB: serial: ark3116: fix register-accessor error handling
a2ce74e35d5f USB: serial: opticon: fix CTS retrieval at open
a1fc6fb5f31e USB: serial: spcp8x5: fix modem-status handling
26805681a45d USB: serial: ftdi_sio: fix line-status over-reporting
a1510a8c0ded USB: serial: ftdi_sio: fix extreme low-latency setting
f3d56f7a586e USB: serial: ftdi_sio: fix modem-status error handling
4420e0f8fddf USB: serial: cp210x: add new IDs for GE Bx50v3 boards
308a96c857cc USB: serial: mos7840: fix another NULL-deref at open
9ab870e7425c tty: serial: msm: Fix module autoload
1a0e2594ef76 net: socket: fix recvmmsg not returning error from sock_error
481aedf869fb ip: fix IP_CHECKSUM handling
7c56012e92b5 ptr_ring: fix race conditions when resizing
c2219da51664 irda: Fix lockdep annotations in hashbin_delete().
f23fd87e154f vxlan: fix oops in dev_fill_metadata_dst
171d92a9d915 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
6c854afc5399 net: neigh: Fix netevent NETEVENT_DELAY_PROBE_TIME_UPDATE notification
9206efc8a1f7 packet: Do not call fanout_release from atomic contexts
722737f27774 packet: fix races in fanout_add()
e0cb28247882 net: ethernet: ti: cpsw: fix cpsw assignment in resume
42b52783a59c net/llc: avoid BUG_ON() in skb_orphan()
859900c24bff net/mlx5e: Disable preemption when doing TC statistics upcall
90aa7993d5c7 kcm: fix a null pointer dereference in kcm_sendmsg()
1409935400aa kcm: fix 0-length case for kcm_sendmsg()
ae7d43192ff2 Linux 4.9.12
7b0712345376 videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB
8629aed2387c bcache: Make gc wakeup sane, remove set_task_state()
68214ad3926c ntb_transport: Pick an unused queue
f42026015094 ntb: ntb_perf missing dmaengine_unmap_put
43325382fc7a NTB: ntb_transport: fix debugfs_remove_recursive
215d4d62ccfd timekeeping: Use deferred printk() in debug code
7ee210365adf printk: use rcuidle console tracepoint
5c3765bbc1db PCI/PME: Restore pcie_pme_driver.remove
48a415827882 Revert "i2c: designware: detect when dynamic tar update is possible"
17c443421458 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
808de347ebd4 futex: Move futex_init() to core_initcall
dfe8f5757ec4 drm/dp/mst: fix kernel oops when turning off secondary monitor
7499da90c0cc drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
19d2d869d00e Input: elan_i2c - add ELAN0605 to the ACPI table
a975e8e81e55 Fix missing sanity check in /dev/sg
a026c97e8824 scsi: don't BUG_ON() empty DMA transfers
920b60aa3cc2 powerpc/64: Disable use of radix under a hypervisor
ef746a305de3 mmc: core: fix multi-bit bus width without high-speed mode
80a0477665d0 fuse: fix uninitialized flags in pipe_buffer
7283448f8273 fuse: fix use after free issue in fuse_dev_do_read()
6cf921be8fb9 siano: make it work again with CONFIG_VMAP_STACK
166a2464cdcf vfs: fix uninitialized flags in splice_to_pipe()
eee1550b3e89 Linux 4.9.11
724aedaa5ca6 x86/fpu/xstate: Fix xcomp_bv in XSAVES header
0d4c19ee68c9 tcp: don't annotate mark on control socket from tcp_v6_send_response()
0e0751cdfa46 net/mlx5: Don't unlock fte while still using it
7c4c32a2976e tcp: fix mark propagation with fwmark_reflect enabled
16a3fbe5239a igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
53a76d633b86 mld: do not remove mld souce list info when set link down
5b1bb4cbd7ec l2tp: do not use udp_ioctl()
12758a282435 net: dsa: Do not destroy invalid network devices
a700cf26a3be ping: fix a null pointer dereference
82849541895f packet: round up linear to header len
6ebde312a8ed net: introduce device min_header_len
4cd0362114c8 sit: fix a double free on error path
2b7f50d67f5d lwtunnel: valid encap attr check should return 0 when lwtunnel is disabled
00eff2ebbd22 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
4400acce6881 mlx4: Invoke softirqs after napi_reschedule
970390fd5d53 catc: Use heap buffer for memory size test
61bf9f381c38 catc: Combine failure cleanup code in catc_probe()
e898f6f008aa rtl8150: Use heap buffers for all register access
878b015bcc72 pegasus: Use heap buffers for all register access
b90cb484c068 macvtap: read vnet_hdr_size once
26989c9d9904 tun: read vnet_hdr_sz once
0f895f51a831 tcp: avoid infinite loop in tcp_splice_read()
1e340bb22af3 ipv6: tcp: add a missing tcp_v6_restore_cb()
ae1768bbbc46 ip6_gre: fix ip6gre_err() invalid reads
66cdd4347573 netlabel: out of bound access in cipso_v4_validate()
f5b54446630a ipv4: keep skb->dst around in presence of IP options
d5b6fd77519d net: use a work queue to defer net_disable_timestamp() work
455a457780b6 stmmac: Discard masked flags in interrupt status register
ca876dff1e8c tcp: fix 0 divide in __tcp_select_window()
e6fbace87c7b ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
a7fe4e5d0633 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
6c8556f6e114 net/sched: matchall: Fix configuration race
64cc7ef5cf1d net/mlx5e: Fix update of hash function/key via ethtool
adf86d59bb9b can: Fix kernel panic at security_sock_rcv_skb
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
There are several issues with rpmdeps after the rpm v5 -> v4 transition:
* _rpmfc_magic_path is an invalid option for rpm4
* --rpmpopt is an invalid option for rpm4
* we need to use the path to rpmrc since otherwise it poitns at the
original build path
* we need to set MAGIC in the environment so libmagic can find its
files.
This patch addresses those and ensures rpmdeps works in relocated builds
from sstate (or with rm_work).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This is used by some of our proxy scripts but isn't required for all
builds so add to HOSTTOOLS_NONFATAL.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This causes MBs of log messages which overload the standard 200kb syslog limit
used by busybox syslog by default. This means some tests which rely on messages
being detected in syslog, e.g.
rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size
fail (AssertionError: 54 not greater than or equal to 80 : Cound not find sufficient
amount of rpm entries in /var/log/messages, found 54 entries).
We enabled this to aid debugging of some systemd race issues, those are
now resolved so we can disable this. Leave the log level parameter as a
comment to save others having to look it up if they need debugging.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
After discussions with upstream this version of the patch was proposed
and is being submitted to upstream u-boot. Update to that version
(which is better than my workaround).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This ensures that remapping happens correctly, particularly
when package groups list noarch packages, and multilib is in use. Previously
this was masked by rpm doing *another* layer of remapping on top of this.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
not add multilib prefix to package arch
This is done for reasons I cannot establish, and greatly complicates the code
that installs packages into rootfs.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
It breaks rpm 4.x because musl is printing an error message
when the symbol is not found, and rpm takes it as an actual error.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Packages need to contain just one value for the os field, otherwise
rpm will refuse to install them if they don't match what is in
/etc/rpm/platform.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
nativesdk-* rpm packages all require /bin/sh because postinst scriptlets
are run with it. We can either teach rpm4 and dnf to ignore that dependency
(a lot of non-upstreamable work), or add auto-satisfy the dependency
in each package. I've chosen to do the latter.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
The logic is scattered all over the place, but amounts to
"install, unless the rootfs is read only". Let's express that directly.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
signing key
The parsing fails on my machine, and we use a key with a hardcoded name,
and so can provide it directly.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This means
a) calling rpmkeys and rpmsign instead of rpm
b) instructing gpg to run non-interactively; otherwise on my machine
it pops up windows requesting a key passphrase
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
prints
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This was fetching and building the toolchain and everything else
against empty download dir and sstate cache, and so was enormously slow.
The test does not need that, it only checks that one fetch task fails and
another succeeds when using bitbake's -k option.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This is the ${W}/package directory which may be reused in subsequent builds.
Also clean up various default directories rpm 4 creates.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
It's handled by the rpm wrapper command, created in rpm recipe.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
To properly look at this patch, you probably need a side-by-side diff viewing tool.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Previously they were swapped, not sure why. Their meaning, as far as rpm
world goes, is different:
- Recommends is a soft dependency and will be installed by default; there is
an option not to do that.
- Suggests is a suggestion to be picked up and presented to end user by
package management tools; it has no special meaning otherwise.
OE packages use RRECOMMENDS, which should be mapped to Recommends rpm tag,
so that the packages will be picked up as dependencies.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
No need to store the configuration as class members,
just pass it directly into the method.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
instead of "all"
Too many places in dnf/rpm4 stack make that assumption; let's not fight against it.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Version 6.x of Berkeley DB has been rejected by open source community due to its hostile
AGPLv3 license; both Fedora and Debian are sticking with db 5.x - and by extension,
all the open source projects are still developed and tested with db 5.x
In oe-core the only thing that was requiring db 6.x was rpm 5.x, and so there's no reason
to continue carrying db 6.x in oe-core. If someone needs API features that are only available in
db 6.x, it can be re-added to meta-oe.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This is replacing Smart package manager, which is unsupported upstream, and has a growing
amount of issues (lack of python 3.x support in particular). We identified dnf as
the only feasible replacement.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
libdnf is required by dnf.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
The dnf stack is written and tested against rpm 4.x. So if we want to use dnf for packaging,
we should also use rpm 4 - there's simply too much work involved in making rpm 5 work with it due
to significant API differences, and supporting that going forward.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This is the current C reimplementation/replacement of the original createrepo.
https://github.com/rpm-software-management/createrepo_c/wiki
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
The source code is incompatible with rpm4 API - let's use rpm
binary itself for now.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
This is required by libdnf.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
rpm4 installs them in different locations than rpm5. This also replaces
our custom rpmdeps-oecore with standard rpmdeps; I'm not seeing a
significant performance penalty.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Also fixes a use before defined bug with localdata.
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
There was a race condition in the uboot-extlinux bbclass where
only a half written extlinux.conf would be put in the deploy
directory. Fix this by adding the deploy task after the do_install
rather than after the do_compile.
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Now that we filter out PATH to only the utilities we rely upon, the devshel
terminal was broken since it can no longer find the terminals. Even if
we fix that, the user couldn't access any of their commands within
devshell which somewhat defeats its purpose.
Add the original PATH back to the environment to restore that behaviour
since this is more in line with user expectations and it wouldn't be possible
(or desireable) to whitelist all the commands a user might want to use from
the shell.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
libcomps is required by dnf.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
librepo is needed by dnf and libdnf.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
It is needed by dnf, and only when using Python 2.x, so can
be dropped after moving dnf/rpm4 stack to Python 3.x.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
python-iniparse is required by dnf.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
python-pygpgme is required by dnf.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
As of this commit:
39f5a05152aa0c3503735e18dd3b4c066b284107
patchelf no longer inflates file sizes. Since the files are no longer
inflated by patchelf, we can skip using cp with the --sparse option.
More details as to how patchelf has changed are available in that
commit log.
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This is causing a problem in multilib where base-files and lib64/32-base-files
clash because they may have different dates. Also, if the package is coming
from sstate it has an incorrect date anyway.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
As it varies from one machine to another.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
It's a machine-specific script, which is causing conflicts
when multiple versions of bash are installed in multilib setting,
and it also does not really make sense for embedded systems anyway.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|