It doesn't correctly respect nonarch_base_libdir variable when installing
the file.

With this change applied I'm seeing:
ERROR: iwd-1.8-r0 do_package: QA Issue: iwd: Files/directories were
installed but not shipped in any package:
  /usr/lib
  /usr/lib/modules-load.d
  /usr/lib/modules-load.d/pkcs8.conf
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
iwd: 3 installed and not shipped files. [installed-vs-shipped]

possibly because of using usrmerge DISTRO_FEATURE in this build.

Will check and send follow-up.



On Sun, Aug 9, 2020 at 8:34 AM Khem Raj <[email protected]> wrote:

> This is autodetected by configure from systemd.pc and it depends on
> value of root_dir ( usrmerge ) and not /usr being hardcoded eg. in
> nonarch_libdir this has been fixed in systemd [1]
>
> Fixes
> ERROR: iwd-1.8-r0 do_package: QA Issue: iwd: Files/directories were
> installed but not shipped in any package:
> /lib/modules-load.d
> /lib/modules-load.d/pkcs8.conf
>
> [1]
> https://github.com/systemd/systemd/commit/4a56315a990b802860170ecd1bbd3eb68e14a38b
>
> Signed-off-by: Khem Raj <[email protected]>
> ---
>  meta-oe/recipes-connectivity/iwd/iwd_1.8.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.8.bb
> b/meta-oe/recipes-connectivity/iwd/iwd_1.8.bb
> index bfbf3c7fa6..b1e6fea2ff 100644
> --- a/meta-oe/recipes-connectivity/iwd/iwd_1.8.bb
> +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.8.bb
> @@ -41,7 +41,7 @@ do_install_append() {
>
>  FILES_${PN} += " \
>      ${datadir}/dbus-1 \
> -    ${nonarch_libdir}/modules-load.d \
> +    ${nonarch_base_libdir}/modules-load.d \
>      ${systemd_unitdir}/network \
>  "
>
> --
> 2.28.0
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86514): 
https://lists.openembedded.org/g/openembedded-devel/message/86514
Mute This Topic: https://lists.openembedded.org/mt/76080521/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to