diff --git a/includes.container/etc/modules.load.d/waydroid.conf b/includes.container/etc/modules.load.d/waydroid.conf new file mode 100644 index 0000000..cb4e8a0 --- /dev/null +++ b/includes.container/etc/modules.load.d/waydroid.conf @@ -0,0 +1,2 @@ +binder_linux +ashmem_linux \ No newline at end of file diff --git a/includes.container/etc/udev/rules.d/99-waydroid.rules b/includes.container/etc/udev/rules.d/99-waydroid.rules new file mode 100644 index 0000000..db9cb79 --- /dev/null +++ b/includes.container/etc/udev/rules.d/99-waydroid.rules @@ -0,0 +1,2 @@ +KERNEL=="binder", NAME="%k", MODE="0666" +KERNEL=="ashmem", NAMe="%k", MODE="0666" \ No newline at end of file diff --git a/modules/02-waydroid-modules.yml b/modules/02-waydroid-modules.yml new file mode 100644 index 0000000..99d4cbc --- /dev/null +++ b/modules/02-waydroid-modules.yml @@ -0,0 +1,24 @@ +name: waydroid-modules +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 -k $(ls /usr/src | grep -Po '[0-9].[0-9].[0-9].*$' | head -1) +- dkms install waydroid-ashmem/1 -k $(ls /usr/src | grep -Po '[0-9].[0-9].[0-9].*$' | head -1) +source: + type: git + url: https://github.com/choff/anbox-modules.git + branch: master + commit: latest +modules: + - name: waydroid-deps-install + type: apt + source: + packages: + - dkms + modules: + - name: dkms-linux-headers + type: shell + commands: + - apt install -y linux-headers-amd64 + diff --git a/recipe.yml b/recipe.yml index 9709f1c..7f20f0d 100644 --- a/recipe.yml +++ b/recipe.yml @@ -42,6 +42,7 @@ modules: - modules/00-vanilla-system-operator - modules/00-vanilla-apx-gui - modules/01-vanilla-cleanup + - modules/02-waydroid-modules - modules/20-gnome-core - modules/30-gnome-essentials - modules/40-gnome-appearance