Skip to content

Commit

Permalink
profiles/default-systemd: cleanup. This is in initramfs now
Browse files Browse the repository at this point in the history
  • Loading branch information
joostruis committed Jan 5, 2025
1 parent 1888824 commit 881a005
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion packages/mocaccino/profiles/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ packages:
version: ">=0"
- name: default-systemd
category: system-profile
version: "0.9.3"
version: "1.0"
requires:
- <<: *yip
- <<: *cli
Expand Down
10 changes: 0 additions & 10 deletions packages/mocaccino/profiles/profiles/default-systemd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,4 @@ stages:
- chmod 666 /dev/pts/ptmx
- chmod 1777 /tmp
- chmod 1777 /var/tmp/
# 2024-12-28: Joost Ruis disable cgroups v1
# Docker and alikes
# - mkdir /sys/fs/cgroup/systemd
# - mount -t cgroup -o none,rw,nosuid,nodev,noexec,relatime,xattr,name=systemd cgroup /sys/fs/cgroup/systemd

# Disable cgroups v1 if present
- echo "Disabling cgroups v1 if present..."; for subsystem in $(ls /sys/fs/cgroup); do umount /sys/fs/cgroup/$subsystem || true; done

# Enable cgroups v2
# - if [ ! -d /sys/fs/cgroup ]; then mkdir -p /sys/fs/cgroup; fi; echo "Mounting cgroups v2..."; mount -t cgroup2 none /sys/fs/cgroup
name: "system setup"

0 comments on commit 881a005

Please sign in to comment.