Displaying 3 results from an estimated 3 matches for "inst_hook".
2011 Oct 20
1
[PATCH] remove the xen dracut module
...\
- ; do
- modinfo -k $kernel $_i >/dev/null 2>&1 && instmods $_i
- done
-
-}
-
-install() {
- hash xen-detect 2>/dev/null || \
- hash -p /usr/lib/xen-default/bin/xen-detect xen-detect
- inst "$(hash -t xen-detect)" /sbin/xen-detect
- inst_hook pre-udev 40 "$moddir/xen-pre-udev.sh"
-}
-
diff --git a/modules.d/60xen/xen-pre-udev.sh b/modules.d/60xen/xen-pre-udev.sh
deleted file mode 100755
index f039aaa..0000000
--- a/modules.d/60xen/xen-pre-udev.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# -*- mode: shell-script; indent-tabs-...
2011 Jul 29
0
[PATCH node] fix dracut plugin wildcard handling
.../ovirt-cleanup.sh | 8 ++++----
scripts/ovirt-boot-functions | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/dracut/install b/dracut/install
index f3f2f07..1832b89 100755
--- a/dracut/install
+++ b/dracut/install
@@ -1,6 +1,7 @@
#!/bin/bash
inst yes
+inst head
inst_hook pre-pivot 01 "$moddir/ovirt-cleanup.sh"
inst_simple "$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index 775bcf8..a6762cf 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -34,9 +34,9...
2011 Aug 25
0
[PATCH node] always remove HostVG in dracut when reinstall/uninstall/firstboot passed
...dracut/install | 1 +
dracut/ovirt-cleanup.sh | 14 +++++++++++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/dracut/install b/dracut/install
index 1832b89..000272a 100755
--- a/dracut/install
+++ b/dracut/install
@@ -2,6 +2,7 @@
inst yes
inst head
+inst awk
inst_hook pre-pivot 01 "$moddir/ovirt-cleanup.sh"
inst_simple "$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index 1d7db84..c96d6fe 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -40,10 +40,1...