-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
create a microsoft surface image #202
Comments
(warning, I am just starting to discover vanilla os so take my take with a grain of salt) This would probably have to be achieved by creating a custom image by forking this repo and modifying recipe.yml Here is a draft taking the instructions from linux-surface - Installation-and-Setup name: Vanilla Desktop
id: desktop
stages:
- id: build
base: ghcr.io/vanilla-os/core:dev
singlelayer: false
labels:
maintainer: Vanilla OS Contributors
args:
DEBIAN_FRONTEND: noninteractive
runs:
commands:
- echo 'APT::Install-Recommends "1";' > /etc/apt/apt.conf.d/01norecommends
modules:
...
- name: install-linux-surface
type: shell
commands:
# Import keys
- wget -qO - https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc | gpg --dearmor | dd of=/etc/apt/trusted.gpg.d/linux-surface.gpg
# Update repository configuration
- echo "deb [arch=amd64] https://pkg.surfacelinux.com/debian release main" | tee /etc/apt/sources.list.d/linux-surface.list
- apt update
# Install linux-surface kernel and its dependencies
- apt install linux-image-surface linux-headers-surface libwacom-surface iptsd
# Install linux-surface bootloader so that the kernel is bootable without disabling secureboot
- sudo apt install linux-surface-secureboot-mok
# Post-install instructions
# Install CPU microcode firmware for the latest CPU updates
- apt install intel-microcode This probably won't work just as is, and I am unsure how this image would be kept updated as new versions of the base are updated. Maybe this is not the best approach? |
I'm not closing this but a surface image would need a maintainer for that image who has a surface device to test it. |
I would be down for testing on my sb2 but atm just dont have the time to spend the time on development |
Feature Description
adding kernel support for surface linux
https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup
Rationale
huge part of the hardware does not work without the kernel and i fail to see a obvious way of adding it
Additional Information
No response
The text was updated successfully, but these errors were encountered: