From de92708b123ecfed8be5a41532bd4979437bdaa2 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 4 Mar 2018 22:24:18 +0100 Subject: [PATCH] Create folder before creating rc file --- environ/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/environ/Android.mk b/environ/Android.mk index 2eec2d5..750d13b 100644 --- a/environ/Android.mk +++ b/environ/Android.mk @@ -4,6 +4,7 @@ LOCAL_MODULE := treble-environ-rc LOCAL_MODULE_TAGS := optional LOCAL_POST_INSTALL_CMD := \ + mkdir -p $(PRODUCT_OUT)/system/etc/init/ && \ sed -e 's?%BOOTCLASSPATH%?$(PRODUCT_BOOTCLASSPATH)?g' device/phh/treble/environ/init.treble-environ.rc > $(PRODUCT_OUT)/system/etc/init/init.treble-environ.rc && \ sed -i -e 's?%SYSTEMSERVERCLASSPATH%?$(PRODUCT_SYSTEM_SERVER_CLASSPATH)?g' $(PRODUCT_OUT)/system/etc/init/init.treble-environ.rc