mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-25 18:39:53 +08:00
snap: newer mkswap
require stricter perms
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This commit is contained in:
@@ -45,6 +45,7 @@ parts:
|
||||
override-build: |
|
||||
# Give ourselves enough memory to build
|
||||
dd if=/dev/zero of=/tmp/swap bs=1M count=2000
|
||||
chmod 0600 /tmp/swap
|
||||
mkswap /tmp/swap
|
||||
swapon /tmp/swap
|
||||
|
||||
|
Reference in New Issue
Block a user