Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6dfd45f authored by Jin Qian's avatar Jin Qian Committed by android-build-merger
Browse files

init: require e2fsdroid and mke2fs when building init am: 041f8495

am: f361c256

Change-Id: Ic85298e7340a6e61aeab5cfeadaf4cb7a24ade1f
parents 73cb79e3 f361c256
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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",
+4 −0
Original line number Original line Diff line number Diff line
@@ -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; \