mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Merge branch 'cboltz-drop-localinclude' into 'master'
Drop 'localinclude' in parse_profile_data() and ProfileStorage See merge request apparmor/apparmor!427 Acked-by: John Johansen <john.johansen@canonical.com> for 2.12..master Acked-by: Steve Beattie <steve@nxnw.org> for 2.12..master (cherry picked from commit b017f8f8a9fadc63d983814a44016aeb9dd57475) 001ea9e3 Drop 'localinclude' in parse_profile_data() and ProfileStorage
This commit is contained in:
parent
ae74d9344a
commit
fd50663ec5
@ -2365,8 +2365,6 @@ def parse_profile_data(data, file, do_include):
|
||||
elif re_match_include(line):
|
||||
# Include files
|
||||
include_name = re_match_include(line)
|
||||
if include_name.startswith('local/'):
|
||||
profile_data[profile][hat]['localinclude'][include_name] = True
|
||||
|
||||
if profile:
|
||||
profile_data[profile][hat]['include'][include_name] = True
|
||||
|
@ -54,7 +54,6 @@ class ProfileStorage:
|
||||
data['alias'] = dict()
|
||||
data['abi'] = []
|
||||
data['include'] = dict()
|
||||
data['localinclude'] = dict()
|
||||
data['lvar'] = dict()
|
||||
data['repo'] = dict()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user