Skip to content

Commit

Permalink
Update dwarfs compression arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek committed Nov 24, 2022
1 parent f38454d commit 521ef20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions conty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ $EUID = 0 ] && [ -z "$ALLOW_ROOT" ]; then
exit 1
fi

script_version="1.21.2"
script_version="1.21.3"

# Full path to the script
script_literal="${BASH_SOURCE[0]}"
Expand Down Expand Up @@ -43,7 +43,7 @@ mount_point="${working_dir}"/mnt
# a problem with mounting the image due to an incorrectly calculated offset.

# The size of this script
scriptsize=26238
scriptsize=26260

# The size of the utils archive
utilssize=2482019
Expand All @@ -62,8 +62,8 @@ dwarfs_num_workers="2"
# These arguments are used to rebuild the image when using the self-update function
squashfs_comp_arguments="-b 1M -comp zstd -Xcompression-level 19"
dwarfs_comp_arguments="-l7 -C zstd:level=19 --metadata-compression null \
-S 22 -B 2 --order nilsimsa:255:40000:40000 \
--bloom-filter-size 11 -W 15 -w 3"
-S 22 -B 2 --order nilsimsa:255:60000:60000 \
--bloom-filter-size 11 -W 15 -w 3 --no-create-timestamp"

unset script_is_symlink
if [ -L "${script_literal}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions create-conty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ squashfs_compressor_arguments="-b 256K -comp ${squashfs_compressor} -Xhc"
# Use dwarfs instead of squashfs
dwarfs="false"
dwarfs_compressor_arguments="-l7 -C zstd:level=19 --metadata-compression null \
-S 22 -B 2 --order nilsimsa:255:40000:40000 \
--bloom-filter-size 11 -W 15 -w 3"
-S 22 -B 2 --order nilsimsa:255:60000:60000 \
--bloom-filter-size 11 -W 15 -w 3 --no-create-timestamp"

# Set to true to use an existing image if it exists
# Otherwise the script will always create a new image
Expand Down

0 comments on commit 521ef20

Please sign in to comment.