Le Fri, 14 Apr 2006 01:29:46 -0400, Christophe PEREZ a écrit :
> ipw2100
> ipw2200
As I didn't find another solution, I removed them.
Now, my livecd is built, but I have somethings not working with it, may be
catalyst bugs ?
1) livecd/users:
is not used, no user created.
livecd/users: novazur
and grep novazur tmp/default/livecd-stage2-i686-cp20060411/etc/passwd
doesn't give anything.
2) ##STARTX not anymore replaced :
# cat tmp/default/livecd-stage2-i686-cp20060411/root/.bashrc
#!/bin/bash
if [ ! $(grep nox /proc/cmdline) ]
then
if [ -x /usr/bin/X ]
then
if [ -e /etc/startx ]
then
rm -f /etc/startx
##STARTX
[ -f /etc/motd ] && cat /etc/motd
fi
fi
fi
http://article.gmane.org/gmane.linux.gentoo.catalyst/185/match=startx
3) Impossible to startx, I had to manually create /tmp/.ICE-unix
4) no more XkbLayout in xorg.conf. I was used to parse it and replace
(sed) it by :
sed -i 's/Option *"XkbLayout" ""/Option "XkbLayout" "fr"/'
/etc/X11/xorg.conf
Now, I had to add the line in my initscript :
sed -i 's/\(XkbVariant.*$\)/\1\n\tOption\t"XkbLayout" "fr"/'
/etc/X11/xorg.conf
http://article.gmane.org/gmane.linux.gentoo.catalyst/191/match=
5) /etc/profile not sourced before starting X.
I suggested something that seems desapeared :
--- livecdfs-update.sh.orig 2005-07-14 14:02:12.000000000 -0400
+++ livecdfs-update.sh 2005-07-14 14:03:05.000000000 -0400
<at> <at> -79,7 +79,7 <at> <at>
if [ -n "${clst_livecd_users}" -a -e /etc/startx ]
then
first_user=$(echo ${clst_livecd_users} | cut -d' ' -f1)
- sed -i "s/##STARTX/su - $first_user -c startx/" /root/.bashrc
+ sed -i "s/##STARTX/su - $first_user -c \"source /etc/profile &&
startx\"/" /root/.bashrc
fi
http://article.gmane.org/gmane.linux.gentoo.catalyst/265/match=1+10+5
But is livecdfs-update.sh is it always used by catalyst ?
--
Christophe PEREZ
--
[EMAIL PROTECTED] mailing list