VirtualBox

Ignore:
Timestamp:
Dec 2, 2014 1:53:48 PM (10 years ago)
Author:
vboxsync
Message:

EFI/Firmware: restore space information during quiet build

Location:
trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/GenFds.py

    r48674 r53425  
    469469                    FvSpaceInfoList.append((FvName, Total, Used, Free))
    470470               
    471         GenFdsGlobalVariable.InfLogger('\nFV Space Information')
     471        GenFdsGlobalVariable.QuietLogger('\nFV Space Information')
    472472        for FvSpaceInfo in FvSpaceInfoList:
    473473            Name = FvSpaceInfo[0]
     
    480480                Percentage = str((UsedSizeValue+0.0)/TotalSizeValue)[0:4].lstrip('0.')
    481481           
    482             GenFdsGlobalVariable.InfLogger(Name + ' ' + '[' + Percentage + '%Full] ' + str(TotalSizeValue) + ' total, ' + str(UsedSizeValue) + ' used, ' + str(FreeSizeValue) + ' free')
     482            GenFdsGlobalVariable.QuietLogger(Name + ' ' + '[' + Percentage + '%Full] ' + str(TotalSizeValue) + ' total, ' + str(UsedSizeValue) + ' used, ' + str(FreeSizeValue) + ' free')
    483483
    484484    ## PreprocessImage()
     
    523523        if GuidXRefFile.getvalue():
    524524            SaveFileOnChange(GuidXRefFileName, GuidXRefFile.getvalue(), False)
    525             GenFdsGlobalVariable.InfLogger("\nGUID cross reference file can be found at %s" % GuidXRefFileName)
     525            GenFdsGlobalVariable.QuietLogger("\nGUID cross reference file can be found at %s" % GuidXRefFileName)
    526526        elif os.path.exists(GuidXRefFileName):
    527527            os.remove(GuidXRefFileName)
  • trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py

    r48674 r53425  
    611611        EdkLogger.info(msg)
    612612
     613    def QuietLogger (msg):
     614        EdkLogger.quiet(msg)
     615
    613616    def ErrorLogger (msg, File = None, Line = None, ExtraData = None):
    614617        EdkLogger.error('GenFds', GENFDS_ERROR, msg, File, Line, ExtraData)
     
    703706    InfLogger = staticmethod(InfLogger)
    704707    ErrorLogger = staticmethod(ErrorLogger)
     708    QuietLogger = staticmethod(QuietLogger)
    705709    DebugLogger = staticmethod(DebugLogger)
    706710    MacroExtend = staticmethod (MacroExtend)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette