Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • pmbootstrap pmbootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 210
    • Issues 210
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • postmarketOSpostmarketOS
  • pmbootstrappmbootstrap
  • Merge requests
  • !2133

kconfig check: apparmor and iwd

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Oliver Smith requested to merge ollieparanoid/pmbootstrap:kconfig-apparmor-iwd into master Oct 22, 2021
  • Overview 9
  • Commits 6
  • Pipelines 3
  • Changes 4

Add several commits to implement pmbootstrap kconfig check for apparmor and iwd.

Note regarding the value for CONFIG_LSM: this is what Alpine uses in aports.git plus apparmor at the end.

See the individual commits for details:

pmb.parse.kconfig.check: git friendly arguments

Put each component argument into a separate line, as these get changed
whenever adding a new kernel config check. I'm about to add two new
ones.
kconfig check: support strings too

Extend the kconfig check code to not only support booleans and arrays,
but also strings. This will be used for CONFIG_LSM with apparmor where
it's important that "apparmor" has a certain spot in the list.
pmbootstrap kconfig check: add apparmor check

SECURITY_APPARMOR_BOOTPARAM_VALUE was required to enable it by default
until 5.1 where the option was removed:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0102fb83f90050b86ce37aec810ea17bb4448e0c
pmb.config.necessary_kconfig_*: tweak comments

Improve the comments for consistency and to give a little more info than
just repeating the variable name.
pmbootstrap kconfig check: add iwd check

iwd seems like a promising alternative to wpa_supplicant. It uses crypto
implementations from the kernel, so let's make kconfig check aware of
the options it needs.

Related: #1864 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: kconfig-apparmor-iwd