Enable ONL Config installation (uboot).

This commit is contained in:
Jeffrey Townsend
2016-08-15 09:15:10 -07:00
parent a71c786f47
commit c606d65cb2

View File

@@ -44,6 +44,7 @@ class Base:
plat = getattr(self.machineConf, 'onie_platform', None)
return plat is not None
def __init__(self,
machineConf=None, installerConf=None, platformConf=None,
grubEnv=None, ubootEnv=None,
@@ -842,6 +843,10 @@ class UbootInstaller(SubprocessMixin, Base):
self.log.info("ONL-BOOT is a raw partition (%s), skipping boot-config",
self.rawLoaderDevice)
code = self.installOnlConfig()
if code: return code
self.log.info("syncing block devices")
self.check_call(('sync',))
# XXX roth probably not needed