vshost-util-vserver

Build script and sources for util-vserver.
git clone https://ccx.te2000.cz/git/vshost-util-vserver
Log | Files | Refs

util-vserver-vars.pathsubst (5394B)


      1 # $Id$   --*- 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 __PKGLIBEXECDIR='@PKGLIBEXECDIR@'
     18 __PKGDATADIR='@PKGDATADIR@'
     19 __PKGCACHEDIR="@PKGCACHEDIR@"
     20 __PKGSTATEDIR="@PKGSTATEDIR@"
     21 __PKGSTATEREVDIR="@PKGSTATEREVDIR@"
     22 __SBINDIR='@SBINDIR@'
     23 __SYSCONFDIR='@SYSCONFDIR@'
     24 __VSHELPERSTATEDIR="@VSHELPERSTATEDIR@"
     25 
     26 __DISTRIBDIR="$__PKGDATADIR/distributions"
     27 __PKGLIBDEFAULTDIR="$__PKGDATADIR/defaults"
     28 __RUNDIR="$__PKGSTATEDIR"
     29 
     30 __DEFAULT_VSERVERDIR='@VSERVERDIR@'
     31 __DEFAULT_VSERVERPKGDIR='@VSERVERPKGDIR@'
     32 
     33 _BASH_WRAPPER="$__PKGLIBEXECDIR/bash-wrapper"
     34 _CAPCHROOT="$__PKGLIBEXECDIR/capchroot"
     35 _CHAINECHO="$__PKGLIBEXECDIR/chain-echo"
     36 _CHBIND="$__SBINDIR/chbind"
     37 _CHBIND_COMPAT="$__PKGLIBEXECDIR/chbind-compat"
     38 _CHCONTEXT="$__SBINDIR/chcontext"
     39 _CHCONTEXT_COMPAT="$__PKGLIBEXECDIR/chcontext-compat"
     40 _CHECK_UNIXFILE="$__PKGLIBEXECDIR/check-unixfile"
     41 _CHROOT_SH="$__PKGLIBEXECDIR/chroot-sh"
     42 _EXEC_CD="$__SBINDIR/exec-cd"
     43 _EXEC_ULIMIT="$__PKGLIBEXECDIR/exec-ulimit"
     44 _EXEC_REMOUNT="$__PKGLIBEXECDIR/exec-remount"
     45 _FAKE_RUNLEVEL="$__PKGLIBEXECDIR/fakerunlevel"
     46 _FILETIME="$__PKGLIBEXECDIR/filetime"
     47 _H2EXT="$__PKGLIBEXECDIR/h2ext"
     48 _IFSPEC="$__LEGACYDIR/ifspec"
     49 _INITSYNC_MINIT_START=:
     50 _KEEP_CTX_ALIVE="$__PKGLIBEXECDIR/keep-ctx-alive"
     51 _LIB_FUNCTIONS="$__PKGDATADIR/functions"
     52 _LIB_VSERVER_FUNCTIONS="$__PKGDATADIR/vserver.functions"
     53 _LIB_VSERVER_INIT_FUNCTIONS="$__PKGDATADIR/vserver-init.functions"
     54 _LIB_VSERVER_SETUP_FUNCTIONS="$__PKGDATADIR/vserver-setup.functions"
     55 _LIB_VSERVER_BUILD_FUNCTIONS="$__PKGDATADIR/vserver-build.functions"
     56 _LIB_VSERVER_BUILD_FUNCTIONS_APT="$__PKGDATADIR/vserver-build.functions.apt"
     57 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$__PKGDATADIR/vserver-build.functions.rpm"
     58 _LIB_VSERVER_BUILD_FUNCTIONS_YUM="$__PKGDATADIR/vserver-build.functions.yum"
     59 _LIB_VSERVER_BUILD_FUNCTIONS_URPMI="$__PKGDATADIR/vserver-build.functions.urpmi"
     60 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$__PKGDATADIR/vserver-build.functions.pkgmgmt"
     61 _LISTDEVIP="$__LEGACYDIR/listdevip"
     62 _LOCKFILE="$__PKGLIBEXECDIR/lockfile"
     63 _MASK2PREFIX="$__PKGLIBEXECDIR/mask2prefix"
     64 _NADDRESS="$__SBINDIR/naddress"
     65 _NATTRIBUTE="$__SBINDIR/nattribute"
     66 _NCONTEXT="$__SBINDIR/ncontext"
     67 _PARSERPMDUMP="$__LEGACYDIR/parserpmdump"
     68 _PKGMGMT="$__PKGLIBEXECDIR/pkgmgmt"
     69 _READLINK="$__PKGLIBEXECDIR/readlink"
     70 _REBOOTMGR="$__LEGACYDIR/rebootmgr"
     71 _RPM_FAKE_SO="$__PKGLIBDIR/rpm-fake.so"
     72 _SAVE_S_CONTEXT="$__LEGACYDIR/save_s_context"
     73 _SAVE_CTXINFO="$__PKGLIBEXECDIR/save_ctxinfo"
     74 _SECURE_MOUNT="$__PKGLIBEXECDIR/secure-mount"
     75 _SETATTR="$__SBINDIR/setattr"
     76 _SHOWPERM="$__LEGACYDIR/showperm"
     77 _START_VSERVERS="$__PKGLIBEXECDIR/start-vservers"
     78 _TUNCTL="$__PKGLIBEXECDIR/tunctl"
     79 _VAPT_GET="$__SBINDIR/vapt-get"
     80 _VAPT_GET_WORKER="$__PKGLIBEXECDIR/vapt-get-worker"
     81 _VATTRIBUTE="$__SBINDIR/vattribute"
     82 _VCLONE="$__PKGLIBEXECDIR/vclone"
     83 _VCONTEXT="$__SBINDIR/vcontext"
     84 _VDEVMAP="$__SBINDIR/vdevmap"
     85 _VDLIMIT="$__SBINDIR/vdlimit"
     86 _VDU="$__SBINDIR/vdu"
     87 _VHASHIFY="$__PKGLIBEXECDIR/vhashify"
     88 _VKILL="$__SBINDIR/vkill"
     89 _VLIMIT="$__SBINDIR/vlimit"
     90 _VMEMCTRL="$__SBINDIR/vmemctrl"
     91 _VNAMESPACE="$__SBINDIR/vspace --mount --fs"
     92 _VPKG="$__PKGLIBEXECDIR/vpkg"
     93 _VPROCUNHIDE="$__PKGLIBEXECDIR/vprocunhide"
     94 _VPS="$__SBINDIR/vps"
     95 _VREBOOT="$__LEGACYDIR/vreboot"
     96 _VRPM="$__SBINDIR/vrpm"
     97 _VRPM_PRELOAD="$__PKGLIBEXECDIR/vrpm-preload"
     98 _VRPM_WORKER="$__PKGLIBEXECDIR/vrpm-worker"
     99 _VSCHED="$__SBINDIR/vsched"
    100 _VSERVER="$__SBINDIR/vserver"
    101 _VSERVER_LEGACY="$__LEGACYDIR/vserver"
    102 _VSERVER_BUILD="$__PKGLIBEXECDIR/vserver-build"
    103 _VSERVER_INFO="$__SBINDIR/vserver-info"
    104 _VSERVERKILLALL="$__LEGACYDIR/vserverkillall"
    105 _VSERVER_WRAPPER="$__PKGLIBEXECDIR/vserver-wrapper"
    106 _VSHELPER="$__PKGLIBEXECDIR/vshelper"
    107 _VSHELPER_SYNC="$__PKGLIBEXECDIR/vshelper-sync"
    108 _VSOMETHING="$__SBINDIR/vsomething"
    109 _VSPACE="$__SBINDIR/vspace"
    110 _VSYSCTL="$__PKGLIBEXECDIR/vsysctl"
    111 _VTAG="$__SBINDIR/vtag"
    112 _VWAIT="$__SBINDIR/vwait"
    113 _VUNAME="$__SBINDIR/vuname"
    114 _VUNIFY="$__PKGLIBEXECDIR/vunify"
    115 _VURPM="$__SBINDIR/vurpm"
    116 _VURPM_WORKER="$__PKGLIBEXECDIR/vurpm-worker"
    117 _VYUM="$__SBINDIR/vyum"
    118 _VYUM_WORKER="$__PKGLIBEXECDIR/vyum-worker"
    119 
    120 _AWK="@AWK@"
    121 _BZIP2="@BZIP2@"
    122 _CAT="@CAT@"
    123 _CHOWN="@CHOWN@"
    124 _CMP="@CMP@"
    125 _CP="@CP@"
    126 _CPIO="@CPIO@"
    127 _DIRNAME="@DIRNAME@"
    128 _EGREP="@EGREP@"
    129 _ENV="@ENV@"
    130 _FILE="@FILE@"
    131 _FIND="@FIND@"
    132 _FSCK="@FSCK@"
    133 _GREP="@GREP@"
    134 _GZIP="@GZIP@"
    135 _IP="@IP@"
    136 _IPTABLES="@IPTABLES@"
    137 _LN="@LN@"
    138 _LN_S="$_LN -s"
    139 _MKDIR="@MKDIR@"
    140 _MKFIFO="@MKFIFO@"
    141 _MKTEMP="@MKTEMP@ -t"
    142 _MKTEMPDIR="$_MKTEMP -d"
    143 _MODPROBE="@MODPROBE@"
    144 _MOUNT="@MOUNT@"
    145 _MV="@MV@"
    146 _NAMEIF="@NAMEIF@"
    147 _NICE="@NICE@"
    148 _NOHUP="@NOHUP@"
    149 _RESTORE="@RESTORE@"
    150 _RM="@RM@"
    151 _RMDIR="@RMDIR@"
    152 _RMMOD="@RMMOD@"
    153 _RSYNC="@RSYNC@"
    154 _SED="@SED@"
    155 _SH="@SH@"
    156 _STRACE="@STRACE@"
    157 _TAC="@TAC@"
    158 _TAR="@TAR@"
    159 _TOUCH="@TOUCH@"
    160 _TTY="@TTY@"
    161 _UMOUNT="@UMOUNT@"
    162 _VCONFIG="@VCONFIG@"
    163 _WC="@WC@"
    164 _WGET="@WGET@"
    165 _IONICE="@IONICE@"
    166 _VCONFIGOP="@VCONFIGOP@"
    167 
    168 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106057
    169 WORKAROUND_106057=1
    170 # /var/lib/rpm is hardcoded into apt-get which does not honor the
    171 # %_dbpath variable therefore
    172 # http://distro2.conectiva.com.br/pipermail/apt-rpm/2003-October/001985.html
    173 WORKAROUND_APT_DBPATH=1