Add files for fm-api deb packaging

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

Change-Id: I5a113e070c73273754efb8c4846d05ba6a25e19f
Story: 2004792
Task: 33572
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
This commit is contained in:
Marcela Rosales 2019-06-03 15:33:25 -05:00
parent 41b8202508
commit ddd5f9ff9a
2 changed files with 21 additions and 0 deletions

14
fm-api/debian/control Normal file
View File

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

7
fm-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