pre-startup.conf: Include changes from CrOS pre-startup.conf

This adds a call to systemd-tmpfiles that is needed to initialize
directories.

BUG=b:181291300
TEST=factory shim doesn't bootloop

Exempt-From-Owner-Approval: Fix ToT for factory shims.
Change-Id: I162e05b138299eb1728d1729da5fa55ba60909e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/factory_installer/+/2737782
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
diff --git a/init/pre-startup.conf b/init/pre-startup.conf
index 02e87c7..b58ad1b 100644
--- a/init/pre-startup.conf
+++ b/init/pre-startup.conf
@@ -14,4 +14,8 @@
 script
   umount /tmp || true
   umount /run || true
+  # Apply the tmpfiles.d configurations for /dev and /run.
+  systemd-tmpfiles --create --remove --boot \
+    --prefix /dev \
+    --prefix /run
 end script