On Tue, Jan 10, 2012 at 10:52:13PM -0300, Gerardo Exequiel Pozzi wrote: > Otherwise we need to modprobe module manually. > (Particulary I need this for archiso for using /dev/loop-control) > > Signed-off-by: Gerardo Exequiel Pozzi <[email protected]> > --- > mkinitcpio | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mkinitcpio b/mkinitcpio > index a1ea51a..54b39d9 100755 > --- a/mkinitcpio > +++ b/mkinitcpio > @@ -357,8 +357,8 @@ if (( ${#ADDED_MODULES[*]} )); then > "$BASEDIR/lib/modules/$KERNELVERSION"/modules.{builtin,order} > depmod -b "$BUILDROOT" "${KERNELVERSION}" > > - # remove all non-binary module.* files > - rm "$BUILDROOT/lib/modules/$KERNELVERSION"/modules.!(*.bin) > + # remove all non-binary module.* files (except devname for on-demand > module loading) > + rm "$BUILDROOT/lib/modules/$KERNELVERSION"/modules.!(*.bin|devname) > > else > warning "No modules were added to the image. This is probably not what > you want." > -- > 1.7.8.1 >
Thanks. Dragged into my local tree.
pgpYfIhoGOM97.pgp
Description: PGP signature
