mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
List all files recursively.
This commit is contained in:
parent
8ce769184e
commit
35f0dfc76d
1 changed files with 3 additions and 2 deletions
|
@ -126,8 +126,9 @@ class UnpackOperation:
|
||||||
entry.source])
|
entry.source])
|
||||||
entry.total = len(sqfslist.splitlines())
|
entry.total = len(sqfslist.splitlines())
|
||||||
if entry.sourcefs == "ext4":
|
if entry.sourcefs == "ext4":
|
||||||
fslist = subprocess.check_output(["ls", "-1",
|
fslist = subprocess.check_output(["find",
|
||||||
imgmountdir])
|
imgmountdir,
|
||||||
|
"-type", "f"])
|
||||||
entry.total = len(fslist.splitlines())
|
entry.total = len(fslist.splitlines())
|
||||||
|
|
||||||
self.report_progress()
|
self.report_progress()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue