Index: src/platform/init/chromeos_startup |
diff --git a/src/platform/init/chromeos_startup b/src/platform/init/chromeos_startup |
index 32ed01f7f9da8794c434085d93fd0a945a6a0629..41e1f2c8269bb7b9ee29c2d8997063065ece089c 100755 |
--- a/src/platform/init/chromeos_startup |
+++ b/src/platform/init/chromeos_startup |
@@ -63,6 +63,10 @@ mkdir -p -m 0755 /mnt/stateful_partition/var/tmp |
mkdir -p -m 0755 /mnt/stateful_partition/var/run |
chmod 0755 /mnt/stateful_partition/var |
+# Directory for ChromeOS metrics collection |
+mkdir -p -m 0755 /mnt/stateful_partition/var/log/metrics |
+chown chronos:chronos /mnt/stateful_partition/var/log/metrics |
+ |
# Default to Pacific timezone if we don't have one set |
! ln -s /usr/share/zoneinfo/US/Pacific /mnt/stateful_partition/etc/localtime \ |
> /dev/null 2>&1 |