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 May 29, 2024
1 parent e48dc5d commit e509909
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 @@
20240529t125806z-f40f39d13
20240529t141053z-f40f39d13
3 changes: 1 addition & 2 deletions cache_images/debian_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,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 e509909

Please sign in to comment.