Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61779 - 'envscript' is deleted at first run of 'grp-chroot'.
Summary: 'envscript' is deleted at first run of 'grp-chroot'.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All All
: High normal
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 03:27 UTC by Lluís Batlle i Rossell
Modified: 2004-08-30 18:39 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 Lluís Batlle i Rossell 2004-08-26 03:27:23 UTC
When making a grp package set, 'grp-chroot.sh' script is run TWO times (because "grp.sh run" is run two times (for srcset and for pkgset)).
So, it needs the 'envscript' file in /tmp for setting the environment variables.

If the file is deleted at the first time, the second time there is no personal environment.

Solutions:
1. Not to remove the file (I personally did that change in my catalyst source)
2. Set the environment variable (and maintain it) at catalyst python code (when grp.sh is called).
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2004-08-30 18:39:29 UTC
fixed in CVS