fix loggerd after bootlog split (#19840)

* fix loggerd after bootlog split

* logger handles that

* unused

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e64049ea4996af6bcd6fc1ff9338f5e20a5b393
This commit is contained in:
Adeeb Shihadeh
2021-01-19 14:27:19 -08:00
committed by GitHub
parent 77817dbd50
commit 5362097b37
4 changed files with 30 additions and 37 deletions
-7
View File
@@ -146,7 +146,6 @@ import cereal.messaging as messaging
from common.params import Params
from selfdrive.registration import register
from selfdrive.loggerd.config import ROOT
from selfdrive.launcher import launcher
@@ -421,12 +420,6 @@ def manager_init():
crash.bind_user(id=dongle_id)
crash.bind_extra(version=version, dirty=dirty, is_eon=True)
os.umask(0)
try:
os.mkdir(ROOT, 0o777)
except OSError:
pass
# ensure shared libraries are readable by apks
if EON:
os.chmod(BASEDIR, 0o755)