Add build property ro.build.selinux when building
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Add build property ro.build.selinux when building
When building with HAVE_SELINUX:=true, this build property will be added to the systems properties.
--- core/main.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
core/main.mk +0 -0
@@ -218,6 +218,10 @@ ifneq ($(filter sdk win_sdk
sdk_addon,$(MAKECMDGOALS)),)
is_sdk_build := true
endif
+## have selinux ##
+ifeq ($(HAVE_SELINUX),true) +ADDITIONAL_BUILD_PROPERTIES += ro.build.selinux=1 +endif # HAVE_SELINUX
## user/userdebug ##
--
1.7.0.4
Signature · 3 lines
Respectfully, William C Roberts
Quoted 11 lines · William Roberts
When building with HAVE_SELINUX:=true, this build property will be added to the systems properties.
--- core/main.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)core/main.mk +0
-0
core/main.mk ifneq ($(filter sdk win_sdk sdk_addon, · line 227
Quoted 10 lines
core/main.mk +4
-0@@ -218,6 +218,10 @@ ifneq ($(filter sdk win_sdk sdk_addon, $(MAKECMDGOALS)),) is_sdk_build := true endif +## have selinux ## +ifeq ($(HAVE_SELINUX),true) +ADDITIONAL_BUILD_PROPERTIES += ro.build.selinux=1 +endif # HAVE_SELINUX ## user/userdebug ##
Already merged on master (and thus to seandroid). Not sure if you wanted it on 4.0.4 or 4.1.1. Subject line needs to identify target project and branch(es).
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.