From e0d930ea314f3165ce78aef99e02dca413bf9a67 Mon Sep 17 00:00:00 2001 From: Marcus Edel Date: Mon, 18 Oct 2021 20:51:21 -0400 Subject: [PATCH] Use sudo to create the swap file. --- .ci/linux-steps.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/linux-steps.yaml b/.ci/linux-steps.yaml index 1f632aae52..b193176748 100644 --- a/.ci/linux-steps.yaml +++ b/.ci/linux-steps.yaml @@ -13,9 +13,9 @@ steps: - script: | free -h df -h - dd if=/dev/zero of=/usr/swapfile.img bs=1024 count=10M - mkswap /usr/swapfile.img - swapon /usr/swapfile.img + sudo dd if=/dev/zero of=/usr/swapfile.img bs=1024 count=10M + sudo mkswap /usr/swapfile.img + sudo swapon /usr/swapfile.img free -h df -h