aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/checksum.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/checksum.py')
-rw-r--r--lib/bb/checksum.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/checksum.py b/lib/bb/checksum.py
index 84289208f..4e1598fe8 100644
--- a/lib/bb/checksum.py
+++ b/lib/bb/checksum.py
@@ -97,6 +97,8 @@ class FileChecksumCache(MultiProcessCache):
def checksum_dir(pth):
# Handle directories recursively
+ if pth == "/":
+ bb.fatal("Refusing to checksum /")
dirchecksums = []
for root, dirs, files in os.walk(pth):
for name in files: