summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-03-16 12:22:11 +0000
committerAbhisek Devkota <ciwrl@cyanogenmod.com>2015-04-15 19:26:31 +0000
commitfd6bfe7bf005d551286a7e77d2b1dd09f2272162 (patch)
tree95226d727c9e2721b25552f462c51cb42b30a98b
parentb7634f7cd8a9504834b8b783d4599124b00c23e3 (diff)
downloadvendor_replicant-fd6bfe7bf005d551286a7e77d2b1dd09f2272162.zip
vendor_replicant-fd6bfe7bf005d551286a7e77d2b1dd09f2272162.tar.gz
vendor_replicant-fd6bfe7bf005d551286a7e77d2b1dd09f2272162.tar.bz2
Remove userinit from user builds
/data is supposed to be inaccessible to begin with, and we don't want the init sequence tampered with for user builds Change-Id: If3eb5573248956a14ad56516a9871758f4c00989 (cherry picked from commit a9d772166365a27181a7441c10a6c60a2bab7dab)
-rw-r--r--config/common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/common.mk b/config/common.mk
index 85a24b7..378aa65 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -93,9 +93,11 @@ PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
vendor/cm/prebuilt/common/bin/sysinit:system/bin/sysinit
+ifneq ($(TARGET_BUILD_VARIANT),user)
# userinit support
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit
+endif
# CM-specific init file
PRODUCT_COPY_FILES += \