X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=distro-end;h=ce5179388e985c25805725907e76c65f319753b8;hp=e07ab789b46583fdccb294eba1b7f679df651464;hb=3ca4714d6b02ff279a0c724415f3e0a3a6f49059;hpb=fa264ab2ec907b4ebc8d7dd0f8b239b0d0202362 diff --git a/distro-end b/distro-end index e07ab78..ce51793 100755 --- a/distro-end +++ b/distro-end @@ -1070,6 +1070,22 @@ esac # dependent packages. pi ${pall[@]} $(apt-cache search ruby[.0-9]+-doc| awk '{print $1}') $($src/distro-pkgs) +# schroot service will restart schroot sessions after reboot. +# I dont want that. +pi-nostart schroot + +# fix systemd unit failure. i dont know of any actual impact +# other than systemd showing in degraded state. So, we dont bother +# fixing the current state, let it fix on the next reboot. +# https://gitlab.com/cjwatson/binfmt-support/-/commit/54f0e1af8a +tmp=$(systemctl cat binfmt-support.service | grep ^After=) +if [[ $tmp != *systemd-binfmt.service* ]]; then + s u /etc/systemd/system/binfmt-support.service.d/override.conf <