From bfa873343a78c066affc78cf8644bbf6d7763c10 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Thu, 30 Nov 2023 14:55:16 -0800 Subject: [PATCH] main/postmarketos-base-ui: setup cgroups on boot (MR 4585) Allows things like podman/docker to work out of the box. I looked at /etc/init.d/cgroups, and having this service enabled isn't a problem if the kernel doesn't have cgroup support... in that situation, the service script just simply exits (success). [ci:skip-build] already built successfully in CI --- main/postmarketos-base-ui/APKBUILD | 2 +- main/postmarketos-base-ui/postmarketos-base-ui.post-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/postmarketos-base-ui/APKBUILD b/main/postmarketos-base-ui/APKBUILD index 557bb2609..a863360b0 100644 --- a/main/postmarketos-base-ui/APKBUILD +++ b/main/postmarketos-base-ui/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Clayton Craft pkgname=postmarketos-base-ui -pkgver=14 +pkgver=15 pkgrel=0 pkgdesc="Meta package for minimal postmarketOS UI base" url="https://postmarketos.org" diff --git a/main/postmarketos-base-ui/postmarketos-base-ui.post-install b/main/postmarketos-base-ui/postmarketos-base-ui.post-install index 03d9fd657..3f447c711 100644 --- a/main/postmarketos-base-ui/postmarketos-base-ui.post-install +++ b/main/postmarketos-base-ui/postmarketos-base-ui.post-install @@ -1,6 +1,6 @@ #!/bin/sh -e -for service in dbus haveged wpa_supplicant chronyd rfkill; do +for service in cgroups dbus haveged wpa_supplicant chronyd rfkill; do rc-update -q add $service default done exit 0