dracutdir is derived using pkg-config, therefore it doesn't respect ${prefix}. Hence make distcheck will try to install to an absolute path instead of the temporary installation directory, which usually fails without root privileges (and is not desired anyway). Fix this by providing distcheck with the default dracutmodulesdir path derived from ${prefix}.
dracutdir
is derived using pkg-config, therefore it doesn't respect${prefix}
. Hencemake distcheck
will try to install to an absolute path instead of the temporary installation directory, which usually fails without root privileges (and is not desired anyway). Fix this by providing distcheck with the defaultdracutmodulesdir
path derived from${prefix}
.