{"action":"created","issue":{"url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/issues/430","repository_url":"https://api.github.com/repos/sonyxperiadev/device-sony-common","labels_url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/issues/430/comments","events_url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/issues/430/events","html_url":"https://github.com/sonyxperiadev/device-sony-common/pull/430","id":300495612,"number":430,"title":"[master] sony: common: init: Fix charger dependencies","user":{"login":"humberos","id":597814,"avatar_url":"https://avatars3.githubusercontent.com/u/597814?v=4","gravatar_id":"","url":"https://api.github.com/users/humberos","html_url":"https://github.com/humberos","followers_url":"https://api.github.com/users/humberos/followers","following_url":"https://api.github.com/users/humberos/following{/other_user}","gists_url":"https://api.github.com/users/humberos/gists{/gist_id}","starred_url":"https://api.github.com/users/humberos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humberos/subscriptions","organizations_url":"https://api.github.com/users/humberos/orgs","repos_url":"https://api.github.com/users/humberos/repos","events_url":"https://api.github.com/users/humberos/events{/privacy}","received_events_url":"https://api.github.com/users/humberos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-27T05:09:58Z","updated_at":"2018-02-27T14:28:37Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/pulls/430","html_url":"https://github.com/sonyxperiadev/device-sony-common/pull/430","diff_url":"https://github.com/sonyxperiadev/device-sony-common/pull/430.diff","patch_url":"https://github.com/sonyxperiadev/device-sony-common/pull/430.patch"},"body":"This path allows system and odm to be mounted early which\r\nhave .rc files and critical services that are called/required\r\nfrom boot process.\r\n\r\nThere is a race condition during offline charger service call as following:\r\n\r\nWhen its dependencies are declared in vendor then we have the service loading error:\r\n\r\n[    2.189134] charger: android charging is enabled\r\n[    2.202449] EXT4-fs (mmcblk0p52): mounted filesystem with ordered data mode. Opts: barrier=1\r\n[    2.207436] EXT4-fs (mmcblk0p28): mounted filesystem with ordered data mode. Opts: barrier=1\r\n[    2.207589] init: do_start: Service rmt_storage not found\r\n[    2.207648] init: do_start: Service mlog_qmi_service not found\r\n[    2.207745] init: do_start: Service irsc_util not found\r\n[    2.207809] init: processing action (charger) from (init.loire.pwr.rc:30)\r\n\r\nIf the services are declared inline (in ramdisk) then we have:\r\n\r\n[    2.662462] charger: android charging is enabled\r\n[    2.676562] EXT4-fs (mmcblk0p52): mounted filesystem with ordered data mode. Opts: barrier=1\r\n[    2.684344] EXT4-fs (mmcblk0p28): mounted filesystem with ordered data mode. Opts: barrier=1\r\n[    2.685980] init: starting service 'rmt_storage'...\r\n[    2.686785] init: starting service 'mlog_qmi_service'...\r\n[    2.687525] init: starting service 'irsc_util'...\r\n[    2.688257] init: processing action (charger) from (init.loire.pwr.rc:30)\r\n\r\nSigned-off-by: Humberto Borba <humberos@omnirom.org>\r\nChange-Id: I927a23aaec1847b5ab8dfc8fda6172ce930d2c6e"},"comment":{"url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/issues/comments/368895611","html_url":"https://github.com/sonyxperiadev/device-sony-common/pull/430#issuecomment-368895611","issue_url":"https://api.github.com/repos/sonyxperiadev/device-sony-common/issues/430","id":368895611,"user":{"login":"jerpelea","id":7842698,"avatar_url":"https://avatars2.githubusercontent.com/u/7842698?v=4","gravatar_id":"","url":"https://api.github.com/users/jerpelea","html_url":"https://github.com/jerpelea","followers_url":"https://api.github.com/users/jerpelea/followers","following_url":"https://api.github.com/users/jerpelea/following{/other_user}","gists_url":"https://api.github.com/users/jerpelea/gists{/gist_id}","starred_url":"https://api.github.com/users/jerpelea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerpelea/subscriptions","organizations_url":"https://api.github.com/users/jerpelea/orgs","repos_url":"https://api.github.com/users/jerpelea/repos","events_url":"https://api.github.com/users/jerpelea/events{/privacy}","received_events_url":"https://api.github.com/users/jerpelea/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T14:28:37Z","updated_at":"2018-02-27T14:28:37Z","author_association":"COLLABORATOR","body":"https://github.com/sonyxperiadev/kernel/commit/58705ca63229eaa2bd04af12dd504c959f924543\r\nhttps://github.com/sonyxperiadev/kernel/commit/3aa241584a26b993ef8791a28f593ca10beecdf7\r\nhttps://github.com/sonyxperiadev/kernel/commit/3aa241584a26b993ef8791a28f593ca10beecdf7\r\n\r\n"}}
{"actor":{"display_login":"jerpelea"}}