summaryrefslogtreecommitdiffstats
path: root/initrd/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-03-21 21:30:47 +0100
committerDirk von Suchodoletz2006-03-21 21:30:47 +0100
commit2e328710ccf770caa967625d034ce1ebb4e65452 (patch)
tree677711078e3ea232799ccf885603a9e1f0b06562 /initrd/mkdxsinitrd
parentFix: dhclientuser für Ubuntu (diff)
downloadcore-2e328710ccf770caa967625d034ce1ebb4e65452.tar.gz
core-2e328710ccf770caa967625d034ce1ebb4e65452.tar.xz
core-2e328710ccf770caa967625d034ce1ebb4e65452.zip
extended passwd function, some cleanups ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@110 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-xinitrd/mkdxsinitrd5
1 files changed, 3 insertions, 2 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd
index a09c5097..daeee9ff 100755
--- a/initrd/mkdxsinitrd
+++ b/initrd/mkdxsinitrd
@@ -49,7 +49,6 @@ D_DEFAULTCOUNTRY="<set in ~/distro-config/distro file>"
# End of global variable declaration, nothing needed to be changed at
# default below that line
-
usage()
{
echo Here is how to use mkdxsinitrd
@@ -450,7 +449,7 @@ for module in af_packet unix ${NWMODULES} ${FSMODULES} ${DEBUGMODULES}; do
mpath=${INSTDIR}/${mod%/*}
mkdir -p ${mpath}
cp ${ROOTDIR}/$mod ${mpath}
- # fixmee!! selection of dependent modules could be handled a little bi
+ # fixmee!! selection of dependent modules could be handled a little bit
# more clever
case "$module" in
e100|8139too|via-rhine|sis900|epic100|sundance|8139cp|eepro100|pcnet32)
@@ -458,6 +457,8 @@ for module in af_packet unix ${NWMODULES} ${FSMODULES} ${DEBUGMODULES}; do
${INSTDIR}/lib/modules/${KERNVER}/kernel/drivers/net &>/dev/null
;;
nfs)
+ # create directory structure for modules needed and copy them
+ # to the proper place (as expected by modprobe/modules.dep)
mkdir -p ${INSTDIR}/lib/modules/${KERNVER}/kernel/net/sunrpc/
mkdir -p ${INSTDIR}/lib/modules/${KERNVER}/kernel/fs/lockd
mkdir -p ${INSTDIR}/lib/modules/${KERNVER}/kernel/fs/nfs_common