X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FGRUB_PC%2F11-ian;h=8df5b13147a5412e00ce03b7d19c35da2883e1f7;hb=875cea0c266c7802b336f5a8b61b63e109e670fb;hp=f4f1b7c87823afe24ea42ba7c87e4613d95ae0e2;hpb=1b26da151c100d0c58910228d24ee52297da3974;p=automated-distro-installer diff --git a/fai/config/scripts/GRUB_PC/11-ian b/fai/config/scripts/GRUB_PC/11-ian index f4f1b7c..8df5b13 100755 --- a/fai/config/scripts/GRUB_PC/11-ian +++ b/fai/config/scripts/GRUB_PC/11-ian @@ -13,42 +13,53 @@ if ! type -t fcopy &>/dev/null; then fi chroot $FAI_ROOT bash <<'EOFOUTER' +if getent group systemd-journal >/dev/null; then + # makes the journal be saved to disk. + mkdir -p /var/log/journal + chmod 755 /var/log/journal +fi debconf-set-selections </dev/null; then usermod -aG systemd-journal ian - # makes the journal be saved to disk. - mkdir -p /var/log/journal - chmod 755 /var/log/journal fi # https://askubuntu.com/questions/33416/how-do-i-disable-the-boot-splash-screen-and-only-show-kernel-and-boot-text-inst # it suggests not having plymouth-theme-ubuntu-text, but