Files
sharang bhardwaj 8129d5d6b1 Update platform-armada-app for bullseye/trixie
Aligned the package layout with the concurrent Debian packaging
conventions. Moved package files under 'debian/all/' to avoid
duplication across OS builds and removed legacy paths under 'debian/'.

Updated related build references to ensure compatibility across all
supported OS codenames

Test-Plan:
PASS: master bullseye build
PASS: AIO-SX deploy

Story: 2011360
Task: 53239

Change-Id: I7c520381977f2406eb6cd205494ceb4aced0c5a0
Signed-off-by: sharang bhardwaj <sharang.bhardwaj@windriver.com>
2025-12-10 01:04:23 -05:00

34 lines
812 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export APP_NAME = platform-integ-apps
export PYBUILD_NAME = k8sapp-platform
export DEB_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
export MAJOR = $(shell cat /etc/build.info | grep SW_VERSION | cut -d'"' -f2)
export MINOR_PATCH = $(shell echo $(DEB_VERSION) | cut -f 4 -d '.')
export PBR_VERSION = $(MAJOR).$(MINOR_PATCH)
export ROOT = $(CURDIR)/debian/tmp
export SKIP_PIP_INSTALL = 1
%:
dh $@ --with=python3 --buildsystem=pybuild
override_dh_auto_install:
env | sort
python3 setup.py install \
--install-layout=deb \
--root $(ROOT)
python3 setup.py bdist_wheel \
--universal \
-d $(ROOT)/plugins
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
override_dh_auto_test:
PYTHONDIR=$(CURDIR) stestr run