From 8f578a64e55a3d8e1c83d4cfe8c48176dc31853a Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Sat, 23 Jul 2016 11:29:25 +0000 Subject: [PATCH] jenkins/Makefile: use "cp" instead of "cp -u" The -u flag causes breakage when the config file from the package is newer than the custom config. --- appliances/jenkins/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appliances/jenkins/Makefile b/appliances/jenkins/Makefile index fc4aba0..db35c02 100644 --- a/appliances/jenkins/Makefile +++ b/appliances/jenkins/Makefile @@ -25,9 +25,9 @@ postinstall: jenkins.service nginx.conf $(inroot) mkdir -p $(JENKINS_HOME) $(MAKE) install_jenkins $(inroot) chown -R jenkins:jenkins $(JENKINS_HOME) - cp -u jenkins.service $(CHROOT)/etc/systemd/system + cp jenkins.service $(CHROOT)/etc/systemd/system $(inroot) systemctl enable jenkins.service - cp -u nginx.conf $(CHROOT)/etc/nginx/nginx.conf + cp nginx.conf $(CHROOT)/etc/nginx/nginx.conf $(inroot) systemctl enable nginx.service clean: