From f1028e6398566fe29f29ea7e23190f5571e6d4cf Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Wed, 5 Oct 2022 18:11:37 -0700 Subject: [PATCH] Revert "[build]: Use zstd compression for base filesystem squashfs" (#12260) 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 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 462aaeb558..0b8493410f 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"