diff options
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index 24b4666ad7..a71878b939 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -67,3 +67,11 @@ fi if grep -q -e "ID=debian" -e "ID_LIKE=debian" /etc/os-release; then echo "ignore *" >/usr/lib/systemd/system-preset/99-ignore.preset fi + +if command -v authselect >/dev/null; then + authselect select minimal + + if authselect list-features minimal | grep -q "with-homed"; then + authselect enable-feature with-homed + fi +fi |