Skip to content

Commit

Permalink
fix: install kernel headers and specify kernel version
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Jan 1, 2024
1 parent d5f34c8 commit e0b0923
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions modules/02-waydroid-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ type: shell
commands:
- cp -rT /sources/waydroid-modules/binder /usr/src/waydroid-binder-1
- cp -rT /sources/waydroid-modules/ashmem /usr/src/waydroid-ashmem-1
- dkms install waydroid-binder-1
- dkms install waydroid-ashmem-1
- dkms install waydroid-binder-1 -k $(dpkg --list | grep linux-image | grep -Po '[0-9].[0-9].[0-9]' | head -1)
- dkms install waydroid-ashmem-1 -k $(dpkg --list | grep linux-image | grep -Po '[0-9].[0-9].[0-9]' | head -1)
source:
type: git
url: https://github.com/choff/anbox-modules.git
Expand All @@ -16,3 +16,9 @@ modules:
source:
packages:
- dkms
modules:
- name: dkms-linux-headers
type: shell
commands:
- apt install -y linux-headers-$(dpkg --list | grep linux-image | grep -Po '[0-9].[0-9].[0-9]' | head -1) && apt clean

0 comments on commit e0b0923

Please sign in to comment.