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>
This commit is contained in:
zhipengl 2018-12-07 19:32:34 +08:00 committed by zhipeng liu
parent f46346d5a5
commit 159976fd89
1 changed files with 1 additions and 1 deletions

View File

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