Skip to content

Commit

Permalink
Debian: remove force-cgroups-v1 code
Browse files Browse the repository at this point in the history
Per discussion in 2024-03-20 Planning meeting, we will no
longer be testing runc in CI. And cgroups V1 is dead too.

Signed-off-by: Ed Santiago <santiago@redhat.com>
  • Loading branch information
edsantiago committed Mar 20, 2024
1 parent b0236da commit 52e8fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IMG_SFX
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240320t153921z-f39f38d13
20240320t171843z-f39f38d13
3 changes: 1 addition & 2 deletions cache_images/debian_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ bash $SCRIPT_DIRPATH/debian_packaging.sh

if ! ((CONTAINER)); then
warn "Making Debian kernel enable cgroup swap accounting"
warn "Forcing CgroupsV1"
SEDCMD='s/^GRUB_CMDLINE_LINUX="(.*)"/GRUB_CMDLINE_LINUX="\1 cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0"/'
SEDCMD='s/^GRUB_CMDLINE_LINUX="(.*)"/GRUB_CMDLINE_LINUX="\1 cgroup_enable=memory swapaccount=1"/'
ooe.sh $SUDO sed -re "$SEDCMD" -i /etc/default/grub.d/*
ooe.sh $SUDO sed -re "$SEDCMD" -i /etc/default/grub
ooe.sh $SUDO update-grub
Expand Down

0 comments on commit 52e8fc2

Please sign in to comment.