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.
This commit is contained in:
Albert Hopkins 2016-07-23 11:29:25 +00:00
parent 3b31663794
commit 8f578a64e5
1 changed files with 2 additions and 2 deletions

View File

@ -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: