Ticket 47513 - tmpfiles.d references /var/lock when they should reference /run/lock
The previous patch was using numeric comparison instead of string
comparison to check if localrundir was empty. This was causing our
tmpfiles.d configuration to use the settings from the inf file,
which evaluates to /var/run when using --with-fhs.
This patch uses a proper string comparison which results in using
/run in the tmpfiles.d config as desired.
(cherry picked from commit 0394b2bb9cae3016eeb975ed194e8c7258ed868b)
(cherry picked from commit 0bd980dcc8068c5922ad7ec750622685ed612e48)
(cherry picked from commit 848f5c8eed60573fc52ee58595510af6e8d0eb2b)