From e967ffc2420ee688c3f01068233f3438a67c81e9 Mon Sep 17 00:00:00 2001
From: Sertonix <sertonix@posteo.net>
Date: Mon, 15 Apr 2024 12:00:20 +0200
Subject: [PATCH] community/waydroid: depend on crgoups service

Ref https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/64136#note_394765
---
 community/waydroid/APKBUILD                 | 4 ++--
 community/waydroid/waydroid-container.initd | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/community/waydroid/APKBUILD b/community/waydroid/APKBUILD
index 5c814632c052..ab0fc461cc38 100644
--- a/community/waydroid/APKBUILD
+++ b/community/waydroid/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Bart Ribbers <bribbers@disroot.org>
 pkgname=waydroid
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="A container-based approach to boot a full Android system on a regular Linux system"
 url="https://github.com/waydroid/waydroid"
 # Only x86, armv7, x86_64 and aarch64 supported upstream
@@ -63,7 +63,7 @@ pyc() {
 
 sha512sums="
 0d3eba799895c853545b7087e3c07160d593d4a3166822039973669bc0ee93a8a6b9c394a7d982e57cfbbfbd8df1ba7991dd33b1b1517d79fcbe191d8a86890a  waydroid-1.4.2.tar.gz
-52f1fb15ac89a46b2cc98888f05a2b7169ab8eabd6a8a014ceb5b8bb3e5f2f8154f15852924d5e5cb7837b82b09188f34abf1bc60c8fddd74754346fc5978802  waydroid-container.initd
+c5fee5d0091c12a42f4e4e9cf2e053984b96b59e5c8cb4774535a4c3016fde30380557d17ce7ebf6c24fc58512975478777ec3bcbd9b336cf9f2497081e6a714  waydroid-container.initd
 b841282b96110ec59a7aa539db0737327b09549d55c78dc4b2c3b28b4a6ad1facf015b3175cb6d3a38f13e47aa6314ef3dc1514a4e60dd653a97409ec54ba706  waydroid-container.confd
 27cec579cfda197ff70d6328043755fc3d1719347bf4987edb86a07341bc4f02b99b65a6ef1fcde58b48a925176e6d770ed7cef304edff6a860bf4d408a62e06  51_waydroid.nft
 56dc332d66c3eb3af08887eb2f4b8235419ff87a4e4632108cdde39cf274bc88b9e95c650a7d407d05a72f1ce2edf5d465a06b7e526113d9c9ae3817a6ed1f78  waydroid-session.desktop
diff --git a/community/waydroid/waydroid-container.initd b/community/waydroid/waydroid-container.initd
index ae75e44aa6dc..691e957e6c41 100644
--- a/community/waydroid/waydroid-container.initd
+++ b/community/waydroid/waydroid-container.initd
@@ -13,6 +13,7 @@ command_args_background="-p $pidfile"
 export PYTHONDONTWRITEBYTECODE=1
 
 depends() {
+	need cgroups
 	uses net
 }
 
-- 
GitLab