|
Lines 32-37
Link Here
|
| 32 |
self._logger = GLILogger.Logger(self._client_configuration.get_log_file()) |
32 |
self._logger = GLILogger.Logger(self._client_configuration.get_log_file()) |
| 33 |
self._compile_logfile = "/tmp/compile_output.log" |
33 |
self._compile_logfile = "/tmp/compile_output.log" |
| 34 |
|
34 |
|
|
|
35 |
# This will cleanup the logfile if it's a dead link (pointing |
| 36 |
# to the chroot logfile when partitions aren't mounted, else |
| 37 |
# no action needs to be taken |
| 38 |
|
| 39 |
if os.path.islink(self._compile_logfile) and not os.path.exists(self._compile_logfile): |
| 40 |
os.unlink(self._compile_logfile) |
| 41 |
|
| 35 |
# cache the list of successfully mounted swap devices here |
42 |
# cache the list of successfully mounted swap devices here |
| 36 |
self._swap_devices = [] |
43 |
self._swap_devices = [] |
| 37 |
|
44 |
|