mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
Eudev install creates a symlink from $(sbindir)/udevadm to $(bindir)/udevadm if sbindir and bindir are different [1]. Unfortunately the check considers only the configured values as strings and does not resolve symlinks. This means that in a merged-bin setup with sbindir=/sbin (symlink to /usr/sbin, which is a symlink to /usr/bin) and bindir=/usr/bin the /usr/bin/udevadm binary gets overwritten with a link to itself. Set sbindir according to the merge setup to avoid the problem, bindir defaults to /usr/bin in any case. [1]9e7c4e744b/src/udev/Makefile.am (L139-L140)Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> (cherry picked from commita063c89dc2) Signed-off-by: Thomas Perale <thomas.perale@mind.be>