integ/virt/kvm-timer-advance/debian/deb_folder/rules
Leonardo Fagundes Luz Serrano 4cb5d17a7f Add debian package for virt/kvm-timer-advance
Add debian packaging infrastructure for virt/kvm-timer-advance
to build a debian package.

Verification:
- build-pkgs;
- build-image;
- Same contents and permissions as RPM;

Story: 2009101
Task: 44038

Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Change-Id: Ie5574facc36c37764c988809729dd0f30347cb72
2021-12-21 11:32:47 -03:00

16 lines
422 B
Makefile
Executable File

#!/usr/bin/make -f
ROOT := $(CURDIR)/debian/tmp
%:
dh $@
override_dh_install:
install -d -m 755 $(ROOT)/etc/kvm_timer_advance
install -p -D -m 755 setup_kvm_timer_advance.sh $(ROOT)/usr/bin/setup_kvm_timer_advance.sh
install -p -D -m 444 kvm_timer_advance_setup.service $(ROOT)/usr/lib/systemd/system/kvm_timer_advance_setup.service
dh_install
override_dh_fixperms:
dh_fixperms -Xkvm_timer_advance_setup.service