

5 changed files with 36 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
# No Xen-detect? Boo!! |
||||||
|
which xen-detect >/dev/null 2>&1 || exit 1 |
||||||
|
|
||||||
|
. $dracutfunctions |
||||||
|
[[ $debug ]] && set -x |
||||||
|
|
||||||
|
# Yes, we are under Xen PV env. |
||||||
|
xen-detect | egrep -q -v 'PV' || exit 0 |
||||||
|
|
||||||
|
exit 1 |
@ -0,0 +1,4 @@ |
|||||||
|
#!/bin/bash |
||||||
|
inst xen-detect |
||||||
|
inst_hook pre-udev 40 "$moddir/xen-pre-udev.sh" |
||||||
|
|
@ -0,0 +1,9 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
for i in \ |
||||||
|
xenbus_probe_frontend xen-pcifront \ |
||||||
|
xen-fbfront xen-kbdfront xen-blkfront xen-netfront \ |
||||||
|
; do |
||||||
|
modinfo -k $kernel $i >/dev/null 2>&1 && instmods $i |
||||||
|
done |
||||||
|
|
Loading…
Reference in new issue