Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162696 - app-emulation/x86-chroot - missing "source /etc/profile" command in root .bashrc
Summary: app-emulation/x86-chroot - missing "source /etc/profile" command in root .bashrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Simon Stelling (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 19:28 UTC by Davide Cendron (RETIRED)
Modified: 2007-01-27 21:27 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 Davide Cendron (RETIRED) gentoo-dev 2007-01-18 19:28:53 UTC
I've seen that .bashrc ( /opt/x86-chroot/root/.bashrc ) lacks of

"source /etc/profile"

command (necessary to update environment variables).

So i suggest to add the following line:

echo "source /etc/profile" >> "${WORKDIR}/${CHROOT_LOCATION}/root/.bashrc"

after the line

echo "env-update" >> "${WORKDIR}/${CHROOT_LOCATION}/root/.bashrc"

in the ebuild.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2007-01-27 21:27:12 UTC
fixed, thanks for the catch