summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2010-05-24 17:34:40 +0200
committerMartin Sivak <msivak@redhat.com>2010-05-24 18:21:49 +0200
commitcbcb0d07f22f4055dc7feb7269eba12c32da5131 (patch)
tree7c7b9e467513693d5ca4bdf45d8d82a631ecf9a7 /scripts
parent2f4eeebd17b33406aaa79a0e4c5f989db9a4a455 (diff)
downloadanaconda-cbcb0d07f22f4055dc7feb7269eba12c32da5131.tar.gz
anaconda-cbcb0d07f22f4055dc7feb7269eba12c32da5131.tar.xz
anaconda-cbcb0d07f22f4055dc7feb7269eba12c32da5131.zip
Change the configuration of depmod and link modules to better place (#593941)
Depmod doesn't support absolute paths so far, so we have to use small workaround. COnfigure it to prefer lib/modules/<kernel>/updates and make updates a symlink to /tmp/DD/lib/modules. This way depmod -a should see the modules and modprobe too...
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 0b3446846..76dbcc159 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -335,7 +335,7 @@ makemoduletree() {
# create depmod.conf to support DDs
mkdir -p $MMB_DIR/etc/depmod.d
cat > $MMB_DIR/etc/depmod.d/dd.conf << EOF
-search /tmp/DD/lib/modules built-in
+search updates built-in
EOF
# clean up leftover cruft