From: Enrico Scholz Date: Mon, 20 Oct 2003 18:05:37 +0000 (+0000) Subject: - added PKGSTATEDIR, RUNDIR, LIB_VSERVER_SETUP_FUNCTIONS, X-Git-Tag: VERSION_0_10~1180 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2529a27bc09f4c040eecdf1b1846015d61837051;p=util-vserver.git - added PKGSTATEDIR, RUNDIR, LIB_VSERVER_SETUP_FUNCTIONS, LIB_VSERVER_BUILD_FUNCTIONS* and _VSERVER variables - added WORKAROUND_APT_DBPATH variable git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@233 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/util-vserver-vars.pathsubst b/util-vserver/scripts/util-vserver-vars.pathsubst index c09d5dd..a9045ba 100644 --- a/util-vserver/scripts/util-vserver-vars.pathsubst +++ b/util-vserver/scripts/util-vserver-vars.pathsubst @@ -12,6 +12,8 @@ SBINDIR='@SBINDIR@' CONFDIR='@CONFDIR@' SYSCONFDIR='@SYSCONFDIR@' DISTRIBDIR="$PKGLIBDIR/distributions" +PKGSTATEDIR="@PKGSTATEDIR@" +RUNDIR="$PKGSTATEDIR" _CAPCHROOT="$PKGLIBDIR/capchroot" _CHBIND="$SBINDIR/chbind" @@ -22,6 +24,10 @@ _CTX_KILL="$SBINDIR/ctx-kill" _FAKE_RUNLEVEL="$PKGLIBDIR/fakerunlevel" _FILETIME="$PKGLIBDIR/filetime" _LIB_FUNCTIONS="$PKGLIBDIR/functions" +_LIB_VSERVER_SETUP_FUNCTIONS="$PKGLIBDIR/vserver-setup.functions" +_LIB_VSERVER_BUILD_FUNCTIONS="$PKGLIBDIR/vserver-build.functions" +_LIB_VSERVER_BUILD_FUNCTIONS_APT="$PKGLIBDIR/vserver-build.functions.apt" +_LIB_VSERVER_BUILD_FUNCTIONS_RPM="$PKGLIBDIR/vserver-build.functions.rpm" _MASK2PREFIX="$PKGLIBDIR/mask2prefix" _NEW_NAMESPACE="$SBINDIR/new-namespace" _RPM_FAKE_SO="$PKGLIBDIR/rpm-fake.so" @@ -35,6 +41,7 @@ _VPS="$SBINDIR/vps" _VRPM="$SBINDIR/vrpm" _VRPM_PRELOAD="$PKGLIBDIR/vrpm-preload" _VRPM_WORKER="$PKGLIBDIR/vrpm-worker" +_VSERVER="$SBINDIR/vserver" _VSERVER_LEGACY="$PKGLIBDIR/vserver-legacy" _VSERVER_BUILD="$PKGLIBDIR/vserver-build" @@ -50,3 +57,7 @@ _WC="@WC@" # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106057 WORKAROUND_106057=1 +# /var/lib/rpm is hardcoded into apt-get which does not honor the +# %_dbpath variable therefore +# http://distro2.conectiva.com.br/pipermail/apt-rpm/2003-October/001985.html +WORKAROUND_APT_DBPATH=1