Add directory /var/empty in base-files

Submitted by Lachlan Archibald on Aug. 19, 2020, 5:34 a.m. | Patch ID: 175443

Details

Message ID 20200819053439.3241164-1-lachlan.archibald@opengear.com
State New
Headers show

Commit Message

Lachlan Archibald Aug. 19, 2020, 5:34 a.m.
/var/empty is commonly used as the home directory for system users that do not
have any other dedicated directory.

Signed-off-by: Lachlan Archibald <lachlan.archibald@opengear.com>
---
 meta/recipes-core/base-files/base-files_3.0.14.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 94299431f6..ff706637fa 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -39,7 +39,7 @@  dirs755 = "/boot /dev ${base_bindir} ${base_sbindir} ${base_libdir} \
            ${libdir} ${sbindir} ${datadir} \
            ${datadir}/common-licenses ${datadir}/dict ${infodir} \
            ${mandir} ${datadir}/misc ${localstatedir} \
-           ${localstatedir}/backups ${localstatedir}/lib \
+           ${localstatedir}/backups ${localstatedir}/empty ${localstatedir}/lib \
            ${localstatedir}/lib/misc ${localstatedir}/spool \
            ${localstatedir}/volatile \
            ${localstatedir}/${@'volatile/' if oe.types.boolean('${VOLATILE_LOG_DIR}') else ''}log \