From 159976fd892e14c18545a12a5ba024d009417593 Mon Sep 17 00:00:00 2001 From: zhipengl Date: Fri, 7 Dec 2018 19:32:34 +0800 Subject: [PATCH] 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 --- utilities/update-motd/files/motd-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/update-motd/files/motd-update b/utilities/update-motd/files/motd-update index b853b09d..e339e448 100644 --- a/utilities/update-motd/files/motd-update +++ b/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