diff --git a/mkosi.finalize.d/99-snapper.sh.chroot b/mkosi.finalize.d/99-snapper.sh.chroot index 6264038..9538968 100755 --- a/mkosi.finalize.d/99-snapper.sh.chroot +++ b/mkosi.finalize.d/99-snapper.sh.chroot @@ -8,8 +8,8 @@ CONFIG=home CONF_FILE="/etc/snapper/configs/${CONFIG}" # Create the config for /home if missing -if ! snapper list-configs | grep -q "^${CONFIG}\b"; then - snapper -c "$CONFIG" create-config /home +if ! snapper list-configs -–no-dbus | grep -q "^${CONFIG}\b"; then + snapper -c "$CONFIG" create-config /home -–no-dbus fi # Safely update only the desired options