Files
systemd/src/basic
Zbigniew Jędrzejewski-Szmek 0f36a4c897 Try path without sbin even if compiled with split-bin=true
I'm working on the transition to merged sbin in Fedora. While the transition is
happening (and probably for a while after), we need to compile systemd with
split-bin=true to support systems upgraded from previous versions. But when the
system has been upgraded and already has /usr/sbin that is a symlink, be nice
and give $PATH without sbin.

We check for both /usr/sbin and /usr/local/sbin. If either exists and is not a
symlink to ./bin, we retain previous behaviour. This means that if both are
converted, we get the same behaviour as split-bin=false, and otherwise we
get the same behaviour as before.

sd-path uses the same logic. This is not a hot path, so I got rid of the nulstr
macros that duplicated the logic.
2024-04-22 09:53:24 +02:00
..
2024-03-05 12:33:44 +01:00
2024-01-16 10:49:26 -07:00
2024-04-03 11:50:25 +01:00
2024-04-03 11:50:25 +01:00
2023-11-22 20:38:38 +00:00
2023-12-13 20:42:05 +08:00
2024-03-18 11:04:42 +00:00
2024-03-18 11:04:42 +00:00
2023-10-04 08:58:10 +09:00
2024-03-22 12:46:32 +01:00
2024-04-05 12:14:18 +02:00
2024-03-20 15:48:05 +00:00
2023-08-01 10:14:49 +02:00
2023-12-05 23:50:25 +09:00
2024-03-22 01:44:45 +08:00
2024-03-22 01:44:45 +08:00
2024-04-10 01:45:12 +08:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2023-11-01 14:07:54 +00:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-04-03 10:03:53 +08:00
2024-01-30 11:18:15 -05:00
2024-02-02 09:10:02 +09:00
2024-01-10 03:08:31 +09:00