]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
dracut: lower ram usage at compression
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 16 May 2023 09:06:06 +0000 (09:06 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 16 May 2023 18:52:08 +0000 (18:52 +0000)
this lower the compression ratio sligtly (the ramdlisk is 100kb
larger) and use only a single thread now. (it's still faster than
before on a dual core.)

fixes: #13091

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/dracut/ipfire.conf
config/rootfiles/core/175/filelists/files

index bab5c8a2e5e10568bd54af8bd1bc402cfe3531c6..5a4f0aa7ce8cf55eeacbec57261779db59ec3808 100644 (file)
@@ -2,4 +2,4 @@
 early_microcode="yes"
 
 # Compress using Zstandard
-compress="zstd"
+compress="zstd -10 -q -T1"
index d2b3c79f8949d1d27c1457f3a51516e33dc3adda..13f5605d986eb29900d9ec157304b316bd46276d 100644 (file)
@@ -84,4 +84,5 @@ lib/firmware/rtw88/rtw8822c_fw.bin
 lib/firmware/rtw89/rtw8852b_fw-1.bin
 srv/web/ipfire/cgi-bin/backup.cgi
 srv/web/ipfire/cgi-bin/logs.cgi/log.dat
+usr/lib/dracut/dracut.conf.d/ipfire.conf
 usr/lib/firewall/rules.pl