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

Make macOS Ansbile role install mainline kernel #532

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions ansible/roles/macos_dev/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
# VMWare Fusion requires an elevated kernel version to enable graphical acceleration
# This makes a big difference in running the simulator

- name: Add Mesa PPA
become: true
apt_repository:
repo: ppa:kisak/kisak-mesa

- name: Add Mainline Kernel PPA
become: true
apt_repository:
repo: ppa:cappelikan/ppa

- name: Install APT Packages
become: true
apt:
cache_valid_time: 604800
state: latest
name:
- mainline

# This upgrades existing Mesa packages
- name: Upgrade APT Packages
apt:
upgrade: yes

- name: Install Mainline Kernel
become: true
command: mainline --install-latest

# mainline leaves apt in a broken state which is annoying
- name: Fix Broken APT
become: true
command: apt --fix-broken install -y