diff --git a/elements/package-installs/extra-data.d/99-squash-package-install b/elements/package-installs/extra-data.d/99-squash-package-install index 74a31075..8bfa3486 100755 --- a/elements/package-installs/extra-data.d/99-squash-package-install +++ b/elements/package-installs/extra-data.d/99-squash-package-install @@ -2,4 +2,4 @@ set -eux set -o pipefail -sudo $(dirname $0)/../bin/package-installs-squash --elements="$IMAGE_ELEMENT" --path=$ELEMENTS_PATH $TMP_MOUNT_PATH/tmp/package-installs.json +sudo -E $(dirname $0)/../bin/package-installs-squash --elements="$IMAGE_ELEMENT" --path=$ELEMENTS_PATH $TMP_MOUNT_PATH/tmp/package-installs.json