[Pkg-utopia-maintainers] Bug#913729: Bug#913729: wrong modinfo path if compiled on merged-usr system and executed on unmerged system

Michael Biebl biebl at debian.org
Wed Nov 14 12:45:59 GMT 2018


Am 14.11.18 um 13:18 schrieb Michael Biebl:

> I.e. AC_PATH_PROG return the wrong path when built in a merged-usr
> system.
> I suspect that this particular problem is very widespread, so i was
> wondering if we couldn't just address this once in the AC_PATH_PROG [1]
> macro, by preferring /bin/ over /usr/bin. Atm, it searches PATH, which
> is usually set to
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

As a short-term fix, I consider applying

--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ override_dh_autoreconf:

 override_dh_auto_configure:
        dh_auto_configure -- \
+               MODINFO=/sbin/modinfo \
+               MODPROBE=/sbin/modprobe \
+               RMMOD=/sbin/rmmod \
+               SYSCTL=/sbin/sysctl \
                --with-systemd-unitdir=/lib/systemd/system \
                --with-nft=/usr/sbin/nft \
                --with-iptables=/sbin/iptables \

Would you consider this a proper (short term) fix?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20181114/28ca6525/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list