metal/mtce-storage/debian/deb_folder/rules
Chuck Short f3142a0383 debian: Simplify mtce-storage packaging
- Ensure that the service is not started when the package
  is installed.
- Simplify debian/rules to use the Makefile in order
  to install the files that are needed.

Test Plan
PASS Build package and ISO
PASS Boot and check for goenabled-storage.service
     is not enabled.

Story: 2009101
Task: 43023

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: Id9929f3ff096e319759420ef518a67aa06bc381d
2022-03-10 18:52:52 +00:00

19 lines
315 B
Makefile

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export ROOT = debian/tmp
%:
dh $@
override_dh_auto_install:
$(MAKE) buildroot=$(ROOT) \
_sysconfdir=/etc \
_unitdir=/lib/systemd/system \
_datarootdir=/usr/share \
install
dh_install
override_dh_installsystemd:
dh_installsystemd -pmtce-storage --no-enable