We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to build the snap from source on Ubuntu 25.04 riscv64 and saw this error:
+ mkswap /tmp/swap mkswap: /tmp/swap: insecure permissions 0644, 0600 suggested. Setting up swapspace version 1, size = 2 GiB (2097147904 bytes) no label, UUID=aeb5e8db-442f-4b92-be51-2c6d9ed2bdf0 + swapon /tmp/swap swapon: /tmp/swap: insecure permissions 0644, 0600 suggested. swapon: /tmp/swap: swapon failed: Operation not permitted Failed to run 'override-build': Exit code was 255.
The text was updated successfully, but these errors were encountered:
/tmp may reside in memory mounted as tmpfs. So putting swap into /tmp isn't a good choice. We should put it into /root.
Instead of using dd use truncate -s to create the file. So if swap is not used, nothing is written to disk.
dd
truncate -s
Sorry, something went wrong.
No branches or pull requests
I tried to build the snap from source on Ubuntu 25.04 riscv64 and saw this error:
The text was updated successfully, but these errors were encountered: