Update automatic package generator

- add DEB package creation functionality
- update RPM spec file to work with SLES

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
Rafal Stefanowski
2020-09-14 14:17:28 +02:00
parent bc5c92d3ed
commit ef70bce154
13 changed files with 291 additions and 42 deletions

21
utils/pckgen.d/deb/debian/rules Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/make -f
# output every command that modifies files on the build system
#export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_configure :
./configure
override_dh_auto_install :
make install_files DESTDIR="$(shell pwd)/debian/tmp"
override_dh_installsystemd :
dh_installsystemd --no-start
override_dh_missing :
override_dh_gencontrol :
dh_gencontrol -- -Vkver="$(shell uname -r)"