Skip to content
Snippets Groups Projects
Unverified Commit 76ca7216 authored by nl6720's avatar nl6720
Browse files

Do not create a UUID for the swap file

A swap file cannot be referenced by its UUID so there's no need for it to have one in the first place.
parent 73300314
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ function pre() {
chmod 0700 "${MOUNT}/swap"
fallocate -l 512M "${MOUNT}/swap/swapfile"
chmod 0600 "${MOUNT}/swap/swapfile"
mkswap "${MOUNT}/swap/swapfile"
mkswap -U clear "${MOUNT}/swap/swapfile"
echo -e "/swap/swapfile none swap defaults 0 0" >>"${MOUNT}/etc/fstab"
arch-chroot "${MOUNT}" /usr/bin/systemd-firstboot --locale=C.UTF-8 --timezone=UTC --hostname=archlinux --keymap=us
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment