-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
linux-wifi-hotspot: remove TKIP usage in create_ap #251191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What breaks when this patch isn't applied?
@@ -61,6 +61,13 @@ stdenv.mkDerivation rec { | |||
--replace "/usr" "$out" | |||
''; | |||
|
|||
# Since TKIP is deprecated in hostapd, we need to modify create_ap to not use it | |||
# See: https://github.com/NixOS/nixpkgs/commit/4bec3f204362fa22a0740c8a572ffef3b322596d | |||
preBuild = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Why preBuild
and not postPatch
?
Most likely hostapd will not start. Since this is generally an issue with linux-wifi-hotspot I've opened lakinduakash/linux-wifi-hotspot#342 to track this upstream. @ARizzo35 can you update this to use |
Yes, hostapd fails to start stating |
@oddlama it looks like URL literals are disabled...should I add the patch as a file instead? |
@ARizzo35 Wrap the URL in double quotes so that it's a string literal rather than a URL literal. |
8183fbb
to
8df6374
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Result of 1 package failed to build:
|
this might be already fixed upstream? |
Seems the patch was tagged in 4.6.0 which got merged in #266989 |
Description of changes
Since TKIP is now deprecated in hostapd, the
create_ap
script inlinux-wifi-hotspot
needs to be updated to not use it.Things done
Changes were built and tested on aarch64-linux.
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)