Since we're picking up a kernel change that solves the same problem (see
previous commit), it's safe to not include this patch and wait on
upstream to pick it up.
This bumps the commit for 17.03 to remove that patch, and stops applying
it to 17.09.
1.12 never had it.
The script and udev rule were added to Gentoo due to
https://bugs.gentoo.org/556632 without much explanation. However,
iscsidev.sh has multiple problems:
- It doesn't run for all iSCSI devices, only those with a vendor string
of "IET". Thus it works for e.g. tgtd but not for enterprise iSCSI
targets.
- It was added in 2015, but udev's builtin path_id has supported iSCSI
targets -- and produced exactly the same /dev/disk/by-path links --
since systemd/systemd@a2fe9450bb in 2009.
- When the script decides not to do anything, it exits 1, producing a
series of systemd-udevd journal messages:
systemd-udevd[636]: Process '/usr/lib/udev/scripts/iscsidev.sh' failed with exit code 1.
The rule was added in 1b28d4e25452d0eacdc19074ccfbd445e88ccc11.
systemd 234 now ships a tmpfiles.d rule to create this file. Fixes
systemd-tmpfiles warning in journal:
[/usr/lib64/tmpfiles.d/var.conf:17] Duplicate line for path "/var/log/lastlog", ignoring.
By switching to the upstream rule, this changes the lastlog gid
from root to utmp and the mode from 0644 to 0664.
Also split them into an array so we can decouple the files in
patches/engine from those applied, e.g. to allow carrying patches for
only specific ebuilds.
This changes the rustc wrapper script to actually use cargo's
RUSTC_WRAPPER variable, and the logic in the script now uses the
--target option to detect when it is cross-compiling. If it is, it
transparently adds the --sysroot option to the rustc command so the
target libraries are used in the board as its sysroot. This allows
dropping any distinction between host-compatible targets.
In doing this, the cross-compiler wrapper scripts had to be moved
from the rustlib package to the eclass for all builds, since no
longer having a --sysroot on every call would resurrect failures
due to LD_LIBRARY_PATH.
The rustlib package itself is now also building proc_macro, using
its target output directory in the library search path to find the
bootstrapping libraries as it is building them.