update-bootloader-manjaro
This commit is contained in:
parent
5944546659
commit
50b4350f09
2 changed files with 19 additions and 0 deletions
|
@ -592,6 +592,13 @@ chmod +x /usr/bin/aurupdater
|
|||
# setcap-ping
|
||||
setcap cap_net_raw+ep /bin/ping
|
||||
|
||||
# systemd-manjaro_update-bootloader
|
||||
cp /opt/${repo}/update-bootloader ${mountpoint}/usr/bin/update-bootloader
|
||||
chmod +x /usr/bin/update-bootloader
|
||||
|
||||
|
||||
|
||||
|
||||
# openvpn-reconnect
|
||||
|
||||
#cp /opt/${repo}/openvpn-reconnect /usr/bin/openvpn-reconnect
|
||||
|
|
12
pacman-hooks/systemd-bootloader-update.hook
Normal file
12
pacman-hooks/systemd-bootloader-update.hook
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Trigger]
|
||||
Operation = Remove
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = linux
|
||||
Target = grub
|
||||
|
||||
[Action]
|
||||
Depends = coreutils
|
||||
Depends = bash
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/bash -c '/usr/bin/update-bootloader'
|
Loading…
Reference in a new issue