1 |
Le Fri, 14 Apr 2006 01:29:46 -0400, Christophe PEREZ a écrit : |
2 |
|
3 |
> ipw2100 |
4 |
> ipw2200 |
5 |
|
6 |
As I didn't find another solution, I removed them. |
7 |
|
8 |
Now, my livecd is built, but I have somethings not working with it, may be |
9 |
catalyst bugs ? |
10 |
|
11 |
1) livecd/users: |
12 |
is not used, no user created. |
13 |
|
14 |
livecd/users: novazur |
15 |
and grep novazur tmp/default/livecd-stage2-i686-cp20060411/etc/passwd |
16 |
doesn't give anything. |
17 |
|
18 |
|
19 |
2) ##STARTX not anymore replaced : |
20 |
|
21 |
# cat tmp/default/livecd-stage2-i686-cp20060411/root/.bashrc |
22 |
#!/bin/bash |
23 |
|
24 |
if [ ! $(grep nox /proc/cmdline) ] |
25 |
then |
26 |
if [ -x /usr/bin/X ] |
27 |
then |
28 |
if [ -e /etc/startx ] |
29 |
then |
30 |
rm -f /etc/startx |
31 |
##STARTX |
32 |
[ -f /etc/motd ] && cat /etc/motd |
33 |
fi |
34 |
fi |
35 |
fi |
36 |
|
37 |
http://article.gmane.org/gmane.linux.gentoo.catalyst/185/match=startx |
38 |
|
39 |
|
40 |
3) Impossible to startx, I had to manually create /tmp/.ICE-unix |
41 |
|
42 |
|
43 |
4) no more XkbLayout in xorg.conf. I was used to parse it and replace |
44 |
(sed) it by : |
45 |
sed -i 's/Option *"XkbLayout" ""/Option "XkbLayout" "fr"/' |
46 |
/etc/X11/xorg.conf |
47 |
|
48 |
Now, I had to add the line in my initscript : |
49 |
sed -i 's/\(XkbVariant.*$\)/\1\n\tOption\t"XkbLayout" "fr"/' |
50 |
/etc/X11/xorg.conf |
51 |
|
52 |
http://article.gmane.org/gmane.linux.gentoo.catalyst/191/match= |
53 |
|
54 |
|
55 |
5) /etc/profile not sourced before starting X. |
56 |
I suggested something that seems desapeared : |
57 |
--- livecdfs-update.sh.orig 2005-07-14 14:02:12.000000000 -0400 |
58 |
+++ livecdfs-update.sh 2005-07-14 14:03:05.000000000 -0400 |
59 |
<at> <at> -79,7 +79,7 <at> <at> |
60 |
if [ -n "${clst_livecd_users}" -a -e /etc/startx ] |
61 |
then |
62 |
first_user=$(echo ${clst_livecd_users} | cut -d' ' -f1) |
63 |
- sed -i "s/##STARTX/su - $first_user -c startx/" /root/.bashrc |
64 |
+ sed -i "s/##STARTX/su - $first_user -c \"source /etc/profile && startx\"/" /root/.bashrc |
65 |
fi |
66 |
|
67 |
http://article.gmane.org/gmane.linux.gentoo.catalyst/265/match=1+10+5 |
68 |
|
69 |
But is livecdfs-update.sh is it always used by catalyst ? |
70 |
|
71 |
-- |
72 |
Christophe PEREZ |
73 |
-- |
74 |
gentoo-catalyst@g.o mailing list |