-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trust packages for whether reboot is necessary
Installing a kernel package on Ubuntu creates a /var/run/reboot-required file. Key off its existence instead of trying to figure out ourselves whether to reboot. The `removes' argument to `command' handles conditioning the reboot on whether the file exists. For a vagrant instance, fire a `vagrant reload' after rebooting from on the machine so we still get the setup `vagrant up' does.
- Loading branch information
Dave Charness
committed
Dec 16, 2016
1 parent
8e3d335
commit b90e21c
Showing
2 changed files
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters