builder: build: filesystem.py: fix debug log print

Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
BigfootACA 2024-05-21 11:20:59 +08:00
parent b07ca0c63b
commit 085715236f

View File

@ -114,7 +114,7 @@ def add_file(ctx: ArchBuilderContext, file: dict):
content: str = file["content"] content: str = file["content"]
log.debug( log.debug(
"write to %s with %s", "write to %s with %s",
(real, content.strip()) real, content.strip()
) )
f.write(content.encode(encode)) f.write(content.encode(encode))
log.debug(f"chmod file {real} to {mode:04o}") log.debug(f"chmod file {real} to {mode:04o}")