refpolicy-targeted: enable PipeWire system-service mode for Qualcomm#383
refpolicy-targeted: enable PipeWire system-service mode for Qualcomm#383rchiluka29 wants to merge 1 commit into
Conversation
| @@ -0,0 +1 @@ | |||
| POLICY_CUSTOM_BUILDOPT:qcom = "pipewire_system_service" | |||
There was a problem hiding this comment.
Change :qcom to :qcom-distro.
There was a problem hiding this comment.
Done. Changed :qcom to :qcom-distro
acb6fea to
1d17bbf
Compare
| @@ -0,0 +1 @@ | |||
| POLICY_CUSTOM_BUILDOPT:qcom-distro = "pipewire_system_service" | |||
There was a problem hiding this comment.
Hmm, should it be :append:qcom-distro? If so, don't forget the leading whitespace
There was a problem hiding this comment.
yes, this can be done for future proofing.
Changed accordingly.
1d17bbf to
66514f2
Compare
|
The upstream PipeWire SELinux policy has been merged into refpolicy (SELinuxProject/refpolicy#1109). Set POLICY_CUSTOM_BUILDOPT to pipewire_system_service so that PipeWire runs as a system-wide daemon on Qualcomm embedded targets. Signed-off-by: Chiluka Rohith <rchiluka@qti.qualcomm.com>
66514f2 to
bc3a100
Compare
|
Reverted to direct assignment. The :append approach causes a leading space in POLICY_CUSTOM_BUILDOPT which breaks the make command CUSTOM_BUILDOPT= pipewire_system_service gets split into an empty variable and a make target, causing No rule to make target 'pipewire_system_service'. Direct assignment avoids this since POLICY_CUSTOM_BUILDOPT ?= "" is a weak default that gets cleanly replaced. Validated locally for CUSTOM_BUILDOPT=pipewire_system_service (no leading space) is passed correctly to make. |
|
Please sort it out in meta-selinux. We can't be using assignments in bbappends since other appends might also need to extend the variable. |
The upstream PipeWire SELinux policy has been merged into refpolicy (SELinuxProject/refpolicy#1109).
Set POLICY_CUSTOM_BUILDOPT to pipewire_system_service so that PipeWire runs as a system-wide daemon on Qualcomm embedded targets.