backing out to version 208 of util-vserver
[util-vserver.git] / scripts / vserver-build.functions.rpm
index 528e4ab..9aa499d 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: vserver-build.functions.rpm 2311 2006-09-13 22:18:55Z dhozac $  --*- sh -*--
+# $Id: vserver-build.functions.rpm,v 1.8 2005/04/16 21:20:45 ensc Exp $        --*- sh -*--
 
 # Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
 #  
@@ -52,7 +52,6 @@ function rpm.initFilesystem
 {
     test -z "$WORKAROUND_106057" || mkdir -p "$RPMDB_PATH"
     mkdir -p "$VDIR$RPMDB_PATH"
-    mkdir -p "$VDIR/var/lock/rpm"
 
     test -z "$WORKAROUND_APT_DBPATH" || {
        mkdir -p "$VDIR/var/lib"
@@ -125,18 +124,3 @@ function rpmlist.initByDistribution()
 
     eval "$1"='( "${_rlid_res[@]}" )'
 }
-
-
-## Usage: rpm.sanityCheck
-function rpm.sanityCheck
-{
-    test -x "$BUILD_INITPRE" || colorize warn warning $"\
-WARNING: you are going to use an rpm-based installation method without
-  having an 'initpre' script. Such a script is highly recommend to
-  workaround bugs in rpm which can cause messages like
-
-  | error: unpacking of archive failed on file /usr/bin/X11;42dd8791:
-
-  Please read http://linux-vserver.org/HowToRegisterNewDistributions
-  for information how to add support for your own distribution."
-}