diff options
Diffstat (limited to 'vzctl')
-rw-r--r-- | vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch b/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch index 6862f17..a9af0c6 100644 --- a/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch +++ b/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch @@ -2,12 +2,15 @@ Index: vzctl-3.0.12/src/Makefile =================================================================== --- vzctl-3.0.12.orig/src/Makefile +++ vzctl-3.0.12/src/Makefile -@@ -224,7 +224,7 @@ install-redhat: inst-netscripts inst-ini +@@ -223,8 +223,9 @@ install: $(PROGS) inst-dirs install-lib + install-redhat: inst-netscripts inst-initd install-gentoo: - $(INSTALL) -m 755 ../etc/init.d/vz-gentoo $(DESTDIR)/$(INITDDIR)/vz +- $(INSTALL) -m 755 ../etc/init.d/vz-gentoo $(DESTDIR)/$(INITDDIR)/vz - ln -s $(DESTDIR)/$(CONFDIR)/vz.conf $(DESTDIR)/conf.d/vz -+ ln -s $(DESTDIR)/$(CONFDIR)/vz.conf $(DESTDIR)/etc/conf.d/vz ++ $(INSTALL) -m 755 ../etc/init.d/vz-gentoo $(DESTDIR)$(INITDDIR)/vz ++ $(INSTALL) -d $(DESTDIR)/etc/conf.d ++ ln -s $(CONFDIR)/vz.conf $(DESTDIR)/etc/conf.d/vz clean: rm -f *.o lib/*.lo $(PROGS) $(LIB_vzctl) $(LIB_fs) $(LIB_fs) .depend |