Browse Source

Refactor motd patch for crontabs

According to analysis from Saul in task 26455, we can remove motd
patch for crontabs and then use RPM instead of SRPM for it.
We also need to remove usage of --without-progname in utilities/
update-motd/files/motd-update.

Story: 2003765
Task: 28181 & 28182
Depends-on: https://review.openstack.org/#/c/623385/

Change-Id: I4be7d47ee77ac07eb24f5b88cd707c29b595df7a
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
changes/20/680920/1
zhipengl 3 years ago
committed by zhipeng liu
parent
commit
159976fd89
  1. 2
      utilities/update-motd/files/motd-update

2
utilities/update-motd/files/motd-update

@ -11,5 +11,5 @@ MOTD_PATH=${MOTD_PATH:-"/etc/motd.d"}
MOTD_TAG=${MOTD_TAG:-"motd-update"}
if [ -d ${MOTD_PATH} ]; then
run-parts --without-progname ${MOTD_PATH} 1>${MOTD_FILE}
run-parts ${MOTD_PATH} 1>${MOTD_FILE}
fi
Loading…
Cancel
Save