mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Enable ONL Config installation (uboot).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user