Skip to content

Commit

Permalink
Merge pull request #3212 from antonlacon/rpi-zstd-img
Browse files Browse the repository at this point in the history
rpi: switch to zstd squashfs images
  • Loading branch information
MilhouseVH authored May 9, 2019
2 parents fd8c5a7 + 9a285de commit b486229
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion projects/Generic/options
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
PROJECT_CFLAGS=""

# SquashFS compression method (gzip / lzo / xz / zstd)
SQUASHFS_COMPRESSION="gzip"
SQUASHFS_COMPRESSION="zstd"


################################################################################
Expand Down
2 changes: 1 addition & 1 deletion projects/RPi/options
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
PROJECT_CFLAGS=""

# SquashFS compression method (gzip / lzo / xz / zstd)
SQUASHFS_COMPRESSION="lzo"
SQUASHFS_COMPRESSION="zstd"

################################################################################
# setup project defaults
Expand Down
4 changes: 2 additions & 2 deletions projects/Rockchip/options
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# Project CFLAGS
PROJECT_CFLAGS=""

# SquashFS compression method (gzip / lzo / xz)
SQUASHFS_COMPRESSION="lzo"
# SquashFS compression method (gzip / lzo / xz / zstd)
SQUASHFS_COMPRESSION="zstd"

################################################################################
# setup project defaults
Expand Down
2 changes: 1 addition & 1 deletion scripts/image
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ if [ -z "$SQUASHFS_COMPRESSION_OPTION" ]; then
elif [ "$SQUASHFS_COMPRESSION" = "lzo" ]; then
SQUASHFS_COMPRESSION_OPTION="-Xcompression-level 9 -b 524288"
elif [ "$SQUASHFS_COMPRESSION" = "zstd" ]; then
SQUASHFS_COMPRESSION_OPTION="-Xcompression-level 22 -b 262144"
SQUASHFS_COMPRESSION_OPTION="-Xcompression-level 22 -b 1048576"
fi
fi

Expand Down

0 comments on commit b486229

Please sign in to comment.