diff options
author | Rudolf J Streif <rstreif@debian.streifs.net> | 2016-02-15 12:49:29 -0800 |
---|---|---|
committer | Rudolf J Streif <rstreif@debian.streifs.net> | 2016-02-15 12:49:29 -0800 |
commit | 576dfe598ca6b96bc28c71675bfd95eadaef15da (patch) | |
tree | b5550b77edb50571ad6852503df35b45bc0fbaa4 /Makefile | |
parent | 5d2dff6d015af28802a28d10f72e73697ff67019 (diff) | |
download | rvi_core-576dfe598ca6b96bc28c71675bfd95eadaef15da.tar.gz |
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 <rudolf.streif@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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) |