If /usr/portage is included in livecd/empty in the spec file and pkgcache is selected the empty will fail with: Emptying directory /usr/portage Traceback (most recent call last): File "/usr/bin/catalyst", line 117, in ? mytarget.run() File "/usr/lib/catalyst/modules/generic_stage_target.py", line 351, in run self.clean() File "/usr/lib/catalyst/modules/livecd_stage2_target.py", line 79, in clean generic_stage_target.clean(self) File "/usr/lib/catalyst/modules/generic_stage_target.py", line 268, in clean shutil.rmtree(myemp) File "/usr/lib/python2.3/shutil.py", line 140, in rmtree raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg) OSError: [Errno 16] Device or resource busy removing /var/tmp/catalyst/tmp/default/livecd-stage2-pentium3-20040604/usr/portage/packages Catalyst should umount pkgcache before cleaning.
it should be unmounting already .... the spec templates have always had /usr/portage in livecd/rm and I have never seen this problem. Can you reproduce the bug, or is it a problem with your kit/ machine?
closing due to no activity/ answer