init: require e2fsdroid and mke2fs when building init
am: 041f849548
Change-Id: Icf49587d20a210cdcf130aacc25ecbcbfd31f06c
This commit is contained in:
commit
f361c2560c
2 changed files with 8 additions and 0 deletions
|
|
@ -94,6 +94,10 @@ cc_binary {
|
||||||
|
|
||||||
name: "init",
|
name: "init",
|
||||||
defaults: ["init_defaults"],
|
defaults: ["init_defaults"],
|
||||||
|
required: [
|
||||||
|
"e2fsdroid",
|
||||||
|
"mke2fs",
|
||||||
|
],
|
||||||
static_executable: true,
|
static_executable: true,
|
||||||
srcs: [
|
srcs: [
|
||||||
"bootchart.cpp",
|
"bootchart.cpp",
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,10 @@ LOCAL_STATIC_LIBRARIES := \
|
||||||
libavb \
|
libavb \
|
||||||
libkeyutils \
|
libkeyutils \
|
||||||
|
|
||||||
|
LOCAL_REQUIRED_MODULES := \
|
||||||
|
e2fsdroid \
|
||||||
|
mke2fs \
|
||||||
|
|
||||||
# Create symlinks.
|
# Create symlinks.
|
||||||
LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
|
LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
|
||||||
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
|
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue