[coreboot-gerrit] Patch merged into coreboot/master: cbfstool: accept read-only files when possible

gerrit at coreboot.org gerrit at coreboot.org
Tue Jan 19 18:15:16 CET 2016


the following patch was just integrated into master:
commit 755994689630fbec38c1a3e5d61aef69fc7ff8c5
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Wed Dec 9 09:39:31 2015 -0800

    cbfstool: accept read-only files when possible
    
    cbfstool tries opening the input file for write access even if the
    command does not require modifying the file.
    
    Let's not request write access unless it is necessary, this way one
    can examine write protected files without sudo.
    
    BRANCH=none
    BUG=none
    TEST=running
    
       cbfstool /build/<board>/firmware/image.bin print
    
       in chroot does not require root access any more.
    
    Change-Id: Ic4e4cc389b160da190e44a676808f5c4e6625567
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: ef6a8e25d9e257d7de4cc6b94e510234fe20a56d
    Original-Change-Id: I871f32f0662221ffbdb13bf0482cb285ec184d07
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/317300
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/12931
    Tested-by: build bot (Jenkins)
    Reviewed-by: Martin Roth <martinroth at google.com>


See https://review.coreboot.org/12931 for details.

-gerrit



More information about the coreboot-gerrit mailing list