Bug 89142 - cryptsetup - KBUILD_OUTPUT / KV_OUT_DIR support
Bug#: 89142 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: tigger@gentoo.org Reported By: garlicbread@ntlworld.com
Component: Ebuilds
URL: 
Summary: cryptsetup - KBUILD_OUTPUT / KV_OUT_DIR support
Keywords:  
Status Whiteboard: 
Opened: 2005-04-14 18:14 0000
Description:   Opened: 2005-04-14 18:14 0000
cryptsetup was originaly using kernel-mod to check within the .config file for
DM_CRYPT
however kernel-mod doesn't appear to support the setting of KBUILD_OUTPUT for
the kernel output directory at the moment

small modification to use linux-mod / linux_chkconfig_present / KV_OUT_DIR
instead.

------- Comment #1 From Richard Westwell 2005-04-14 18:15:55 0000 -------
Created an attachment (id=56315) [details]
patch to cryptsetup-0.1-r1.ebuild

------- Comment #2 From Myk Taylor 2005-05-08 09:37:27 0000 -------
Created an attachment (id=58363) [details]
patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of
hard-coded /usr/src/linux

trivially patches the following functions to use KBUILD_OUTPUT instead of
KERNEL_DIR or a hardcoded '/usr/src/linux':
  kernel-mod_configoption_present
  kernel-mod_configoption_module
  kernel-mod_configoption_builtin
  kernel-mod_checkzlibinflate_configured

fixes ebuilds of cryptsetup, svgalib, etc.

------- Comment #3 From Benjamin Smee (strerror) (RETIRED) 2005-05-24 15:52:41 0000 -------
Fixed in CVS though I used linux-info and did it slightly differently.