laforge has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/41110?usp=email )
Change subject: debian: add osmo-s1gw.install ......................................................................
debian: add osmo-s1gw.install
The `*.install` files give precise control over what gets packaged, allowing to exclude files and/or include additional ones. This will be needed in a follow-up patches adding misc files.
Change-Id: Ia396351a73b665cbb9927b525e01ab451a6b0f78 --- A debian/osmo-s1gw.install M debian/rules 2 files changed, 8 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve
diff --git a/debian/osmo-s1gw.install b/debian/osmo-s1gw.install new file mode 100644 index 0000000..b52efe2 --- /dev/null +++ b/debian/osmo-s1gw.install @@ -0,0 +1,4 @@ +usr/bin/osmo-s1gw +usr/lib/osmo-s1gw +etc/osmocom/osmo-s1gw.config +lib/systemd/system/osmo-s1gw.service diff --git a/debian/rules b/debian/rules index ffd896c..64f526e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,5 @@ #!/usr/bin/make -f + export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/default.mk @@ -10,3 +11,6 @@ override_dh_auto_build: if [ -e build_dep.tar.gz ] ; then tar xzf ./build_dep.tar.gz ; fi dh_auto_build + +override_dh_auto_install: + dh_auto_install --destdir=$(CURDIR)/debian/tmp