[SM-Discuss] drm spell

"Andraž 'ruskie' Levstik" ruskie at codemages.net
Sat Oct 11 12:34:45 EDT 2008


On 14:43:35 2008-10-11 Treeve Jelbert <treeve at scarlet.be> wrote:
> there is some logic in the PREPARE which prevents drm being cast.

It doesn't... just does whatever fancy stuff it does...

> 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
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss



More information about the SM-Discuss mailing list