commit | d0365fa5b60558dfdeca17ce8b4467b4212499a9 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@us.ibm.com> | Fri Sep 01 14:52:54 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Sep 11 02:15:28 2017 +0000 |
tree | 0dcfe17115e1fbe189299d175e5c54d5b608bf4b | |
parent | 0187c313b6881bcdb7e411178eb84596581e4531 [diff] |
Add /home bind mount Need /home to be writable and persistent. Resolves openbmc/openbmc#2250 Change-Id: I1b3477945b3364a9a5053fd085ff8fd591ad6949 Signed-off-by: Eddie James <eajames@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-core/base-files/base-files/fstab b/meta-phosphor/common/recipes-core/base-files/base-files/fstab index 45784b4..ba65689 100644 --- a/meta-phosphor/common/recipes-core/base-files/base-files/fstab +++ b/meta-phosphor/common/recipes-core/base-files/base-files/fstab
@@ -8,3 +8,4 @@ overlay /etc overlay defaults,x-systemd.requires=prepare-overlay.service,lowerdir=/etc,upperdir=/var/persist/etc,workdir=/var/persist/etc-work 0 0 tmpfs /var/volatile tmpfs defaults 0 0 tmpfs /media tmpfs defaults 0 0 +/var/persist/home /home none bind,x-systemd.requires=prepare-overlay.service 0 0
diff --git a/meta-phosphor/common/recipes-phosphor/mount-overlay-help/mount-overlay-help/prepare-overlay.service b/meta-phosphor/common/recipes-phosphor/mount-overlay-help/mount-overlay-help/prepare-overlay.service index 0f48277..ae5f461 100644 --- a/meta-phosphor/common/recipes-phosphor/mount-overlay-help/mount-overlay-help/prepare-overlay.service +++ b/meta-phosphor/common/recipes-phosphor/mount-overlay-help/mount-overlay-help/prepare-overlay.service
@@ -4,6 +4,6 @@ DefaultDependencies=false [Service] -ExecStart=/bin/sh -c "rm -rf /var/persist/etc-work && mkdir -p /var/persist/etc /var/persist/etc-work" +ExecStart=/bin/sh -c "rm -rf /var/persist/etc-work && mkdir -p /var/persist/etc /var/persist/etc-work /var/persist/home/root" Type=oneshot RemainAfterExit=no