Co-authored-by: Henry Beberman <henry.beberman@microsoft.com>
Fixes issue #6598 which is a crash on selection in tmux. The fix requires an update to ncurses and a patch to tmux. From the patch comments:
```
ncurses-6.4-20230408 change tparm to require cur_term, which broke tmux usage of it.
ncurses-6.4-20230423 then added tiparm_s that allows usage without cur_term.
tmux change 39d41d0810 uses tiparm_s if it exists, but cannot be cleanly applied to tmux tag 3.2a.
That change uses a config setting to created #defines to determine which version of tparm it should use, and only conditionally uses tiparm_s, because it needs to be backwards compatible with previous versions of ncurses.
But to use that, we would need to get the actual source as it appears in github, rather than the released version (they are different downloads: see https://github.com/tmux/tmux/releases).
Fortunately, we have the luxery of forcing tmux to use a version of ncurses that has the function we want (see above).
Given all this, this patch takes the change to use tiparm_s, removes the conditional compilation portion so it always uses tiparm_s and applies it to the code as it exists in 3.2a.
It has both a build-time and run-time dependency on ncurses-6.4-20230423 or later.
```
The KUBE_GIT_VERSION_FILE seems to be not present in the release.
Use the alternative KUBE_GIT_VERSION instead.
Fixes: https://github.com/microsoft/CBL-Mariner/issues/6719
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This change introduces a new x86_64 kernel, kernel-mos, for the purpose of offering a kernel which has newer drivers available then those offered in 5.15 LTS. These newer drivers include newer AMDGPU drivers. This change does not provide an ARM64 kernel.
Kernel-mos pulls from a different source than the generic kernel RPM. The kernel-mos RPM uses the rolling-lts/mariner-2-mos/5.15.y.w tag which contains the additional feature branch for amdgpu drivers.
The kernel-mos.spec also introduces the following subpackages:
kernel-mos-devel: includes the source needed to build kernel-level software
kernel-mos-drivers-accessibility: contains drivers under accessibility
kernel-mos-drivers-gpu: contains drivers under gpu (including amdgpu)
kernel-mos-drivers-sound: contains drivers under sound
kernel-mos-docs: contains the kernel docs
kernel-mos-tools: common linux tools such as cpufreq
kernel-mos-python3-perf: contains the python perf tools
kernel-mos-bpftool: contains bpftool used to inspect btf data
Kernel-mos-signed.spec is also being introduced to allow for signing of the kernel to enable secureboot.
v0.14.0 of the gonum package has a breaking change in the YenKShortestPaths function.
The function now takes an additional argument of cost and returns paths less than the cost.
To have the same semantic behavior prior to this change update arguments in YenKShortestPaths
by assigning `cost == math.Inf(1)`.
Reference: https://github.com/gonum/gonum/pull/1863
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>