#! /bin/sh # We need to remove the snapd seed configuration for the layers that # will be the installation source for a TPM-backed FDE install or # snapd gets very confused on the boot of the target system. set -eux case ${PASS:-} in *.enhanced-secureboot) ;; *) exit 0 ;; esac . config/functions if [ -n "${SUBPROJECT:-}" ]; then echo "We don't run Ubuntu Desktop hooks for this project." exit 0 fi reset_snapd_state chroot