SyneRBI / SIRF-SuperBuild

SIRF CMake SuperBuild
http://www.ccpsynerbi.ac.uk
Apache License 2.0
15 stars 17 forks source link

VM: creating a new VM has trouble due to restarting outdated services #881

Closed KrisThielemans closed 3 months ago

KrisThielemans commented 3 months ago

I tried to create a new VM, but during the apt update steps, occasionally it comes up with a dialog box as in https://gist.github.com/fernandoaleman/c3191ed46c977f0a3fcfbdac319183fc this means that the process needs occasional user interaction by switching to the VM being built. I even had a case where I did restart all services and ended up having to reboot the whole thing, therefore aborting the process.

KrisThielemans commented 3 months ago

@casperdcl my plan is to add

sudo echo "\$nrconf{restart} = 'a'" >> /etc/needrestart/needrestart.conf

to bootstrap-ubuntu.sh. Maybe you have a better solution...