Signed-off-by: Mike Gilbert <flop...@gentoo.org> --- eclass/tmpfiles.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass index a8bb9061ec8c..f23c7c77ab07 100644 --- a/eclass/tmpfiles.eclass +++ b/eclass/tmpfiles.eclass @@ -113,7 +113,7 @@ tmpfiles_process() { [[ ${#} -gt 0 ]] || die "${FUNCNAME}: Must specify at least one filename" # Only process tmpfiles for the currently running system - if [[ ${ROOT} != / ]]; then + if [[ ${ROOT:-/} != / ]]; then ewarn "Warning: tmpfiles.d not processed on ROOT != /. If you do not use" ewarn "a service manager supporting tmpfiles.d, you need to run" ewarn "the following command after booting (or chroot-ing with all" -- 2.21.0