kibana, nova-libvirt: handle it properly for non-x86
manual backport from master changes: - https://review.opendev.org/#/c/712987/ - https://review.opendev.org/#/c/713403 Upstream kibana package contains NodeJS x86-64 binaries so can not be used directly on non-x86 architectures. I took upstream packages, removed NodeJS binary from it and added 'nodejs' dependency. Package is present in my Linaro OBS repository where I keep other packages needed for aarch64 kolla run. Via APT pinning I mark them as not wanted so they are not used on any architecture with two exceptions: 1. libvirt - we need fixed version to be able to use ThunderX servers 2. kibana - to be able to run it at all For x86-64 upstream kibana package is used. Closes-bug: #1867365 Change-Id: I955619d6992f8714ae753dc155e248d255340ecf
This commit is contained in:
parent
0d20f1bf36
commit
84003367bc
|
@ -0,0 +1,29 @@
|
|||
# We do not want packages from this repo
|
||||
Package: *
|
||||
Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster
|
||||
Pin-Priority: 100
|
||||
|
||||
# Unless it is kibana (on aarch64)
|
||||
Package: kibana
|
||||
Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster
|
||||
Pin-Priority: 600
|
||||
|
||||
# on x86-64 use upstream package for kibana
|
||||
Package: kibana
|
||||
Pin: release o=elastic,b=amd64
|
||||
Pin-Priority: 700
|
||||
|
||||
# We need fixed libvirt for aarch64
|
||||
Package: *libvirt*
|
||||
Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster
|
||||
Pin-Priority: 600
|
||||
|
||||
# on x86-64 we want libvirt from Debian
|
||||
Package: *libvirt*
|
||||
Pin: release o=Debian,b=amd64
|
||||
Pin-Priority: 700
|
||||
|
||||
# on ppc64le we want libvirt from Debian
|
||||
Package: *libvirt*
|
||||
Pin: release o=Debian,b=ppc64le
|
||||
Pin-Priority: 700
|
|
@ -18,3 +18,6 @@ deb http://buster-stein.debian.net/debian buster-stein-backports-nochange main
|
|||
|
||||
# td-agent for fluentd
|
||||
deb http://packages.treasuredata.com/3/debian/stretch stretch contrib
|
||||
|
||||
# kibana for non-x86 and fixed libvirt for aarch64
|
||||
deb https://obs.linaro.org/repos/home:/marcin.juszkiewicz/debian-buster ./
|
||||
|
|
Loading…
Reference in New Issue