diff --git a/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook b/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook index 48a8bef..7977140 100644 --- a/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook +++ b/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook @@ -13,4 +13,4 @@ Target = usr/src/*/dkms.conf [Action] Description = Ensure ESP is mounted... When = PreTransaction -Exec = /usr/bin/bash /usr/bin/dracut-ukify -x +Exec = /bin/sh -c "/usr/bin/dracut-ukify -x" diff --git a/usr/share/libalpm/hooks/60-dracut-ukify-remove.hook b/usr/share/libalpm/hooks/60-dracut-ukify-remove.hook index f5642ce..e7263dc 100644 --- a/usr/share/libalpm/hooks/60-dracut-ukify-remove.hook +++ b/usr/share/libalpm/hooks/60-dracut-ukify-remove.hook @@ -7,5 +7,5 @@ Target = usr/src/*/dkms.conf [Action] Description = Removing linux images... When = PreTransaction -Exec = /usr/bin/bash /usr/bin/dracut-ukify -y +Exec = /bin/sh -c "/usr/bin/dracut-ukify -y" NeedsTargets diff --git a/usr/share/libalpm/hooks/90-dracut-ukify-install.hook b/usr/share/libalpm/hooks/90-dracut-ukify-install.hook index 2c16e92..04d64ec 100644 --- a/usr/share/libalpm/hooks/90-dracut-ukify-install.hook +++ b/usr/share/libalpm/hooks/90-dracut-ukify-install.hook @@ -13,5 +13,5 @@ Target = usr/src/*/dkms.conf [Action] Description = Updating linux images... When = PostTransaction -Exec = /usr/bin/bash /usr/bin/dracut-ukify -z +Exec = /bin/sh -c "/usr/bin/dracut-ukify -z" NeedsTargets