Skip to content

Commit

Permalink
- Add Custom UTC
Browse files Browse the repository at this point in the history
Signed-off-by: ColdWindScholar <3590361911@qq.com>
  • Loading branch information
ColdWindScholar committed May 19, 2024
1 parent 836f51f commit b0f4fad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ def packrom(self) -> any:
parts_dict[dname] = 'erofs'
if parts_dict[dname] == 'erofs':
mkerofs(dname, str(self.edbgs.get()), work, int(self.scale_erofs.get()),
self.erofs_old_kernel.get(), UTC=self.UTC)
self.erofs_old_kernel.get(), UTC=self.UTC.get())
if self.delywj.get() == 1:
rdi(work, dname)
print(lang.text3.format(dname))
Expand Down Expand Up @@ -2226,14 +2226,14 @@ def packrom(self) -> any:
ext4_size_value = 0

make_ext4fs(dname, work, "-s" if self.dbgs.get() in ["dat", "br", "sparse"] else '',
ext4_size_value, UTC=self.UTC) if self.dbfs.get() == "make_ext4fs" else mke2fs(dname,
ext4_size_value, UTC=self.UTC.get()) if self.dbfs.get() == "make_ext4fs" else mke2fs(dname,
work,
"y" if self.dbgs.get() in [
"dat",
"br",
"sparse"] else 'n',
ext4_size_value,
UTC=self.UTC)
UTC=self.UTC.get())
if self.delywj.get() == 1:
rdi(work, dname)
if self.dbgs.get() == "dat":
Expand Down

0 comments on commit b0f4fad

Please sign in to comment.