Skip to content

Commit

Permalink
修复dtb打包
Browse files Browse the repository at this point in the history
  • Loading branch information
yeliqin666 authored Jun 8, 2024
1 parent a6c5e42 commit 7b5b568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ def undtb(project, infile):
call(
f'dtc -@ -I dtb -O dts {dtb} -o {dts}',
out=1)
open(project + os.sep + os.sep + "config" + os.sep + "dtbinfo_" + os.path.basename(infile).split(".")[0]).close()
open(project + os.sep + os.sep + "config" + os.sep + "dtbinfo_" + os.path.basename(infile).split(".")[0], 'w').close()
ysuc("反编译完成!")
time.sleep(1)

Expand Down

0 comments on commit 7b5b568

Please sign in to comment.