attr: package /etc/xattr.conf with the library that consumes it

This matters for example with latest coreutils where cp
wouldn't copy extended attributes by default if the config
file specifying that policy is not there, and so ptest fails.

(From OE-Core rev: 90818d87eaa7f2bf6cec6200c727c1bd10b4fdd8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-06-14 11:28:35 +02:00
committed by Richard Purdie
parent b6f1d618ed
commit ee6305bdd0

View File

@@ -22,7 +22,7 @@ inherit ptest update-alternatives autotools gettext
PACKAGES =+ "lib${BPN}"
FILES:lib${BPN} = "${libdir}/lib*${SOLIBS}"
FILES:lib${BPN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}"
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE:${PN} = "setfattr"