(RootFSPath)
| 84 | return int.from_bytes(x.digest(), "big") |
| 85 | |
| 86 | def RemoveRootFSFolder(RootFSPath): |
| 87 | print("Removing previous rootfs extraction before copying") |
| 88 | shutil.rmtree(RootFSPath, ignore_errors = True) |
| 89 | # Recreate the folder |
| 90 | os.makedirs(RootFSPath) |
| 91 | |
| 92 | def CheckFilesystemForFS(RootFSMountPath, RootFSPath, DistroFit): |
| 93 | # Check if rootfs mount path exists |
no test coverage detected