Blame 0085-dracut-functions.sh-inst_hook-with-0-9-name.patch
|
Harald Hoyer |
811c04 |
From 5a84ac3fe36e706c88f7231fe3e4e1d2b11359e3 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
811c04 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
811c04 |
Date: Mon, 30 Jul 2012 17:00:27 +0200
|
|
Harald Hoyer |
811c04 |
Subject: [PATCH] dracut-functions.sh: inst_hook() with [0-9]-<name>
|
|
Harald Hoyer |
811c04 |
|
|
Harald Hoyer |
811c04 |
---
|
|
Harald Hoyer |
811c04 |
dracut-functions.sh | 2 +-
|
|
Harald Hoyer |
811c04 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
811c04 |
|
|
Harald Hoyer |
811c04 |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
Harald Hoyer |
811c04 |
index 04b4c7a..a299bbb 100755
|
|
Harald Hoyer |
811c04 |
--- a/dracut-functions.sh
|
|
Harald Hoyer |
811c04 |
+++ b/dracut-functions.sh
|
|
Harald Hoyer |
811c04 |
@@ -837,7 +837,7 @@ inst_hook() {
|
|
Harald Hoyer |
811c04 |
dfatal "No such hook type $1. Aborting initrd creation."
|
|
Harald Hoyer |
811c04 |
exit 1
|
|
Harald Hoyer |
811c04 |
fi
|
|
Harald Hoyer |
811c04 |
- inst_simple "$3" "/lib/dracut/hooks/${1}/${2}${3##*/}"
|
|
Harald Hoyer |
811c04 |
+ inst_simple "$3" "/lib/dracut/hooks/${1}/${2}-${3##*/}"
|
|
Harald Hoyer |
811c04 |
}
|
|
Harald Hoyer |
811c04 |
|
|
Harald Hoyer |
811c04 |
# install any of listed files
|