make config generation redirect stderr to /dev/null
This commit is contained in:
parent
9a3e96d579
commit
cfaab80706
2 changed files with 3 additions and 1 deletions
2
99_grub-config.hook
Normal file → Executable file
2
99_grub-config.hook
Normal file → Executable file
|
|
@ -9,4 +9,4 @@ Target = *
|
||||||
Description = generate GRUB configuration file
|
Description = generate GRUB configuration file
|
||||||
Depends = grub-btrfs-git
|
Depends = grub-btrfs-git
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg
|
Exec = /usr/bin/snapper-pac-grub-config
|
||||||
|
|
|
||||||
2
snapper-pac-grub
Executable file
2
snapper-pac-grub
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
/usr/bin/grub-mkconfig -o /boot/grub/grub.cfg 2> /dev/null
|
||||||
Loading…
Add table
Reference in a new issue