Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] drm spell

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve AT scarlet.be>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] drm spell
  • Date: Sat, 11 Oct 2008 14:43:35 +0200

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




Archive powered by MHonArc 2.6.24.

Top of Page