diff --git a/conty-start.sh b/conty-start.sh index 9c9e4bb..3a57d68 100755 --- a/conty-start.sh +++ b/conty-start.sh @@ -28,7 +28,7 @@ script_version="1.24.2" # size to 0 init_size=50000 bash_size=1490760 -script_size=37189 +script_size=37197 busybox_size=1161112 utils_size=4321630 @@ -237,8 +237,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:60000:60000 \ - --bloom-filter-size 11 -W 15 -w 3 --no-create-timestamp) + -S 21 -B 1 --order nilsimsa:255:60000:60000 \ + -W 12 -w 4 --no-create-timestamp) # Enable NVIDIA_HANDLER by default NVIDIA_HANDLER="${NVIDIA_HANDLER:-1}" diff --git a/create-conty.sh b/create-conty.sh index b56990a..c887073 100755 --- a/create-conty.sh +++ b/create-conty.sh @@ -22,8 +22,8 @@ squashfs_compressor_arguments=(-b 1M -comp ${squashfs_compressor} -Xcompression- # 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:60000:60000 \ - --bloom-filter-size 11 -W 15 -w 3 --no-create-timestamp) + -S 21 -B 1 --order nilsimsa:255:60000:60000 \ + -W 12 -w 4 --no-create-timestamp) # Set to true to use an existing image if it exists # Otherwise the script will always create a new image diff --git a/init.c b/init.c index ba49ffa..3142bad 100644 --- a/init.c +++ b/init.c @@ -46,7 +46,7 @@ int main(int argc, char* argv[]) fread(bash_script, SCRIPT_SIZE, 1, current_program); fclose(current_program); - char * bash_args[MAX_ARGS_NUMBER + 5] = {program_path, "-c", "--", bash_script, argv[0]}; + char * bash_args[MAX_ARGS_NUMBER + 5] = {program_path, "-c", "--", bash_script, argv[0]}; int k = 5; for (int i = 1; i < argc; i++, k++) {