On Tue, Oct 03, 2000 at 11:28:16PM -0700, Tony Alfrey wrote:
...
>It blew up.  I built the drivers into the kernel instead.  That works.  
>I'll need to study the mkinitrd script simply to know how it works.
>Thanks!!

The mkinitrd script in the Caldera modutils RPM has been broken since the
2.2 betas.  It fails if any of the directories in /etc/modules contain
whitespace (many do).  I submitted patches to fix this at least two years
ago, but they've never been applied.

This can be fixed easily by editing /usr/libexec/modules/mkinitrd.sh adding
double quotes around each instance of $latest:
        latest=`ls -art /etc/modules/*/*rootfs 2>/dev/null | tail -1`
        if [ -n "$latest" -a -s /"$latest" ]; then
                ...

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Never chastise a Windows user...just smile at them kindly as you would a
disadvantaged child.'' WBM
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to