mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-30 17:50:46 +00:00
e334f8816c
Not all command executions (or write operations in this specific case) requires being root. So, allow write_value() and dependent revertable_write_value() to support non-root executions by introducing 'as_root' optional parameter whose default is True to preserve current behavior of the aforementioned methods. Meanwhile, update the copyright year of the touched file, too. Signed-off-by: Metin Kaya <metin.kaya@arm.com>