Files
poky/meta/recipes-devtools
Martin Jansa 0552d9536b opkg: fix ptest packaging when OPKGLIBDIR == libdir
there is small issue with ptest packaging in cases where
OPKGLIBDIR is set to /usr/lib.

Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered:
ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but no providers found in RDEPENDS_libopkg? [file-rdeps]

  # $FILES_libopkg
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:62
  #     "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
  FILES_libopkg="/usr/lib/*.so.* /usr/lib/opkg/"

  # $FILES_opkg-ptest [2 operations]
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:9
  #     "${PTEST_PATH}"
  #   rename from FILES_${PN}-ptest data.py:117 [expandKeys]
  #     "${PTEST_PATH}"
  # pre-expansion value:
  #   "${PTEST_PATH}"
  FILES_opkg-ptest="/usr/lib/opkg/ptest"

  # $PACKAGES [4 operations]
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/bitbake.conf:292
  #     "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/documentation.conf:314
  #     [doc] "The list of packages to be created from the recipe."
  #   prepend /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:20
  #     "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
  #   prepend /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:60
  #     "libopkg"
  # pre-expansion value:
  #   "libopkg ${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)} ${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
  PACKAGES="libopkg opkg-ptest opkg-src opkg-dbg opkg-staticdev opkg-dev opkg-doc opkg-locale  opkg"

The easiest fix should be to reorder PACKAGES (the _prepends) so that ${PN}-ptest is prepended later -> ends before libopkg).

(From OE-Core rev: e329f1a9ad7e68575912345ec7c18c12f5971998)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
..
2018-08-23 18:02:23 +01:00
2019-04-26 10:09:08 +01:00
2019-04-05 17:32:50 +01:00
2019-02-25 10:43:07 +00:00
2018-03-06 06:43:10 -08:00
2019-03-06 10:39:25 +00:00
2019-04-30 12:05:23 +01:00
2019-04-30 12:05:23 +01:00
2019-04-23 23:30:19 +01:00
2018-11-14 11:14:39 +00:00
2019-03-18 23:47:43 +00:00
2018-12-20 14:53:55 +00:00
2018-03-09 09:17:03 -08:00
2018-05-11 07:49:37 +01:00
2019-04-16 11:10:02 +01:00
2019-04-16 11:10:02 +01:00
2019-04-12 14:05:37 +01:00
2019-04-03 14:50:13 +01:00
2019-04-25 00:05:20 +01:00
2018-01-30 12:53:16 +00:00
2019-02-15 16:05:37 +00:00
2018-03-31 09:48:42 +01:00
2019-03-04 22:57:05 +00:00
2019-04-01 14:48:44 +01:00
2019-04-23 23:30:19 +01:00
2018-08-23 07:50:01 +01:00
2019-01-27 13:05:17 +00:00
2019-02-25 10:43:07 +00:00
2018-11-14 11:14:39 +00:00
2019-05-01 09:08:58 +01:00
2019-05-03 06:11:57 +01:00
2019-04-12 09:29:06 +01:00
2019-01-14 11:49:07 +00:00
2019-01-27 13:05:17 +00:00
2019-03-04 22:57:05 +00:00
2019-04-16 11:10:02 +01:00
2019-04-05 17:32:50 +01:00