debian: Fix motd installation

Debian does not have an /etc/motd.d directory installed
by default so place it in the correct directory.

Test Plan
PASS Build package and ISO
PASS Boot and check for the /etc/update-motd.d/10-system

Story: 2009101
Task: 43046

Depends-On: https://review.opendev.org/c/starlingx/utilities/+/832641

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: I0182d1d5135a362812009d619311b96c37fc73b9
This commit is contained in:
Chuck Short 2022-03-05 22:36:34 +00:00
parent 44d60f864d
commit b1ff7488e4
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ override_dh_install:
python3 setup.py bdist_wheel \
--universal \
-d $(CURDIR)/debian/sysinv-wheels/usr/share/python-wheel
install -p -D -m 755 $(CURDIR)/etc/sysinv/motd-system $(CURDIR)/debian/tmp/etc/motd.d/10-system
install -p -D -m 755 $(CURDIR)/etc/sysinv/motd-system $(CURDIR)/debian/tmp/etc/update-motd.d/10-system
dh_install
override_dh_python3:

View File

@ -13,7 +13,7 @@ scripts/query_pci_id usr/bin
scripts/kube-cert-rotation.sh usr/bin
scripts/ceph_k8s_update_monitors.sh usr/bin
usr/lib/python*/dist-packages/*
etc/motd.d/10-system
etc/update-motd.d/10-system
usr/bin/cert-alarm
usr/bin/cert-mon
usr/bin/sysinv-agent