mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-05 20:41:35 -07:00
snap: newer mkswap
require stricter perms
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This commit is contained in:
parent
677243d5aa
commit
133bc8a543
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue