breilly / fm-orchestrator

Forked from fm-orchestrator 4 years ago
Clone

1c8e2a0 Local builds: buffer up initial logs and replay to the module build file

2 files Authored by otaylor a year ago, Committed by breilly a year ago,
    Local builds: buffer up initial logs and replay to the module build file
    
    Logging during a build that occurs before the build directory is created
    used to be logged to the console, but not retained in the build log
    file. This made referring to the build log file confusing. Solve this
    by buffering logs in memory until the log file is created and replaying
    them.
    
    A little bit of hackery is needed to avoid saving dangling references to
    libsolv objects.