integ/kubernetes/k8s-pod-recovery/debian/deb_folder/rules
Mihnea Saracin 3d5e021578 Add debian package for k8s-pod-recovery
- Built the package
- Built the iso
- Verified if the package was installed correctly

Story: 2009101
Task: 43697
Change-Id: Id10c87f9a24329b533864411075e096f56dbcd8b
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
2021-11-08 12:16:39 +02:00

28 lines
617 B
Makefile
Executable File

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
DEBIAN_DESTDIR := $(CURDIR)/debian/tmp
%:
dh $@
override_dh_auto_test:
echo
override_dh_auto_install:
echo
override_dh_install:
install -d ${DEBIAN_DESTDIR}/etc/k8s-post-recovery.d
install -d ${DEBIAN_DESTDIR}/usr/local/sbin
install -m 755 k8s-pod-recovery ${DEBIAN_DESTDIR}/usr/local/sbin/k8s-pod-recovery
install -p -D -m 644 k8s-pod-recovery.service ${DEBIAN_DESTDIR}/lib/systemd/system/k8s-pod-recovery.service
dh_install
override_dh_usrlocal:
echo