From 8f7af4633e500155f428ca75390acdb6de82e553 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Sun, 10 Nov 2024 02:07:56 +0500 Subject: [PATCH] Update --- usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook | 2 +- usr/share/libalpm/hooks/60-dracut-ukify-remove.hook | 2 +- usr/share/libalpm/hooks/90-dracut-ukify-install.hook | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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