From d46098747875d7348e83d464be0f79d928d84a1f Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Mon, 3 Oct 2022 09:05:52 -0700 Subject: [PATCH] Revert "[build]: Use zstd compression for base filesystem squashfs" This is being done for 201911 -> 202205 warmboot upgrade, and Mellanox platforms need to be able to mount the squashfs file in the old image. This reverts commit d5365928d4dc1fa9081cf9fe61ab47e0ef306e9c. Signed-off-by: Saikrishna Arcot --- build_debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_debian.sh b/build_debian.sh index 462aaeb5589f..0b8493410fa3 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -628,7 +628,7 @@ sudo rm -f $ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS ## Note: -x to skip directories on different file systems, such as /proc sudo du -hsx $FILESYSTEM_ROOT sudo mkdir -p $FILESYSTEM_ROOT/var/lib/docker -sudo mksquashfs $FILESYSTEM_ROOT $FILESYSTEM_SQUASHFS -comp zstd -b 1M -e boot -e var/lib/docker -e $PLATFORM_DIR +sudo mksquashfs $FILESYSTEM_ROOT $FILESYSTEM_SQUASHFS -e boot -e var/lib/docker -e $PLATFORM_DIR # Ensure admin gid is 1000 gid_user=$(sudo LANG=C chroot $FILESYSTEM_ROOT id -g $USERNAME) || gid_user="none"