mirror of
https://gitee.com/openharmony/developtools_integration_verification
synced 2024-11-27 02:10:38 +00:00
回退 'Pull Request !283 : 修改init 合法性检查失效'
This commit is contained in:
parent
9f381d55fb
commit
82a71fe45b
@ -62,7 +62,7 @@ def _startup_guard_module(out_path, args):
|
||||
|
||||
def deps_guard(out_path, args=None):
|
||||
_deps_guard_module(out_path, args)
|
||||
_startup_guard_module(out_path, args)
|
||||
#_startup_guard_module(out_path, args)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
@ -432,10 +432,10 @@ class ConfigParser():
|
||||
|
||||
def scan_config(self):
|
||||
config_paths = [
|
||||
"system/etc/init",
|
||||
"chip_prod/etc/init",
|
||||
"sys_prod/etc/init",
|
||||
"vendor/etc/init",
|
||||
"/system/etc/init",
|
||||
"/chip_prod/etc/init",
|
||||
"/sys_prod/etc/init",
|
||||
"/vendor/etc/init",
|
||||
]
|
||||
for file_name in config_paths:
|
||||
self._scan_config_file(file_name)
|
||||
@ -504,7 +504,7 @@ def startup_config_collect(base_path):
|
||||
parser = ConfigParser(os.path.join(base_path, "packages/phone"))
|
||||
parser.load_config("/system/etc/init.cfg")
|
||||
parser.scan_config()
|
||||
parser.load_selinux_config("system/etc/selinux/config")
|
||||
parser.load_selinux_config("/system/etc/selinux/config")
|
||||
return parser
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user