sync
This commit is contained in:
@@ -244,8 +244,10 @@ def main() -> None:
|
||||
if staging_root.exists():
|
||||
shutil.rmtree(staging_root)
|
||||
|
||||
out_sys = staging_root / "lfs" / "sys"
|
||||
out_a = staging_root / "lfs" / "a"
|
||||
# The LittleFS partition is mounted at /lfs in firmware, so image root
|
||||
# must contain /sys and /a directly (not /lfs/sys and /lfs/a).
|
||||
out_sys = staging_root / "sys"
|
||||
out_a = staging_root / "a"
|
||||
out_sys.mkdir(parents=True, exist_ok=True)
|
||||
out_a.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user