Merge "Create /metadata/staged-install dir to store staged install failure reasons" into rvc-dev
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 2d67194..01609db 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -517,6 +517,8 @@
 
     mkdir /metadata/apex 0700 root system
     mkdir /metadata/apex/sessions 0700 root system
+
+    mkdir /metadata/staged-install 0770 root system
 on late-fs
     # Ensure that tracefs has the correct permissions.
     # This does not work correctly if it is called in post-fs.