diff options
-rw-r--r-- | meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bb b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bb index 3d193bc436..fd7a9bf190 100644 --- a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bb +++ b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init.bb @@ -19,7 +19,12 @@ SRC_URI += "\ S = "${WORKDIR}" -NOROOTFS_PERSISTENT_DIRS = "var etc ${@ d.getVar('ROOT_HOME')[1:]}" +NOROOTFS_PERSISTENT_DIRS = "\ + var \ + etc \ + home \ + ${@ bb.utils.contains('ROOT_HOME', '/home/root', '', d.getVar('ROOT_HOME')[1:], d)} \ + " inherit allarch inherit update-alternatives |