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

Add bbappend for wpa-supplicant and hostapd #785

Closed
wants to merge 0 commits into from

Conversation

miaoqing-quic
Copy link

Switch the code source from w1.fi/releases to w1.fi/hostap.git so that we can specify the latest code version. Additionally, enable features such as 11AX, 11BE, 11R, ACS and OWE.

@koenkooi
Copy link
Contributor

koenkooi commented Mar 3, 2025

Generally we follow the OE commit message guidelines, so start with the recipe/class/conf and then say what it does and explain the how in the message body. So for this PR, the commit message should look like this:

hostapd: switch from tarball releases to git, add custom qcom config

Switch the code source from w1.fi/releases to w1.fi/hostap.git so that
we can specify the latest code version. Additionally, enable features
such as 11AX, 11BE, 11R, ACS and OWE.

Signed-off-by: Miaoqing Pan [email protected]

and

wpa-supplicant: switch from tarball releases to git, add custom qcom config

Switch the code source from w1.fi/releases to w1.fi/hostap.git so that
we can specify the latest code version. Additionally, enable features
such as 11BE and OWE.

Signed-off-by: Miaoqing Pan [email protected]

file://defconfig.qcom \
"

SRCREV:qcom = "ad8d30e0a3601804c7464f53e54b1f4087364fd2"
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs a comment why this specific revision was selected. It also needs a PV="x.y+git", since the version is different from the tarball based recipe.


S:qcom = "${UNPACKDIR}/git"

SYSTEMD_SERVICE:${PN}:qcom = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

This change isn't listed in the commit message and I'm fairly sure we shouldn't sabotage startup scripts like that. If we do, there needs to be a expansive comment in the recipe.

install -m 0644 ${UNPACKDIR}/defconfig.qcom ${UNPACKDIR}/defconfig
}

do_install:qcom() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above: this change isn't listed in the commit message and I'm fairly sure we shouldn't sabotage startup scripts like that. If we do, there needs to be a expansive comment in the recipe.

install -m 0644 ${UNPACKDIR}/defconfig.qcom ${UNPACKDIR}/defconfig
}

do_install:qcom() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment as the other commit: This change isn't listed in the commit message and I'm fairly sure we shouldn't sabotage startup scripts like that. If we do, there needs to be a expansive comment in the recipe.

And this also removes the dbus RPC configs.

@koenkooi
Copy link
Contributor

koenkooi commented Mar 3, 2025

Side note: hostapd is in meta-oe, which isn't enabled in our default build configs, so this will never get tested by the CI.

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.

2 participants