Merge "init: chmod bldrlog to 444 to capture bldrlog" into qt-qpr1-dev

am: a6237dbda8

Change-Id: Id66d4f37d305ca9dd3b67703a20b46132e48c51a
This commit is contained in:
Jone Chou
2019-08-30 06:23:27 -07:00
committed by android-build-merger
2 changed files with 5 additions and 0 deletions

View File

@@ -405,6 +405,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number");
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");
DumpFileToFd(fd, "CPU online", "/sys/devices/system/cpu/online");
DumpFileToFd(fd, "Bootloader Log", "/proc/bldrlog");
DumpTouch(fd);
DumpF2FS(fd);

View File

@@ -463,6 +463,10 @@ on property:sys.boot_completed=1
chown system system /dev/iaxxx-module-celldrv
chmod 0660 /dev/iaxxx-module-celldrv
# Permission for bootloader logs
chown root log /proc/bldrlog
chmod 0444 /proc/bldrlog
service vendor.per_mgr /vendor/bin/pm-service
class core
user system