Minor loader-shell breakage on ppc

This commit is contained in:
Carl D. Roth
2016-11-10 17:42:55 -08:00
parent 551435819d
commit 5773f5e759

View File

@@ -302,7 +302,7 @@ class Loader(AppBase):
# run from a file in a mounted filesystem
parts = [p for p in self.pm.mounts if p.device == bootDevice]
if parts:
loaderDir = parts[0]
loaderDir = parts[0].dir
self.log.debug("found loader device mounted at %s", loaderDir)
for e in l:
p = os.path.join(loaderDir, e)