OpenVZ Forum


Home » Mailing lists » Devel » [RFC] vzctl 'make install' target
[RFC] vzctl 'make install' target [message #4132] Thu, 29 June 2006 09:03 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Problem: currently vzctl's "make install" install some redhat-specific
stuff, like /etc/sysconfig/network-scripts/*venet* files and
/etc/init.d/vz initscript. This creates a problem for distros such as
Gentoo and Debian. Currently, for example, Gentoo solves that by
patching Makefile.

We want to fix it in next vzctl release. There are several solutions
possible:

(1) rename 'install' target to install-redhat, and add generic 'install'
target which will not install initscript and
/etc/sysconfig/network-scripts/*venet0* stuff

(2) leave install target as is and add 'install-generic' target which
will do the same as 'install' from (1)

(3) try to determine distro during runtime, from Makefile itself, and
act appropriately

(4) Pass some params to Makefile in environment, like SKIP_NETSCRIPTS or
SKIP_INITSCRIPT

(5) a variation of (1) -- add install-generic and install-redhat target,
do nothing but print a list of possible install-* target on invocation
of 'make install'.

I prefer #5. What do people think? I am especially interested in hearing
from Debian and Gentoo maintainers.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: porting stable patch to higher kernel versions
Next Topic: Re: [patch 2/6] [Network namespace] Network device sharing by view
Goto Forum:
  


Current Time: Thu Jul 24 08:43:09 GMT 2025

Total time taken to generate the page: 0.33678 seconds