[SM-Discuss] drm spell

Treeve Jelbert treeve at scarlet.be
Sat Oct 11 08:43:35 EDT 2008


there is some logic in the PREPARE which prevents drm being cast.
if  [[  "$_KERNEL_VERSION" == "2.6.26" ||
        "$_KERNEL_VERSION" == "2.6.27" ]]
then
  . $GRIMOIRE/FUNCTIONS  &&

  local  _KVM_UNUSED_SYMBOLS=$(get_kernel_config CONFIG_UNUSED_SYMBOLS)  &&

  if [[ $_KVM_UNUSED_SYMBOLS != y ]]
  then
    message "${PROBLEM_COLOR}You don't have CONFIG_UNUSED_SYMBOLS"   \
            "enabled in your kernel configuration, cannot build"     \
            "${SPELL_COLOR}$SPELL${MESSAGE_COLOR}.${DEFAULT_COLOR}"  &&
    return 1
  fi
fi



$ grep UNUSED /boot/config
# CONFIG_UNUSED_SYMBOLS is not set


However, when I cast linux, it triggers a cast of drm, which succeeds!

~$ gaze install drm
/lib
/lib/modules
/lib/modules/2.6.27
/lib/modules/2.6.27/kernel
/lib/modules/2.6.27/kernel/drivers
/lib/modules/2.6.27/kernel/drivers/char
/lib/modules/2.6.27/kernel/drivers/char/drm
/lib/modules/2.6.27/kernel/drivers/char/drm/drm.ko
/lib/modules/2.6.27/kernel/drivers/char/drm/nouveau.ko
/lib/modules/2.6.27/kernel/drivers/char/drm/nv.ko


What is going on?

-- 
Regards, Treeve


More information about the SM-Discuss mailing list