Merge "init: add TODO for mount operations."

am: 94e9305511

Change-Id: I11e757937b08e1a8e1457c068fa4c2f5ebc91f4e
This commit is contained in:
Tom Cherry 2018-02-05 18:17:59 +00:00 committed by android-build-merger
commit e053c09f8d

View file

@ -1032,6 +1032,10 @@ const BuiltinFunctionMap::Map& BuiltinFunctionMap::map() const {
{"load_system_props", {0, 0, {false, do_load_system_props}}},
{"loglevel", {1, 1, {false, do_loglevel}}},
{"mkdir", {1, 4, {true, do_mkdir}}},
// TODO: Do mount operations in vendor_init.
// mount_all is currently too complex to run in vendor_init as it queues action triggers,
// imports rc scripts, etc. It should be simplified and run in vendor_init context.
// mount and umount are run in the same context as mount_all for symmetry.
{"mount_all", {1, kMax, {false, do_mount_all}}},
{"mount", {3, kMax, {false, do_mount}}},
{"umount", {1, 1, {false, do_umount}}},