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:
parent
3b31663794
commit
8f578a64e5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue