disable swap in disko-install

Update disko-install

Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
This commit is contained in:
Jörg Thalheim
2024-11-22 12:45:57 +01:00
co-authored by Michael Hoang
parent eb1bb9fe27
commit fd3e326e9a
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -240,7 +240,9 @@ main() {
exit 0
fi
"$disko_script"
# We don't want swap as can break your running system in weird ways if you eject the disk
# Hopefully disko-install has enough RAM to run without swap, otherwise we can make this configurable in future.
DISKO_SKIP_SWAP=1 "$disko_script"
for source in "${!extraFiles[@]}"; do
destination=${extraFiles[$source]}