Verified Commit 2afe24eb authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

install_arch: Use compress-force=zstd instead of compress=zstd

Btrfs by default has a pretty stupid algorithm that checks for whether a file is
compressable or not. In practice this algorithm is pretty slow in my tests and
just directly passing the file to zstd is faster. I'm running compress-force=zstd
on all my machines now and it seems safe. Let's roll with this.
parent 4468f906
Pipeline #245 passed with stage
in 1 minute and 4 seconds
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
lineinfile: lineinfile:
path: /mnt/etc/default/grub path: /mnt/etc/default/grub
regexp: "^GRUB_CMDLINE_LINUX_DEFAULT=" regexp: "^GRUB_CMDLINE_LINUX_DEFAULT="
line: "GRUB_CMDLINE_LINUX_DEFAULT=\"rootflags=compress=zstd\"" line: "GRUB_CMDLINE_LINUX_DEFAULT=\"rootflags=compress-force=zstd\""
when: filesystem == "btrfs" when: filesystem == "btrfs"
- name: install grub - name: install grub
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment