Add files for fm-rest-api deb packaging

Add control and rules files to generate fm-rest-api deb following
StarlingX/MultiOS/Debian Wiki.

Change-Id: Iad365e637269029cf7a371e29362dda0648a1ba9
Story: 2004792
Task: 33571
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
This commit is contained in:
Marcela Rosales 2019-06-03 14:25:56 -05:00
parent 41b8202508
commit 8520ae7d80
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,15 @@
Source: fm-rest-api
Priority: extra
Maintainer: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
Build-Depends: python-setuptools,
python-all,
debhelper,
dh-python,
fm-common-dev
Standards-Version: 3.9.6
Package: fm-rest-api
Architecture: all
Depends: ${misc:Depends},
${python:Depends}
Description: This package contains the fm-rest-api project.

7
fm-rest-api/debian/rules Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_INSTALL_ARGS=--install-data=/usr/share --prefix=/usr
%:
dh $@ --with python2 --buildsystem=pybuild