[unpackfs] Debug-log the weights of the modules

This commit is contained in:
Adriaan de Groot 2020-10-06 11:54:39 +02:00
parent 632445a431
commit 8173b68a71

View File

@ -486,6 +486,11 @@ def run():
is_first = False is_first = False
# Show the entry, weight and accumulated_weight before each entry,
# to allow tweaking the weights.
for e in unpack:
utils.debug(".. {!s} w={!s} aw={!s}".format(e.source, e.weight, e.accumulated_weight))
repair_root_permissions(root_mount_point) repair_root_permissions(root_mount_point)
try: try:
unpackop = UnpackOperation(unpack) unpackop = UnpackOperation(unpack)