diff options
author | Martin Sivak <msivak@redhat.com> | 2009-12-17 16:03:24 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2010-01-08 17:13:05 +0100 |
commit | b1bb7efe3b672edf4f1ea52fc79a57ec0b95b6a3 (patch) | |
tree | 9f01b3f3b9ac8eb07f3a05e97d720105eaf80405 /scripts | |
parent | 208e125a455411388f8068d170ca276fdfb79e10 (diff) | |
download | anaconda-b1bb7efe3b672edf4f1ea52fc79a57ec0b95b6a3.tar.gz anaconda-b1bb7efe3b672edf4f1ea52fc79a57ec0b95b6a3.tar.xz anaconda-b1bb7efe3b672edf4f1ea52fc79a57ec0b95b6a3.zip |
Include depmod in stage1 and set it to prefer the DD directory
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 7 | ||||
-rwxr-xr-x | scripts/upd-instroot | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index c3b168649..fd4ab1112 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -328,6 +328,11 @@ makemoduletree() { esac done + # create depmod.conf to support DDs + cat > $MMB_DIR/etc/depmod.conf << EOF +search /tmp/DD/lib/modules built-in +EOF + # clean up leftover cruft find -H $MMB_DIR/lib/modules -type d -exec rmdir -f {} \; 2>/dev/null $MODLIST --modinfo-file $MODINFO --ignore-missing --modinfo \ @@ -808,7 +813,7 @@ makeinitrd() { makeproductfile $MBD_DIR - for n in insmod rmmod modprobe; do + for n in insmod rmmod modprobe depmod; do instbin $IMGPATH /usr/sbin/$n $MBD_DIR /sbin/$n done diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 551bd11c0..7a7f4ce55 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -781,6 +781,7 @@ sbin/insmod sbin/lsmod sbin/modinfo sbin/modprobe +sbin/depmod sbin/netstat sbin/restore sbin/rrestore |