Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89142 - cryptsetup - KBUILD_OUTPUT / KV_OUT_DIR support
Summary: cryptsetup - KBUILD_OUTPUT / KV_OUT_DIR support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: rob holland (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-14 18:14 UTC by Richard Westwell
Modified: 2005-05-24 15:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to cryptsetup-0.1-r1.ebuild (1.patch,917 bytes, patch)
2005-04-14 18:15 UTC, Richard Westwell
Details | Diff
patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of hard-coded /usr/src/linux (kernel-mod.eclass.patch,1.85 KB, patch)
2005-05-08 09:37 UTC, Myk Taylor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.