diff options
author | Will Woods <wwoods@redhat.com> | 2012-08-17 17:21:13 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2012-08-20 13:28:32 -0400 |
commit | 42a9093e263f7b226ee621ab930acfd00db5d6b4 (patch) | |
tree | 49e5d2c20a611aad35183de4a767ecf9343e29a1 /dracut/anaconda-modprobe.sh | |
parent | 861d6e3fc9d9cd3f719f7e2dbbff31244dc80142 (diff) | |
download | anaconda-42a9093e263f7b226ee621ab930acfd00db5d6b4.tar.gz anaconda-42a9093e263f7b226ee621ab930acfd00db5d6b4.tar.xz anaconda-42a9093e263f7b226ee621ab930acfd00db5d6b4.zip |
dracut: import anaconda-lib.sh in pre-udev hook
Since each hook is (basically) a separate shell, we need to import
anaconda-lib.sh at least once per hook.
Since anaconda-modprobe.sh runs before the other scripts, this covers
the whole hook.
Still, it's a good idea to leave the imports in place so future
maintainers know what functions come from where; clean up the existing
import in repo-genrules.sh to actually provide this info.
Diffstat (limited to 'dracut/anaconda-modprobe.sh')
-rw-r--r-- | dracut/anaconda-modprobe.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dracut/anaconda-modprobe.sh b/dracut/anaconda-modprobe.sh index 950c62f29..6a6b20d13 100644 --- a/dracut/anaconda-modprobe.sh +++ b/dracut/anaconda-modprobe.sh @@ -1,5 +1,9 @@ #!/bin/bash # load modules needed by anaconda + +# load anaconda-lib for the subsequent scripts in this hook +. /lib/anaconda-lib.sh + ARCH=$(uname -m) KERNEL=$(uname -r) |