summarylogtreecommitdiffstats
path: root/reboot-required.hook
blob: 7165d37e28294878efe552d02217b19568d2fc81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package

# These only apply at boot time
Target = amd-ucode
Target = grub
Target = intel-ucode
Target = linux
Target = linux-firmware
Target = mkinitcpio

# These various packages are so core to the system that it's
# simply easier to reboot the machine than to find every process
# and restart them
Target = ca-certificates
Target = dbus-broker
Target = gcc-libs
Target = glib2
Target = glibc
Target = libcap
Target = openssl
Target = systemd
Target = zlib

[Action]
Description = Marking the system as requiring a reboot
When = PostTransaction
Exec = /usr/bin/touch /run/reboot-required