From ae7b13646e37ecefb177dffb4e140b7b60451616 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Fri, 14 Oct 2011 10:16:55 +0200
Subject: [PATCH] Disable pacman's CheckSpace option as it fails within a
 chroot

---
 pacman-extra.conf            | 3 ++-
 pacman-multilib-testing.conf | 3 ++-
 pacman-multilib.conf         | 3 ++-
 pacman-staging.conf          | 3 ++-
 pacman-testing.conf          | 3 ++-
 5 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/pacman-extra.conf b/pacman-extra.conf
index d2b37b1..cdad265 100644
--- a/pacman-extra.conf
+++ b/pacman-extra.conf
@@ -33,7 +33,8 @@ Architecture = auto
 #UseSyslog
 #UseDelta
 #TotalDownload
-CheckSpace
+# We cannot check disk space from within a chroot environment
+#CheckSpace
 #VerbosePkgLists
 
 # PGP signature checking
diff --git a/pacman-multilib-testing.conf b/pacman-multilib-testing.conf
index d544e9e..b7e59f6 100644
--- a/pacman-multilib-testing.conf
+++ b/pacman-multilib-testing.conf
@@ -33,7 +33,8 @@ Architecture = auto
 #UseSyslog
 #UseDelta
 #TotalDownload
-CheckSpace
+# We cannot check disk space from within a chroot environment
+#CheckSpace
 #VerbosePkgLists
 
 # PGP signature checking
diff --git a/pacman-multilib.conf b/pacman-multilib.conf
index 2497c81..709361e 100644
--- a/pacman-multilib.conf
+++ b/pacman-multilib.conf
@@ -33,7 +33,8 @@ Architecture = auto
 #UseSyslog
 #UseDelta
 #TotalDownload
-CheckSpace
+# We cannot check disk space from within a chroot environment
+#CheckSpace
 #VerbosePkgLists
 
 # PGP signature checking
diff --git a/pacman-staging.conf b/pacman-staging.conf
index b9c2cc2..9d8e23e 100644
--- a/pacman-staging.conf
+++ b/pacman-staging.conf
@@ -33,7 +33,8 @@ Architecture = auto
 #UseSyslog
 #UseDelta
 #TotalDownload
-CheckSpace
+# We cannot check disk space from within a chroot environment
+#CheckSpace
 #VerbosePkgLists
 
 # PGP signature checking
diff --git a/pacman-testing.conf b/pacman-testing.conf
index 6a7c4bf..70b0249 100644
--- a/pacman-testing.conf
+++ b/pacman-testing.conf
@@ -33,7 +33,8 @@ Architecture = auto
 #UseSyslog
 #UseDelta
 #TotalDownload
-CheckSpace
+# We cannot check disk space from within a chroot environment
+#CheckSpace
 #VerbosePkgLists
 
 # PGP signature checking
-- 
GitLab