This commit is contained in:
Valeria Fadeeva 2024-11-10 02:07:55 +05:00
parent ba953e34ca
commit 9735fc5af1
3 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@ Target = usr/src/*/dkms.conf
[Action]
Description = Ensure ESP is mounted...
When = PreTransaction
Exec = /usr/bin/bash /usr/bin/dracut-initramfs -x
Exec = /bin/sh -c "/usr/bin/dracut-initramfs -x"

View File

@ -7,5 +7,5 @@ Target = usr/src/*/dkms.conf
[Action]
Description = Removing linux images...
When = PreTransaction
Exec = /usr/bin/bash /usr/bin/dracut-initramfs -y
Exec = /bin/sh -c "/usr/bin/dracut-initramfs -y"
NeedsTargets

View File

@ -12,5 +12,5 @@ Target = usr/src/*/dkms.conf
[Action]
Description = Updating linux images...
When = PostTransaction
Exec = /usr/bin/bash /usr/bin/dracut-initramfs -z
Exec = /bin/sh -c "/usr/bin/dracut-initramfs -z"
NeedsTargets