systemd: make xdg optional
Make xdg optional to avoid a potential build error. Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
parent
6cacc4871a
commit
75492f95f7
|
@ -313,10 +313,16 @@ init_unit_file(systemd_user_manager_unit_t)
|
|||
|
||||
type systemd_conf_home_t;
|
||||
init_unit_file(systemd_conf_home_t)
|
||||
xdg_config_content(systemd_conf_home_t)
|
||||
|
||||
optional_policy(`
|
||||
xdg_config_content(systemd_conf_home_t)
|
||||
')
|
||||
|
||||
type systemd_data_home_t;
|
||||
xdg_data_content(systemd_data_home_t)
|
||||
userdom_user_home_content(systemd_data_home_t)
|
||||
optional_policy(`
|
||||
xdg_data_content(systemd_data_home_t)
|
||||
')
|
||||
|
||||
type systemd_user_runtime_notify_t;
|
||||
userdom_user_runtime_content(systemd_user_runtime_notify_t)
|
||||
|
|
Loading…
Reference in New Issue