1 |
In order to put an additional 'stage4' tarball on a custum live-cd i've |
2 |
made a portage snapshot using catalyst and then tried |
3 |
|
4 |
# catalyst -f livecd-stage1_template.spec |
5 |
|
6 |
with the following spec-file (comments stripped): |
7 |
|
8 |
#################################### |
9 |
|
10 |
version_stamp: 2006-03-15 |
11 |
|
12 |
target: livecd-stage1 |
13 |
|
14 |
rel_type: default |
15 |
|
16 |
profile: default/x86/2006.0 |
17 |
|
18 |
snapshot: 2006-03-13 |
19 |
|
20 |
source_subpath: stage3-x86-2006.0 |
21 |
|
22 |
distcc_hosts: |
23 |
|
24 |
portage_confdir: |
25 |
|
26 |
livecd/use: |
27 |
-* |
28 |
socks5 |
29 |
livecd |
30 |
fbcon |
31 |
ncurses |
32 |
readline |
33 |
ssl |
34 |
atm |
35 |
pam |
36 |
|
37 |
livecd/packages: |
38 |
livecd-tools |
39 |
gentoo-sources |
40 |
dhcpcd |
41 |
acpid |
42 |
apmd |
43 |
coldplug |
44 |
fxload |
45 |
irssi |
46 |
gpm |
47 |
syslog-ng |
48 |
parted |
49 |
links |
50 |
raidtools |
51 |
nfs-utils |
52 |
jfsutils |
53 |
xfsprogs |
54 |
e2fsprogs |
55 |
reiserfsprogs |
56 |
pwgen |
57 |
popt |
58 |
dialog |
59 |
rp-pppoe |
60 |
screen |
61 |
mirrorselect |
62 |
penggy |
63 |
iputils |
64 |
hwsetup |
65 |
lvm2 |
66 |
evms |
67 |
vim |
68 |
pptpclient |
69 |
mdadm |
70 |
ethtool |
71 |
unzip |
72 |
vlock |
73 |
lsscsi |
74 |
vconfig |
75 |
#################################### |
76 |
|
77 |
Unfortunatly i get: |
78 |
|
79 |
#################################### |
80 |
... |
81 |
Running command |
82 |
"cp /etc/hosts /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006-03-15/etc/hosts" |
83 |
Running command "rm |
84 |
-f /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006-03-15/etc/make.conf" |
85 |
Running action sequence: setup_environment |
86 |
Running action sequence: run_local |
87 |
Running command |
88 |
"/bin/bash /usr/lib/catalyst/targets/livecd-stage1/livecd-stage1.sh run |
89 |
'livecd-tools' 'gentoo-sources' 'dhcpcd' 'acpid' 'apmd' 'coldplug' |
90 |
'fxload' 'irssi' 'gpm' 'syslog-ng' 'parted' 'links' 'raidtools' |
91 |
'nfs-utils' 'jfsutils' 'xfsprogs' 'e2fsprogs' 'reiserfsprogs' 'pwgen' |
92 |
'popt' 'dialog' 'rp-pppoe' 'screen' 'mirrorselect' 'penggy' 'iputils' |
93 |
'hwsetup' 'lvm2' 'evms' 'vim' 'pptpclient' 'mdadm' 'ethtool' 'unzip' |
94 |
'vlock' 'lsscsi' 'vconfig'" |
95 |
>>> Regenerating /etc/ld.so.cache... |
96 |
|
97 |
|
98 |
Performing Global Updates: /usr/portage/profiles/updates/1Q-2006 |
99 |
(Could take a couple of minutes if you have a lot of binary packages.) |
100 |
.='update pass' *='binary update' @='/var/db move' |
101 |
s='/var/db SLOT move' S='binary SLOT move' |
102 |
p='update /etc/portage/package.*' |
103 |
............................... |
104 |
!!! ARCH is not set... Are you missing the /etc/make.profile symlink? |
105 |
!!! Is the symlink correct? Is your portage tree complete? |
106 |
|
107 |
>>> --newuse implies --update... adding --update to options. |
108 |
!!! ARCH is not set... Are you missing the /etc/make.profile symlink? |
109 |
!!! Is the symlink correct? Is your portage tree complete? |
110 |
|
111 |
|
112 |
Traceback (most recent call last): |
113 |
File "modules/livecd_stage1_target.py", line 21, in run_local |
114 |
cmd("/bin/bash "+self.settings["sharedir"]+\ |
115 |
File "/usr/lib/catalyst/modules/catalyst_support.py", line 102, in cmd |
116 |
raise CatalystError,myexc |
117 |
CatalystError: <unprintable instance object> |
118 |
None |
119 |
|
120 |
!!! catalyst: LiveCD stage1 build aborting due to error. |
121 |
#################################### |
122 |
|
123 |
Can anybody explain to me what i'm doing wrong (i'm using |
124 |
catalyst-1.1.10.10) ? |
125 |
|
126 |
Thanks, |
127 |
Matthias |
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
-- |
134 |
gentoo-catalyst@g.o mailing list |