1 |
Hi, I'm trying to build a livecd stage2. The reference spec file at |
2 |
http://www.gentoo.org/proj/en/releng/docs/livecd-stage2_template.spec.txt |
3 |
does: |
4 |
|
5 |
livecd/empty: |
6 |
/var/cache |
7 |
/var/db |
8 |
/var/empty |
9 |
/var/cache |
10 |
/var/lock |
11 |
/tmp |
12 |
/usr/portage |
13 |
|
14 |
catalyst runs fine until it gets up to the /usr/portage bit, then says: |
15 |
|
16 |
Emptying directory /var/cache |
17 |
Emptying directory /var/lock |
18 |
Emptying directory /tmp |
19 |
Emptying directory /usr/portage |
20 |
Traceback (most recent call last): |
21 |
File "/usr/bin/catalyst", line 117, in ? |
22 |
mytarget.run() |
23 |
File "/usr/lib/catalyst/modules/generic_stage_target.py", line 351, in run |
24 |
self.clean() |
25 |
File "/usr/lib/catalyst/modules/livecd_stage2_target.py", line 79, in clean |
26 |
generic_stage_target.clean(self) |
27 |
File "/usr/lib/catalyst/modules/generic_stage_target.py", line 268, in clean |
28 |
shutil.rmtree(myemp) |
29 |
File "/usr/lib/python2.3/shutil.py", line 140, in rmtree |
30 |
raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg) |
31 |
OSError: [Errno 16] Device or resource busy |
32 |
removing /var/tmp/catalyst/tmp/default/livecd-stage2-pentium3-20040604/usr/portage/packages |
33 |
|
34 |
It appears that catalyst has already mounted this directory: |
35 |
|
36 |
# mount |
37 |
/var/tmp/catalyst/packages/default/livecd-stage2-pentium3-20040604 |
38 |
on /var/tmp/catalyst/tmp/default/livecd-stage2-pentium3-20040604/usr/portage/packages |
39 |
type none (rw,bind) |
40 |
|
41 |
Has anybody else seen this? Shouldn't catalyst be unmounting anything it |
42 |
mounts or is there something wrong with the spec file? |
43 |
|
44 |
-- |
45 |
gentoo-dev@g.o mailing list |