Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89142

Summary: cryptsetup - KBUILD_OUTPUT / KV_OUT_DIR support
Product: Gentoo Linux Reporter: Richard Westwell <garlicbread>
Component: New packagesAssignee: rob holland (RETIRED) <tigger>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to cryptsetup-0.1-r1.ebuild
patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of hard-coded /usr/src/linux

Description Richard Westwell 2005-04-14 18:14:25 UTC
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 Richard Westwell 2005-04-14 18:15:55 UTC
Created attachment 56315 [details, diff]
patch to cryptsetup-0.1-r1.ebuild
Comment 2 Myk Taylor 2005-05-08 09:37:27 UTC
Created attachment 58363 [details, diff]
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 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-05-24 15:52:41 UTC
Fixed in CVS though I used linux-info and did it slightly differently.