mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
add -9 to lz4 to save RAM
This commit is contained in:
parent
6c166410b8
commit
9f2807ba8d
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then
|
||||||
# compress image with zstd
|
# compress image with zstd
|
||||||
find . -mindepth 1 -printf '%P\0' | sort -z |
|
find . -mindepth 1 -printf '%P\0' | sort -z |
|
||||||
LANG=C bsdtar --uid 0 --gid 0 --null -cnf - -T - |
|
LANG=C bsdtar --uid 0 --gid 0 --null -cnf - -T - |
|
||||||
LANG=C bsdtar --null -cf - --format=newc @- | lz4 -l > /initrd.img || exit 1
|
LANG=C bsdtar --null -cf - --format=newc @- | lz4 -l -9> /initrd.img || exit 1
|
||||||
cd ..
|
cd ..
|
||||||
echo "Step 7/8: Remove /initrd ..."
|
echo "Step 7/8: Remove /initrd ..."
|
||||||
rm -r "/initrd" || exit 1
|
rm -r "/initrd" || exit 1
|
||||||
|
|
Loading…
Reference in a new issue