Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Add support for memory cgroup #189

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Add support for memory cgroup #189

wants to merge 7 commits into from

Conversation

x775
Copy link
Contributor

@x775 x775 commented Feb 28, 2021

Current build throws error cgroups: memory cgroup not supported on this system.

See https://archlinuxarm.org/forum/viewtopic.php?f=15&t=12086 for more information.

The alternative is using an older docker-ce, though adding the above to /boot/cmdline.txt appears to do the trick.

Current build throws error "cgroups: memory cgroup not supported on this system". See https://archlinuxarm.org/forum/viewtopic.php?f=15&t=12086 for more information.
Copy link
Contributor

@AaronDewes AaronDewes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also do the corresponding change to the patch file in stage2?

@x775
Copy link
Contributor Author

x775 commented Mar 12, 2021

Sorted. Thanks.

@3cola
Copy link

3cola commented Mar 29, 2021

you could also add support for cpuset at the same time ? (by adding also "cgroup_enable=cpuset" )

Copy link
Contributor

@AaronDewes AaronDewes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second change is required to fix the build, first one makes it look a bit better

stage2/00-sys-tweaks/00-patches/07-resize-init.diff Outdated Show resolved Hide resolved
stage2/00-sys-tweaks/00-patches/07-resize-init.diff Outdated Show resolved Hide resolved
lucaspetti pushed a commit to lucaspetti/umbrel-os that referenced this pull request Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants