OSDN Git Service
(root)
/
lxcf
/
lxcf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcd701
)
implovement of Makefile
author
Hdeyuki Niwa
<niwa.hideyuki@jp.fujitsu.com>
Tue, 23 Sep 2014 00:55:10 +0000
(09:55 +0900)
committer
Hdeyuki Niwa
<niwa.hideyuki@jp.fujitsu.com>
Tue, 23 Sep 2014 00:55:10 +0000
(09:55 +0900)
lxcf/Makefile
patch
|
blob
|
history
diff --git
a/lxcf/Makefile
b/lxcf/Makefile
index
22769d9
..
6f1a899
100644
(file)
--- a/
lxcf/Makefile
+++ b/
lxcf/Makefile
@@
-200,7
+200,7
@@
install_conf: .prepare
install -d -m 755 $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart
ln -f -s $(sysconfdir)/libvirt/qemu/networks/lxcfnet1.xml \
$(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/lxcfnet1.xml
- if [
-d /etc/init
] ; then \
+ if [
! /etc/redhat-release
] ; then \
install -d -m 755 $(DESTDIR)/etc/init ; \
install -m 644 conf/lxcf-init.conf $(DESTDIR)/etc/init/lxcf-init.conf; \
install -m 644 conf/lxcf-sched.conf $(DESTDIR)/etc/init/lxcf-sched.conf; \