Ncurses not necessary when building host-util-linux, so passing
--without-ncurses avoids from misdetecting an installed host ncurses
on the build machine.
[Thomas: improve commit message]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
--disable-login --disable-mount --disable-partx \
--disable-pivot_root --disable-rename --disable-schedutils \
--disable-su --disable-switch_root --disable-unshare \
- --disable-uuidd --disable-wall
+ --disable-uuidd --disable-wall --without-ncurses
# Avoid building the tools if they are disabled since we can't install on
# a per-directory basis.