Eli Schwartz 53b5eaaead sys-power/nut: fix confusing split-usr handling
Almost a decade ago, upstream moved their binary from libdir to sbindir.
Historically, Gentoo symlinked the binary into sbindir to make up for
this -- and when upstream moved to follow the Gentoo layout, the Gentoo
symlink overwrote the actual binary.

For some reason, at the time, the solution used was to add a
USE=split-usr and install extra symlinks for /sbin -> /usr/sbin even
though this didn't actually do something meaningful. The split-usr USE
flag has issues and using it unnecessarily should be avoided if
possible. Drop the USE flag, and the symlink, and stick with /usr/sbin
as upstream intends.

This should be 100% fine in all cases. The /sbin directory is only
needed for users who both have /usr on a different partition, *and*
don't use an initramfs. In such a case, it is nonsensical to provide a
symlink in /sbin that is a broken symlink to an un-mounted partition.

Bug: https://bugs.gentoo.org/517954
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-01 00:12:13 +00:00
2023-12-30 17:56:07 +01:00
2023-12-30 03:10:57 +00:00
2023-12-29 23:48:40 +01:00
2023-12-28 21:45:43 +09:00
2023-12-30 03:10:57 +00:00
2023-12-31 18:21:54 +01:00
2023-12-27 16:58:46 +01:00
2023-12-31 19:55:26 +01:00
2023-12-27 20:22:29 +01:00
2023-12-26 21:24:48 +00:00
2023-12-31 16:29:41 +01:00
2023-12-23 22:51:20 +01:00
2023-12-28 03:00:04 +01:00
2023-12-31 20:48:57 +01:00
2023-12-28 21:39:42 +09:00
2023-12-28 04:55:40 +00:00
2023-12-16 09:59:04 +02:00
2023-12-30 01:03:01 +02:00
2023-12-29 19:07:51 +02:00
2023-12-30 03:10:57 +00:00
2023-12-22 09:38:17 +01:00
2023-12-30 17:10:53 +01:00
2023-12-28 04:41:48 +00:00
2023-12-30 17:50:22 -05:00
2023-12-31 03:43:33 +01:00
2024-01-01 00:08:11 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%