Hilko Bengen
2016-Nov-11 09:49 UTC
[Libguestfs] [PATCH] configure: Look for dpkg* only in /usr/bin, /bin
dpkg used to ship with a symlink /usr/sbin/dpkg-divert -> ../bin/dpkg-divert that recently got removed nd caused breakage (libguestfs build failures) because configure had chosen the wrong binary. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 3a0d25d..72ffb92 100644 --- a/configure.ac +++ b/configure.ac @@ -110,10 +110,10 @@ AC_PATH_PROG(URPMI,[urpmi],[no], [$PATH$PATH_SEPARATOR/usr/sbin]) dnl For Debian handler. AC_PATH_PROG(APT_GET,[apt-get],[no]) -AC_PATH_PROG(DPKG,[dpkg],[no]) -AC_PATH_PROG(DPKG_DEB,[dpkg-deb],[no]) -AC_PATH_PROG(DPKG_QUERY,[dpkg-query],[no]) -AC_PATH_PROG(DPKG_DIVERT,[[dpkg-divert]],[no]) +AC_PATH_PROG(DPKG,[dpkg],[no],[/usr/bin:/bin]) +AC_PATH_PROG(DPKG_DEB,[dpkg-deb],[no],[/usr/bin:/bin]) +AC_PATH_PROG(DPKG_QUERY,[dpkg-query],[no],[/usr/bin:/bin]) +AC_PATH_PROG(DPKG_DIVERT,[[dpkg-divert]],[no],[/usr/bin:/bin]) dnl For FrugalWare handler (currently disabled). AC_PATH_PROG(PACMAN_G2,[pacman-g2],[no]) -- 2.10.2
Apparently Analagous Threads
- [supermin 1/3] Recognize dpkg-divert
- [PATCH supermin v2 1/4] init: Uncompress modules before adding them to the mini initrd.
- [PATCH 2/2] Use os-release to detect the distro
- supermin and dpkg-divert
- Re: [supermin 3/3] Use the file tuple up to the point where files are copied into the filesystem / chroot