On Wed, 2019-04-24 at 07:56 -0400, Michael Orlitzky wrote:
> Likewise, the only function in tmpfiles.eclass that uses a systemd or
> opentmpfiles program is
> 
>   tmpfiles_process() {
>     ...
>     if type systemd-tmpfiles &> /dev/null; then
>       systemd-tmpfiles --create "$@"
>     elif type tmpfiles &> /dev/null; then
>       tmpfiles --create "$@"
>     fi
>     ...
>   }
> 
> which will still work (albeit with a warning) if you somehow manage not
> to have virtual/tmpfiles installed. So, if it's important, I think we
> could drop the RDEPEND="virtual/tmpfiles" from tmpfiles.eclass.

Programs depend on tmpfiles being actually processed (either at install
time or on boot).  If you don't have the deps, you'll end up with
missing directories, and programs that don't work out of the box.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to