Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430566 - sys-devel/crossdev installed bashrc doesn't run cross-fix-root when it should
Summary: sys-devel/crossdev installed bashrc doesn't run cross-fix-root when it should
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 10:54 UTC by John Keeping
Modified: 2012-08-10 00:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Keeping 2012-08-09 10:54:42 UTC
It looks like crossdev sets up make.conf to have ROOT=/usr/${CHOST}/ but the wrapper scripts use SYSROOT=/usr/${CHOST} (note the trailing slash), which means that the check in the bashrc for "$SYSROOT == $ROOT" fails.

I've changed my bashrc to use ${ROOT%/} in the comparison, which fixes this.