Re: [PATCH 5/7] Add depmod and configure it to prefer the DD directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This one looks fine.

On Wed, 2 Dec 2009, Martin Sivak wrote:

---
scripts/mk-images    |    5 +++++
scripts/upd-instroot |    1 +
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index c3b1686..f8e1285 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 \
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 2a79ebf..8539cdd 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -780,6 +780,7 @@ sbin/insmod
sbin/lsmod
sbin/modinfo
sbin/modprobe
+sbin/depmod
sbin/netstat
sbin/restore
sbin/rrestore


- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksdaD0ACgkQ5hsjjIy1VkmBqACeKree4fh+itZU0eQWNfON8MMD
mT4AnjFb/fdigUsT9RF3ERPjgyxF6GH9
=kvKv
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux