mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Sort all os.listdir and os.walk to keep things more reproducible
This commit is contained in:
@@ -20,9 +20,9 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#release-zip
|
||||
def timed_main(self):
|
||||
self.zip_files.append(self.env['qcow2_file'])
|
||||
self.zip_files.append(self.env['linux_image'])
|
||||
for root, dirs, files in os.walk(self.env['baremetal_build_dir']):
|
||||
for file in files:
|
||||
path = os.path.join(root, file)
|
||||
for root, dirnames, filenames in os.walk(self.env['baremetal_build_dir']):
|
||||
for filename in sorted(filenames):
|
||||
path = os.path.join(root, filename)
|
||||
if os.path.splitext(path)[1] == self.env['baremetal_build_ext']:
|
||||
self.zip_files.append(path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user