* [gentoo-catalyst] Some error on my first build..
@ 2006-08-22 8:10 Luca Casagrande
2006-08-22 12:22 ` Andrew Gaffney
0 siblings, 1 reply; 16+ messages in thread
From: Luca Casagrande @ 2006-08-22 8:10 UTC (permalink / raw
To: gentoo-catalyst
Hi to all!
I got this troubles while building livecd-stage2
1)During the process i got this error:
[..]
Adding games group
mv: cannot stat `/etc/gconf': No such file or directory
sed: -e expression #1, char 21: unknown option to `s'
[..]
The process go on, but i don't know if this is good or not.
2) In the livecd boot, mouse is recognized and gpm works nice, but in X no
mouse is working. I tested in 3 differents pc (with USB and PS2 input) and
the same situation happened. Synaptics is working fine.
Thank you very much
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"
LINUX User #411601
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-22 8:10 [gentoo-catalyst] Some error on my first build Luca Casagrande
@ 2006-08-22 12:22 ` Andrew Gaffney
2006-08-22 14:47 ` Luca Casagrande
0 siblings, 1 reply; 16+ messages in thread
From: Andrew Gaffney @ 2006-08-22 12:22 UTC (permalink / raw
To: gentoo-catalyst
Luca Casagrande wrote:
> Hi to all!
> I got this troubles while building livecd-stage2
>
> 1)During the process i got this error:
> [..]
> Adding games group
> mv: cannot stat `/etc/gconf': No such file or directory
> sed: -e expression #1, char 21: unknown option to `s'
> [..]
> The process go on, but i don't know if this is good or not.
This sounds like you're using 'gentoo-release-livecd' instead of
'generic-livecd' for livecd/type. The former does things that are specific to
Gentoo release LiveCDs. You probably don't want this.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-22 12:22 ` Andrew Gaffney
@ 2006-08-22 14:47 ` Luca Casagrande
2006-08-22 14:53 ` Andrew Gaffney
0 siblings, 1 reply; 16+ messages in thread
From: Luca Casagrande @ 2006-08-22 14:47 UTC (permalink / raw
To: gentoo-catalyst
Alle 14:22, martedì 22 agosto 2006, Andrew Gaffney ha scritto:
> Luca Casagrande wrote:
> > Hi to all!
> > I got this troubles while building livecd-stage2
> >
> > 1)During the process i got this error:
> > [..]
> > Adding games group
> > mv: cannot stat `/etc/gconf': No such file or directory
> > sed: -e expression #1, char 21: unknown option to `s'
> > [..]
> > The process go on, but i don't know if this is good or not.
>
> This sounds like you're using 'gentoo-release-livecd' instead of
> 'generic-livecd' for livecd/type. The former does things that are specific
> to Gentoo release LiveCDs. You probably don't want this.
Thanks for your answer!
I used:
livecd/type: generic-livecd
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"
LINUX User #411601
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-22 14:47 ` Luca Casagrande
@ 2006-08-22 14:53 ` Andrew Gaffney
2006-08-22 15:01 ` [gentoo-catalyst] Assign the user password Luca Casagrande
2006-08-22 16:48 ` [gentoo-catalyst] Some error on my first build Chris Gianelloni
0 siblings, 2 replies; 16+ messages in thread
From: Andrew Gaffney @ 2006-08-22 14:53 UTC (permalink / raw
To: gentoo-catalyst
Luca Casagrande wrote:
> Thanks for your answer!
> I used:
> livecd/type: generic-livecd
Ok. The error from 'mv' is harmless. It just means you aren't using gnome on
your CD. The sed error I don't know about. It probably means there's an invalid
sed statement somewhere in catalyst, but I don't know where.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-catalyst] Assign the user password
2006-08-22 14:53 ` Andrew Gaffney
@ 2006-08-22 15:01 ` Luca Casagrande
2006-08-22 16:50 ` Chris Gianelloni
2006-08-22 16:48 ` [gentoo-catalyst] Some error on my first build Chris Gianelloni
1 sibling, 1 reply; 16+ messages in thread
From: Luca Casagrande @ 2006-08-22 15:01 UTC (permalink / raw
To: gentoo-catalyst
Now that much of the problem are solved, I am wondering if there's a way for
setting the password of the user described in livecd-stage2.spec. I used to
chroot in it and use passwd, but i wonder if there's a way to do it with
catalyst.
Thanks
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"
LINUX User #411601
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-22 14:53 ` Andrew Gaffney
2006-08-22 15:01 ` [gentoo-catalyst] Assign the user password Luca Casagrande
@ 2006-08-22 16:48 ` Chris Gianelloni
2006-08-23 9:20 ` Luca Casagrande
1 sibling, 1 reply; 16+ messages in thread
From: Chris Gianelloni @ 2006-08-22 16:48 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]
On Tue, 2006-08-22 at 09:53 -0500, Andrew Gaffney wrote:
> Luca Casagrande wrote:
> > Thanks for your answer!
> > I used:
> > livecd/type: generic-livecd
>
> Ok. The error from 'mv' is harmless. It just means you aren't using gnome on
> your CD. The sed error I don't know about. It probably means there's an invalid
> sed statement somewhere in catalyst, but I don't know where.
Right, the mv error is fine. The sed error is an actual error that only
affects non-release builds, which is why I didn't find it before. It's
been fixed in catalyst and will show up in 2.0.1, when it is released.
Currently, it causes auto-login to not work properly for X on
non-release builds. Fixing the sed at the end of
targets/support/livecdfs-update.sh in catalyst should solve the issue.
@@ -382,7 +382,7 @@
if [ -e /etc/startx ]
then
sed -i \
- "s/##STARTX/source /etc/profile && su - ${first_user} -c
startx/" \
+ "s:##STARTX:source /etc/profile && su - ${first_user} -c
startx:" \
/root/.bashrc
fi
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Assign the user password
2006-08-22 15:01 ` [gentoo-catalyst] Assign the user password Luca Casagrande
@ 2006-08-22 16:50 ` Chris Gianelloni
2006-08-22 18:39 ` Luca Casagrande
0 siblings, 1 reply; 16+ messages in thread
From: Chris Gianelloni @ 2006-08-22 16:50 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
On Tue, 2006-08-22 at 17:01 +0200, Luca Casagrande wrote:
> Now that much of the problem are solved, I am wondering if there's a way for
> setting the password of the user described in livecd-stage2.spec. I used to
> chroot in it and use passwd, but i wonder if there's a way to do it with
> catalyst.
There's no method on catalyst. The simple answer is to do it in your
fsscript, along with any other adjustments you need to make.
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Assign the user password
2006-08-22 16:50 ` Chris Gianelloni
@ 2006-08-22 18:39 ` Luca Casagrande
2006-08-22 18:42 ` Andrew Gaffney
2006-08-23 12:19 ` Chris Gianelloni
0 siblings, 2 replies; 16+ messages in thread
From: Luca Casagrande @ 2006-08-22 18:39 UTC (permalink / raw
To: gentoo-catalyst
Alle 18:50, martedì 22 agosto 2006, Chris Gianelloni ha scritto:
> On Tue, 2006-08-22 at 17:01 +0200, Luca Casagrande wrote:
> > Now that much of the problem are solved, I am wondering if there's a way
> > for setting the password of the user described in livecd-stage2.spec. I
> > used to chroot in it and use passwd, but i wonder if there's a way to do
> > it with catalyst.
>
> There's no method on catalyst. The simple answer is to do it in your
> fsscript, along with any other adjustments you need to make.
Thx for your answer Chris...I have read a lot doc about bash, but i don't
understand how set the password of the user.
Can you post me an example?
Thanks
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"
LINUX User #411601
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Assign the user password
2006-08-22 18:39 ` Luca Casagrande
@ 2006-08-22 18:42 ` Andrew Gaffney
2006-08-23 12:19 ` Chris Gianelloni
2006-08-23 12:19 ` Chris Gianelloni
1 sibling, 1 reply; 16+ messages in thread
From: Andrew Gaffney @ 2006-08-22 18:42 UTC (permalink / raw
To: gentoo-catalyst
Luca Casagrande wrote:
> Thx for your answer Chris...I have read a lot doc about bash, but i don't
> understand how set the password of the user.
> Can you post me an example?
echo 'username:password' | chpasswd
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-22 16:48 ` [gentoo-catalyst] Some error on my first build Chris Gianelloni
@ 2006-08-23 9:20 ` Luca Casagrande
2006-08-23 12:25 ` Chris Gianelloni
0 siblings, 1 reply; 16+ messages in thread
From: Luca Casagrande @ 2006-08-23 9:20 UTC (permalink / raw
To: gentoo-catalyst
Alle 18:48, martedì 22 agosto 2006, Chris Gianelloni ha scritto:
> On Tue, 2006-08-22 at 09:53 -0500, Andrew Gaffney wrote:
> > Luca Casagrande wrote:
> > > Thanks for your answer!
> > > I used:
> > > livecd/type: generic-livecd
> >
> > Ok. The error from 'mv' is harmless. It just means you aren't using gnome
> > on your CD. The sed error I don't know about. It probably means there's
> > an invalid sed statement somewhere in catalyst, but I don't know where.
>
> Right, the mv error is fine. The sed error is an actual error that only
> affects non-release builds, which is why I didn't find it before. It's
> been fixed in catalyst and will show up in 2.0.1, when it is released.
> Currently, it causes auto-login to not work properly for X on
> non-release builds. Fixing the sed at the end of
> targets/support/livecdfs-update.sh in catalyst should solve the issue.
>
> @@ -382,7 +382,7 @@
> if [ -e /etc/startx ]
> then
> sed -i \
> - "s/##STARTX/source /etc/profile && su - ${first_user} -c
> startx/" \
> + "s:##STARTX:source /etc/profile && su - ${first_user} -c
> startx:" \
> /root/.bashrc
> fi
I have changed that part and now look like this:
if [ -e /etc/startx ]
then
sed -i \
"s:##STARTX:source /etc/profile && su - ${first_user} -c
startx:" \
/root/.bashrc
fi
But the error it's still there...
Thanks
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"
LINUX User #411601
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Assign the user password
2006-08-22 18:39 ` Luca Casagrande
2006-08-22 18:42 ` Andrew Gaffney
@ 2006-08-23 12:19 ` Chris Gianelloni
1 sibling, 0 replies; 16+ messages in thread
From: Chris Gianelloni @ 2006-08-23 12:19 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
On Tue, 2006-08-22 at 20:39 +0200, Luca Casagrande wrote:
> Alle 18:50, martedì 22 agosto 2006, Chris Gianelloni ha scritto:
> > On Tue, 2006-08-22 at 17:01 +0200, Luca Casagrande wrote:
> > > Now that much of the problem are solved, I am wondering if there's a way
> > > for setting the password of the user described in livecd-stage2.spec. I
> > > used to chroot in it and use passwd, but i wonder if there's a way to do
> > > it with catalyst.
> >
> > There's no method on catalyst. The simple answer is to do it in your
> > fsscript, along with any other adjustments you need to make.
>
> Thx for your answer Chris...I have read a lot doc about bash, but i don't
> understand how set the password of the user.
> Can you post me an example?
I just use sed to insert the password hash manually. I don't know of a
decent commandline tool for changing the password non-interactively.
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 192 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Assign the user password
2006-08-22 18:42 ` Andrew Gaffney
@ 2006-08-23 12:19 ` Chris Gianelloni
2006-08-23 12:32 ` Andrew Gaffney
0 siblings, 1 reply; 16+ messages in thread
From: Chris Gianelloni @ 2006-08-23 12:19 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
On Tue, 2006-08-22 at 13:42 -0500, Andrew Gaffney wrote:
> Luca Casagrande wrote:
> > Thx for your answer Chris...I have read a lot doc about bash, but i don't
> > understand how set the password of the user.
> > Can you post me an example?
>
> echo 'username:password' | chpasswd
...or that...
;]
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 192 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-23 9:20 ` Luca Casagrande
@ 2006-08-23 12:25 ` Chris Gianelloni
2006-08-23 12:31 ` Luca Casagrande
0 siblings, 1 reply; 16+ messages in thread
From: Chris Gianelloni @ 2006-08-23 12:25 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
On Wed, 2006-08-23 at 11:20 +0200, Luca Casagrande wrote:
> But the error it's still there...
Do you have livecd/users set?
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 192 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-23 12:25 ` Chris Gianelloni
@ 2006-08-23 12:31 ` Luca Casagrande
2006-08-24 0:10 ` Chris Gianelloni
0 siblings, 1 reply; 16+ messages in thread
From: Luca Casagrande @ 2006-08-23 12:31 UTC (permalink / raw
To: gentoo-catalyst
Alle 14:25, mercoledì 23 agosto 2006, Chris Gianelloni ha scritto:
> On Wed, 2006-08-23 at 11:20 +0200, Luca Casagrande wrote:
> > But the error it's still there...
>
> Do you have livecd/users set?
livecd/users: grass3d
Thanks
Luca
--
"Chiunque può simpatizzare col dolore di un amico, ma solo chi ha un animo
nobile riesce a simpatizzare col successo di un amico (Oscar Wilde)"
LINUX User #411601
jabber: casagrande@jabber.linux.it
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Assign the user password
2006-08-23 12:19 ` Chris Gianelloni
@ 2006-08-23 12:32 ` Andrew Gaffney
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Gaffney @ 2006-08-23 12:32 UTC (permalink / raw
To: gentoo-catalyst
Chris Gianelloni wrote:
> On Tue, 2006-08-22 at 13:42 -0500, Andrew Gaffney wrote:
>> Luca Casagrande wrote:
>>> Thx for your answer Chris...I have read a lot doc about bash, but i don't
>>> understand how set the password of the user.
>>> Can you post me an example?
>> echo 'username:password' | chpasswd
>
> ...or that...
I've been using that for the installer for ages :P
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-catalyst] Some error on my first build..
2006-08-23 12:31 ` Luca Casagrande
@ 2006-08-24 0:10 ` Chris Gianelloni
0 siblings, 0 replies; 16+ messages in thread
From: Chris Gianelloni @ 2006-08-24 0:10 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
On Wed, 2006-08-23 at 14:31 +0200, Luca Casagrande wrote:
> Alle 14:25, mercoledì 23 agosto 2006, Chris Gianelloni ha scritto:
> > On Wed, 2006-08-23 at 11:20 +0200, Luca Casagrande wrote:
> > > But the error it's still there...
> >
> > Do you have livecd/users set?
>
> livecd/users: grass3d
Strange...
$ sed -i "s:##STARTX:source /etc/profile && su - grass3d -c startx:"
~/.bashrc
$
I get no error...
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2006-08-24 0:11 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 8:10 [gentoo-catalyst] Some error on my first build Luca Casagrande
2006-08-22 12:22 ` Andrew Gaffney
2006-08-22 14:47 ` Luca Casagrande
2006-08-22 14:53 ` Andrew Gaffney
2006-08-22 15:01 ` [gentoo-catalyst] Assign the user password Luca Casagrande
2006-08-22 16:50 ` Chris Gianelloni
2006-08-22 18:39 ` Luca Casagrande
2006-08-22 18:42 ` Andrew Gaffney
2006-08-23 12:19 ` Chris Gianelloni
2006-08-23 12:32 ` Andrew Gaffney
2006-08-23 12:19 ` Chris Gianelloni
2006-08-22 16:48 ` [gentoo-catalyst] Some error on my first build Chris Gianelloni
2006-08-23 9:20 ` Luca Casagrande
2006-08-23 12:25 ` Chris Gianelloni
2006-08-23 12:31 ` Luca Casagrande
2006-08-24 0:10 ` Chris Gianelloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox