On Thu, 25 Apr 2019 17:46:50 -0400
Mike Gilbert <flop...@gentoo.org> wrote:

> 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"

Ack.

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

Attachment: pgpSIOLgouwE3.pgp
Description: OpenPGP digital signature

Reply via email to