remove some PL-specific details
[util-vserver.git] / scripts / util-vserver-vars.pathsubst
1 # $Id: util-vserver-vars.pathsubst,v 1.49 2005/07/03 17:43:55 ensc Exp $   --*- sh -*--
2
3 PACKAGE='@PACKAGE@'
4 PACKAGE_BUGREPORT='@PACKAGE_BUGREPORT@'
5 PACKAGE_NAME='@PACKAGE_NAME@'
6 PACKAGE_STRING='@PACKAGE_STRING@'
7 PACKAGE_TARNAME='@PACKAGE_TARNAME@'
8 PACKAGE_VERSION='@PACKAGE_VERSION@'
9
10 __CONFDIR='@CONFDIR@'
11 __INCLUDEDIR='@INCLUDEDIR@'
12 __INITRDDIR='@INITRDDIR@'
13 __LEGACYDIR="@LEGACYDIR@"
14 __LIBDIR='@LIBDIR@'
15 __LOCKDIR="/var/lock"
16 __PKGLIBDIR='@PKGLIBDIR@'
17 __PKGSTATEDIR="@PKGSTATEDIR@"
18 __PKGSTATEREVDIR="@PKGSTATEREVDIR@"
19 __SBINDIR='@SBINDIR@'
20 __SYSCONFDIR='@SYSCONFDIR@'
21 __VSHELPERSTATEDIR="@VSHELPERSTATEDIR@"
22
23 __DISTRIBDIR="$__PKGLIBDIR/distributions"
24 __PKGLIBDEFAULTDIR="$__PKGLIBDIR/defaults"
25 __RUNDIR="$__PKGSTATEDIR"
26
27 __DEFAULT_VSERVERDIR='@VSERVERDIR@'
28 __DEFAULT_VSERVERPKGDIR='@VSERVERPKGDIR@'
29
30 _CAPCHROOT="$__PKGLIBDIR/capchroot"
31 _CHAINECHO="$__PKGLIBDIR/chain-echo"
32 _CHBIND="$__SBINDIR/chbind"
33 _CHCONTEXT="$__SBINDIR/chcontext"
34 _CHCONTEXT_COMPAT="$__PKGLIBDIR/chcontext-compat"
35 _CHECK_UNIXFILE="$__PKGLIBDIR/check-unixfile"
36 _CHROOT_SH="$__PKGLIBDIR/chroot-sh"
37 _EXEC_CD="$__SBINDIR/exec-cd"
38 _EXEC_ULIMIT="$__PKGLIBDIR/exec-ulimit"
39 _FAKE_RUNLEVEL="$__PKGLIBDIR/fakerunlevel"
40 _FILETIME="$__PKGLIBDIR/filetime"
41 _IFSPEC="$__LEGACYDIR/ifspec"
42 _INITSYNC_MINIT_START=":"
43 _KEEP_CTX_ALIVE="$__PKGLIBDIR/keep-ctx-alive"
44 _LIB_FUNCTIONS="$__PKGLIBDIR/functions"
45 _LIB_VSERVER_SETUP_FUNCTIONS="$__PKGLIBDIR/vserver-setup.functions"
46 _LIB_VSERVER_BUILD_FUNCTIONS="$__PKGLIBDIR/vserver-build.functions"
47 _LIB_VSERVER_BUILD_FUNCTIONS_APT="$__PKGLIBDIR/vserver-build.functions.apt"
48 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$__PKGLIBDIR/vserver-build.functions.rpm"
49 _LIB_VSERVER_BUILD_FUNCTIONS_YUM="$__PKGLIBDIR/vserver-build.functions.yum"
50 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$__PKGLIBDIR/vserver-build.functions.pkgmgmt"
51 _LISTDEVIP="$__LEGACYDIR/listdevip"
52 _LOCKFILE="$__PKGLIBDIR/lockfile"
53 _MASK2PREFIX="$__PKGLIBDIR/mask2prefix"
54 _PARSERPMDUMP="$__LEGACYDIR/parserpmdump"
55 _PKGMGMT="$__PKGLIBDIR/pkgmgmt"
56 _READLINK="$__PKGLIBDIR/readlink"
57 _REBOOTMGR="$__LEGACYDIR/rebootmgr"
58 _RPM_FAKE_SO="$__PKGLIBDIR/rpm-fake.so"
59 _SAVE_S_CONTEXT="$__LEGACYDIR/save_s_context"
60 _SAVE_CTXINFO="$__PKGLIBDIR/save_ctxinfo"
61 _SECURE_MOUNT="$__PKGLIBDIR/secure-mount"
62 _SETATTR="$__SBINDIR/setattr"
63 _SHOWPERM="$__LEGACYDIR/showperm"
64 _START_VSERVERS="$__PKGLIBDIR/start-vservers"
65 _VAPT_GET="$__SBINDIR/vapt-get"
66 _VAPT_GET_WORKER="$__PKGLIBDIR/vapt-get-worker"
67 _VATTRIBUTE="$__SBINDIR/vattribute"
68 _VCONTEXT="$__SBINDIR/vcontext"
69 _VHASHIFY="$__PKGLIBDIR/vhashify"
70 _VKILL="$__SBINDIR/vkill"
71 _VLIMIT="$__SBINDIR/vlimit"
72 _VNAMESPACE="$__SBINDIR/vnamespace"
73 _VPKG="$__PKGLIBDIR/vpkg"
74 _VPROCUNHIDE="$__PKGLIBDIR/vprocunhide"
75 _VPS="$__SBINDIR/vps"
76 _VREBOOT="$__LEGACYDIR/vreboot"
77 _VRPM="$__SBINDIR/vrpm"
78 _VRPM_PRELOAD="$__PKGLIBDIR/vrpm-preload"
79 _VRPM_WORKER="$__PKGLIBDIR/vrpm-worker"
80 _VSCHED="$__SBINDIR/vsched"
81 _VSERVER="$__SBINDIR/vserver"
82 _VSERVER_LEGACY="$__LEGACYDIR/vserver"
83 _VSERVER_BUILD="$__PKGLIBDIR/vserver-build"
84 _VSERVER_INFO="$__SBINDIR/vserver-info"
85 _VSERVERKILLALL="$__LEGACYDIR/vserverkillall"
86 _VSHELPER="$__PKGLIBDIR/vshelper"
87 _VSHELPER_SYNC="$__PKGLIBDIR/vshelper-sync"
88 _VSOMETHING="$__SBINDIR/vsomething"
89 _VWAIT="$__SBINDIR/vwait"
90 _VUNAME="$__SBINDIR/vuname"
91 _VUNIFY="$__PKGLIBDIR/vunify"
92 _VYUM="$__SBINDIR/vyum"
93 _VYUM_WORKER="$__PKGLIBDIR/vyum-worker"
94
95 _AWK="@AWK@"
96 _CAT="@CAT@"
97 _CHOWN="@CHOWN@"
98 _CMP="@CMP@"
99 _CP="@CP@"
100 _DIRNAME="@DIRNAME@"
101 _EGREP="@EGREP@"
102 _ENV="@ENV@"
103 _GREP="@GREP@"
104 _IP="@IP@"
105 _IPTABLES="@IPTABLES@"
106 _LN="@LN@"
107 _LN_S="$_LN -s"
108 _MKDIR="@MKDIR@"
109 _MKFIFO="@MKFIFO@"
110 _MKTEMP="@MKTEMP@"
111 _MKTEMPDIR="$_MKTEMP -d"
112 _MODPROBE="@MODPROBE@"
113 _MOUNT="@MOUNT@"
114 _MV="@MV@"
115 _NAMEIF="@NAMEIF@"
116 _NICE="@NICE@"
117 _NOHUP="@NOHUP@"
118 _RM="@RM@"
119 _RMDIR="@RMDIR@"
120 _RMMOD="@RMMOD@"
121 _SED="@SED@"
122 _SH="@SH@"
123 _TAC="@TAC@"
124 _TAR="@TAR@"
125 _TOUCH="@TOUCH@"
126 _TTY="@TTY@"
127 _UMOUNT="@UMOUNT@"
128 _VCONFIG="@VCONFIG@"
129 _WC="@WC@"
130 _WGET="@WGET@"
131
132 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106057
133 WORKAROUND_106057=1
134 # /var/lib/rpm is hardcoded into apt-get which does not honor the
135 # %_dbpath variable therefore
136 # http://distro2.conectiva.com.br/pipermail/apt-rpm/2003-October/001985.html
137 WORKAROUND_APT_DBPATH=1
138 # XXX Backward compatibility
139 VROOTDIR=$__DEFAULT_VSERVERDIR