Index: modules/generic_stage_target.py =================================================================== --- modules/generic_stage_target.py (revision 1212) +++ modules/generic_stage_target.py (working copy) @@ -1358,6 +1358,9 @@ os.makedirs(myemp,0755) os.chown(myemp,mystat[ST_UID],mystat[ST_GID]) os.chmod(myemp,mystat[ST_MODE]) + myemp=self.settings["chroot_path"]+"/tmp/.clst_portage" + if os.path.isfile(myemp): + os.unlink(myemp) def gen_digest_file(self,file): if os.path.exists(file+".DIGESTS"):