From 576dfe598ca6b96bc28c71675bfd95eadaef15da Mon Sep 17 00:00:00 2001 From: Rudolf J Streif Date: Mon, 15 Feb 2016 12:49:29 -0800 Subject: Cleaned up SysVInit init and systemd service files Removed the SysVInit init and system service files from the scripts subdirectory and added them to the packaging templates. Debian (and therefore also Ubuntu packaging) expect the init and service files in the packaging subdirectory from there debuild will pick them up automatically. Also adjusted the rules files in debian_template and ubuntu_template to remove the explicit copy of the init file. Added yocto_template to hold the init/service files for Yocto Project builds. Now all SysVInit init scripts and systemd service files are maintained with their respective OS template which makes things more transparent and compliant with the respective OS packaging rules. Signed-off-by: Rudolf J Streif --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9aaeb4f..1c594cc 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,6 @@ SRC_LIST=BUILD.md \ rel \ RELEASE.md \ scripts/setup_gen \ - scripts/rvi.service \ scripts/rvi_ctl.template \ scripts/rvi_install \ python/*.py \ @@ -106,8 +105,7 @@ ubuntu_package: clean ubuntu_clean escript tar czf ./ubuntu_build/rvi_$(VERSION).orig.tar.gz \ --exclude-vcs --transform="s|^|./rvi-$(VERSION)/|" \ $(SRC_LIST) \ - ubuntu_template \ - scripts/rvi.init.ubuntu + ubuntu_template rm -rf ubuntu/missing-sources # Unpack the created tar file (cd ./ubuntu_build; tar xf rvi_$(VERSION).orig.tar.gz) @@ -128,8 +126,7 @@ debian_package: clean debian_clean escript tar czf ./debian_build/rvi_$(VERSION).orig.tar.gz \ --exclude-vcs --transform="s|^|./rvi-$(VERSION)/|" \ $(SRC_LIST) \ - debian_template \ - scripts/rvi.init.debian + debian_template rm -rf debian/missing-sources # Unpack the created tar file (cd ./debian_build; tar xf rvi_$(VERSION).orig.tar.gz) -- cgit v1.2.1