]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
modsign: do not hardcode path to keyctl
authorAlexander Tsoy <alexander@tsoy.me>
Mon, 31 Mar 2014 13:56:13 +0000 (17:56 +0400)
committerHarald Hoyer <harald@redhat.com>
Thu, 3 Jul 2014 07:22:48 +0000 (09:22 +0200)
https://bugs.gentoo.org/show_bug.cgi?id=506094

modules.d/03modsign/module-setup.sh

index 09285d3b07467d94782bc4a210be5fc54a0d72c3..cc0e2417df7646003a547ed7afba305df2351041 100755 (executable)
@@ -29,7 +29,7 @@ depends() {
 # called by dracut
 install() {
     inst_dir /lib/modules/keys
-    inst_binary /usr/bin/keyctl
+    inst_binary keyctl
 
     inst_hook pre-trigger 01 "$moddir/load-modsign-keys.sh"