X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FGRUB_PC%2F11-iank;h=3bb65ea27aa8d5c1bb1ff3c5bf6cee8c6ea67810;hb=db2ca58c3e327f73b64189dec14cf7e7a01b6d34;hp=d7534d5551ceb462ced9b8f4815022adf0f4b526;hpb=7a4577880f3d646ec68d60b1cd3a38f110f784bb;p=automated-distro-installer diff --git a/fai/config/scripts/GRUB_PC/11-iank b/fai/config/scripts/GRUB_PC/11-iank index d7534d5..3bb65ea 100755 --- a/fai/config/scripts/GRUB_PC/11-iank +++ b/fai/config/scripts/GRUB_PC/11-iank @@ -27,9 +27,9 @@ EOFOUTER # -r = recursive # -i = ignore non-matching class warnings, always exit 0 # -B = no backup files -fcopy -riB /boot +fcopy -riBM /boot # this is also done by FABASE/10-misc by default. -fcopy -riB /root +fcopy -riBM /root src=$FAI/distro-install-common/shadow @@ -42,7 +42,7 @@ fi $FAI/distro-install-common/end if ifclass VOL_STRETCH_BOOTSTRAP; then - fcopy -ri /etc/systemd/system + fcopy -riM /etc/systemd/system chroot $FAI_ROOT bash <<'EOFOUTER' systemctl enable fai_check.service EOFOUTER @@ -52,7 +52,7 @@ fi # these get copied in an earlier stage by fai, but leaving it here since # I run this as a single post-fai script to update things that have changed. -fcopy -riB /etc/apt +fcopy -riBM /etc/apt # outside of fai, this seems to regularly lead to # E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) # so add a sleep. 1 sec is probably way more than needed.