diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-03-13 16:11:49 +0000 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-03-19 17:02:34 +0100 |
commit | c2010deab9b936c566a543864ecd85abc36568bb (patch) | |
tree | 09d72d4e14eba99869b0d4ddb0b29b5ff1104b59 | |
parent | b61ca06a848dd73b57c837fb27cafde3115c9157 (diff) | |
download | initramfs-tools-c2010deab9b936c566a543864ecd85abc36568bb.tar.gz initramfs-tools-c2010deab9b936c566a543864ecd85abc36568bb.zip |
mkinitramfs: include the modules.order file.
i've made an install of new kernel on Intrepid: 2.6.27-8-generic (32 bits)
and kernel.log have a warning about load order of ehci_hcd:
Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
LP: #296710.
-rwxr-xr-x | mkinitramfs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mkinitramfs b/mkinitramfs index a1d7afe..5d38f16 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -161,6 +161,12 @@ for d in bin conf/conf.d etc lib/modules sbin scripts ${MODULESDIR}; do mkdir -p "${DESTDIR}/${d}" done +# Copy the modules.order file in +if [ -f "${MODULESDIR}/modules.order" ]; then + cp -p "${MODULESDIR}/modules.order" \ + "${DESTDIR}${MODULESDIR}/modules.order" +fi + # MODULES=list case. Always honour. for x in "${CONFDIR}/modules" /usr/share/initramfs-tools/modules.d/*; do if [ -f "${x}" ]; then |