Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Remove wireless support in securedrop kernel config #42

Merged
merged 5 commits into from
Jan 3, 2019

Conversation

emkll
Copy link
Contributor

@emkll emkll commented Dec 18, 2018

Towards freedomofpress/securedrop#2726

This config was obtained via make menuconfig and unselecting the following options:

  • Amateur Radio Support
  • CAN Bus subsystem support
  • IrDA (Infrared) subsystem support
  • Bluetooth subsystem support
  • Wireless
  • WiMax Wireless Broadband Support
  • NFS subsystem support

Also updated Ansible to 2.6 series due to 2.4 being EOL, and used --generate-hashes to generate hashes for the modules installed.

This includes IRDA, Bluetooth, WiFi, WiMax and TV
Ansible 2.4 is end-of life, upgrading to supported version
@emkll emkll requested a review from conorsch December 18, 2018 17:17
@conorsch
Copy link
Contributor

This CI failure is likely related to the Ansible version bump:

TASK [ansible-role-grsecurity-build : Fetch grsecurity patch and signature] ****
fatal: [grsec_build_jessie]: FAILED! => {"msg": "The conditional check '_fetch_grsec_results.rc=0' failed. The error was: template error while templating string: expected token 'end of statement block', got '='. String: {% if _fetch_grsec_results.rc=0 %} True {% else %} False {% endif %}"}

It's useful to have that run in CI, so let's modify the role logic in order to accommodate.

Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

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

More tweaks required on Ansible version bump

With the switch to ansible 2.7, the latter would fail when the file already existed.
Using the HTTP status return code should be more reliable here.
Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

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

Looks great. Tests are in freedomofpress/securedrop#4002, so continuing with review over there.

@conorsch conorsch merged commit 6584de1 into master Jan 3, 2019
@conorsch conorsch deleted the remove-wireless branch January 3, 2019 23:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants