No dbus in chroot.

This commit is contained in:
Hadi Chokr
2025-10-13 20:00:20 +00:00
parent 5efc8ffd3b
commit 75ca27fb4e

View File

@@ -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