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

Bug 198642

Summary: linux-mod.eclass - relative directories
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: EclassesAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alon Bar-Lev (RETIRED) gentoo-dev 2007-11-10 11:14:15 UTC
Hello,

A minor issue...

If you replace the order in linux-mod_src_compile of:
            touch ${srcdir}/.built
            cd ${OLDPWD}
into:
            cd ${OLDPWD}
            touch ${srcdir}/.built

srcdir may be relative to WORKDIR, with full backward compatibility...

So, for example:
    bc_3des(block:"${S}/mod":mod/3des)
Maybe written as:
    bc_3des(block:mod:mod/3des)

Thanks!
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2008-10-31 22:31:18 UTC
I hope you're right about the full backwards compatibility thing :)
committed, thanks!