Comment 2 for bug 702638

Revision history for this message
Mario Limonciello (superm1) wrote :

Looks good to me. Thanks.

commit 7dff4a08397bcaab9ea478129cc4ea2523e387dc
Author: Mario Limonciello <email address hidden>
Date: Thu Jan 13 17:01:10 2011 -0600

    If a PRE_BUILD command is defined in a dkms.conf file, then it is
    invoked as $dkms_tree/$module/$module_version/source/$pre_build in the
    current working directory. This is incorrect behavior because PRE_BUILD
    could modify or generate source files. Also note that
    $dkms_tree/$module/$module_version/source/ is linked to
    /usr/src/$module-$module_version/ and should be therefore be read-only
    regardless.

    Expected behavior is that PRE_BUILD be always invoked from the
    $dkms_tree/$module/$module_version/build/ temporary area.

    Thanks Darik Horn.