commit | 224ea9f5f21f47d15441751a6844825dbc8af300 | [log] [tgz] |
---|---|---|
author | Allen Webb <allenwebb@google.com> | Thu Mar 04 13:59:17 2021 -0800 |
committer | Allen Webb <allenwebb@google.com> | Fri Mar 05 14:17:00 2021 +0000 |
tree | e2642866bea00c3a37a5e2a81ca2c2c2d5a441f2 | |
parent | a6cf8a90d3bc12652af10a706e4c357adb9da57b [diff] |
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