AOSC-Archive / AOSC-LiveKit

Installer for AOSC OS
1 stars 1 forks source link

cpw.sh is not run by the Installer... #1

Closed MingcongBai closed 10 years ago

MingcongBai commented 10 years ago

As in title.

I've read through the code and I do suspect that the SetUserPass and SetRootPass were not run by the installer.

xiangzhai commented 10 years ago

let me see see :)

MingcongBai commented 10 years ago

Look at line 137, I highly suspect that it's not connected. I've changed that locally and now testing...

MingcongBai commented 10 years ago

Sad... SEGFAULT after adding two corresponding connect string.

xiangzhai commented 10 years ago

sudo chroot /target /usr/bin/cpw.sh username password 这样的格式?

MingcongBai commented 10 years ago

Correct but I don't think it's been run by the installer, possibly it was not called anywhere.

Sent from my iPad

On Apr 28, 2014, at 10:19 PM, ɬÍÃ×Ó Leslie notifications@github.com wrote:

sudo chroot /target /usr/bin/cpw.sh username password

¡ª Reply to this email directly or view it on GitHub.

MingcongBai commented 10 years ago

Issue confirmed. We need to discard parallelism in cpw.sh phrase or simply let it sleep for about a minute. Any ideas on how to do it? @xiangzhai @Trickness

xiangzhai commented 10 years ago

QJade滴process类 https://github.com/AOSC-Dev/QJade/blob/master/src/process.h#L41

有finished信号

MingcongBai commented 10 years ago

问题解决了,之前 expect 没有制定 LANG=C 结果超时...... 一会关闭问题

Sent from my iPad

On Apr 29, 2014, at 7:14 PM, 涩兔子 Leslie notifications@github.com wrote:

QJade滴process类 https://github.com/AOSC-Dev/QJade/blob/master/src/process.h#L41

有finished信号

— Reply to this email directly or view it on GitHub.