Bug 16221 - updmodules build script breaks module deps
updmodules build script breaks module deps
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Fulbright
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2000-08-15 05:09 EDT by Nigel Metheringham
Modified: 2007-04-18 12:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-15 18:49:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nigel Metheringham 2000-08-15 05:09:42 EDT
updmodules (in misc/src/trees on install directory structure), builds
a set of module dependancies for the install/BOOT kernel.
However it only allows one line of depandancies per module, and depmod
outputs one line of dependancy data *per* depedancy.
Hence this code:-
    /sbin/depmod -m $KERNELROOT/boot/System.map-$version -i -e *.o | \
          grep ':.*o' | \   ...etc

screws up the NFS dependancies for boot set built with 2.2.16 kernels.

I did a quick hack to fix this:-
    /sbin/depmod -m $KERNELROOT/boot/System.map-$version -i -e *.o | \
	  perl -pe 's/\\\n//' | \
          grep ':.*o' | \

its not good or pretty, but it works :-)

Obviously other things need modifying for 2.2.16 due to size constraints
but this one is a design showstopper

[Not checked against the current beta set]
Comment 1 Erik Troan 2000-08-15 18:49:22 EDT
Fixed in pinstripe.

Note You need to log in before you can comment on or make changes to this bug.