mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-23 06:24:20 +00:00
The --with-smart option behind the feature "smart" relies on the drivedb.h header, provided by smartmontools package (/usr/share/smartmontools/drivedb.h). However the dependencies (DEPENDS) miss this package. Furthermore, if the --with-drivedb option is not used, the configuration step will search for the file first on the host's rootfs. This may result in the wrong header being picked, or the --with-smart option being silently disabled due to incomplete dependencies (causing missing header). The header is now guaranteed to be present due to an added dependency in the "smart" feature, and its location is specified by the --with-drivedb option. Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>