project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
36 stars 22 forks source link

Silence user prompts about reboot and service restart required #140

Closed mikaelhm closed 8 months ago

mikaelhm commented 8 months ago

During our auto-install.sh script, the linux kernel will be updated.

This is causing ubuntu to post these warning during installation of later packages:

Screenshot 2024-01-03 at 9 33 17 PM Screenshot 2024-01-03 at 9 33 08 PM

This feature is introduced in Ubuntu 22.04 and controlled by needsreboot.

In this PR we temporarily modify the needsreboot config, to not show these alerts to the user during auto-install. The default configuration is restored in the end.