Debian: Add build structure for utilities/pci-irq-affinity-agent

This change adds the necessary files for the pci-irq-affinity-agent
package to be built for Debian.

Test Plan:
PASS: Build pci-irq-affinity-agent package
PASS: Build stx-pci-irq-affinity-agent image

Story: 2010072
Task: 47091

Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
Change-Id: I7972ea7e8beb1e869bb38cef533d782db64eaa8c
This commit is contained in:
Luan Nunes Utimura 2023-01-06 14:09:25 -03:00
parent 93318327fc
commit 75ddbe2409
9 changed files with 94 additions and 0 deletions

View File

@ -11,6 +11,7 @@ utilities/k8s-coredump
utilities/logmgmt
utilities/namespace-utils
utilities/nfscheck
utilities/pci-irq-affinity-agent
utilities/platform-util
utilities/stx-extensions
utilities/update-motd

1
debian_stable_wheels.inc Normal file
View File

@ -0,0 +1 @@
pci-irq-affinity-agent-wheels

View File

@ -0,0 +1,5 @@
pci-irq-affinity-agent (1.0-1) unstable; urgency=medium
* Initial release.
-- Luan Nunes Utimura <LuanNunes.Utimura@windriver.com> Thu, 05 Jan 2023 18:07:44 +0000

View File

@ -0,0 +1,21 @@
Source: pci-irq-affinity-agent
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-setuptools,
python3-systemd,
python3-wheel
Standards-Version: 4.5.1
Homepage: https://www.starlingx.io
Package: pci-irq-affinity-agent-wheels
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3-wheel
Description: StarlingX PCI Interrupt Affinity Agent Wheels
Contains python wheels for pci-irq-affinity-agent.

View File

@ -0,0 +1,39 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pci-irq-affinity-agent
Source: https://opendev.org/starlingx/utilities
Files: *
Copyright: (c) 2013-2023 Wind River Systems, Inc
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.
Files: debian/*
Copyright: 2023 Wind River Systems, Inc
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.

View File

@ -0,0 +1 @@
usr/share/python-wheels/*.whl

View File

@ -0,0 +1,18 @@
#!/usr/bin/make -f
# export DH_VERBOSE=1
export PYBUILD_NAME=pci-irq-affinity-agent
export ROOT=debian/tmp
export DATA_DIR=$(ROOT)/usr/share
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_install:
python3 setup.py bdist_wheel --universal -d $(DATA_DIR)/python-wheels
dh_install
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,7 @@
---
debname: pci-irq-affinity-agent
debver: 1.0-1
src_path: pci_irq_affinity
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true