http://qa.mandrakesoft.com/show_bug.cgi?id=5221

           Product: bootloader-utils
         Component: bootloader-utils
           Summary: Fail to create /lib/modules/<kernel>/build symlink
           Product: bootloader-utils
           Version: 1.4-1mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootloader-utils
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Whenever new kernel is installed, the following message will be seen:

    ln: invalid option -- o
    Try `ln --help' for more information.

It's because there is a typo in do_create_link_source():

    version="`echo $version | sed 's/-BOOT//'`"
                                                                                
    local kernel_source=/usr/src/linux-$version
    if [ -d $kernel_source ]; then
        ln -sf $kernel-source /lib/modules/$kversion/build
    fi

The hyphen between "$kernel" and "source" should be underscore instead.
Otherwise "-source" will be parsed as option to ln, thus causing failure to
create the .../build symlink.

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to