Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

networkd-dhcp-conf: fix REQUIRED_DISTRO_FEATURES #771

Merged
merged 1 commit into from
Aug 31, 2020
Merged

networkd-dhcp-conf: fix REQUIRED_DISTRO_FEATURES #771

merged 1 commit into from
Aug 31, 2020

Conversation

shr-project
Copy link
Contributor

  • it's REQUIRED_DISTRO_FEATURES not REQUIRED_DISTRO_FEATURES_

  • inherit features_check to actually respect REQUIRED_DISTRO_FEATURES
    and fix:
    ERROR: networkd-dhcp-conf-1.0-r1 do_package_qa: QA Issue: networkd-dhcp-conf: recipe doesn't inherit features_check [unhandled-features-check]

  • fix:
    commit 4ae9917
    Author: Mykhaylo Sul ext-mykhaylo.sul@here.com
    Date: Fri Nov 1 11:44:44 2019 +0100

    OTA-3988: Don't build the networkd-dhcp recipe if systemd is not included into the disto feature list

Signed-off-by: Martin Jansa Martin.Jansa@gmail.com

* it's REQUIRED_DISTRO_FEATURES not REQUIRED_DISTRO_FEATURES_
* inherit features_check to actually respect REQUIRED_DISTRO_FEATURES
  and fix:
  ERROR: networkd-dhcp-conf-1.0-r1 do_package_qa: QA Issue: networkd-dhcp-conf: recipe doesn't inherit features_check [unhandled-features-check]
* fix:
  commit 4ae9917
  Author: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
  Date:   Fri Nov 1 11:44:44 2019 +0100

    OTA-3988: Don't build the networkd-dhcp recipe if systemd is not included into the disto feature list

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
@pattivacek
Copy link
Collaborator

Good catches, thanks! It's annoying, though, that the docs still list distro_features_check instead of features_check. I'm running the tests now.

Copy link
Collaborator

@pattivacek pattivacek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same flaky tests failed (https://main.gitlab.in.here.com/olp/edge/ota/connect/client/meta-updater/-/pipelines/1064001) but otherwise this looks fine, so I'm merging it.

@pattivacek pattivacek merged commit 9319d35 into advancedtelematic:master Aug 31, 2020
@shr-project
Copy link
Contributor Author

Thanks.

Yes the documentation should be better updated, but at least there is this:
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#migration-3.1-features-check
and there is reasonable warning message when you do inherit distro_features_check bbclass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants