Please help me build successfully...stuck at chroot build

209 views
Skip to first unread message

Umesh

unread,
May 18, 2011, 4:54:35 PM5/18/11
to Chromium OS discuss
I am stuck trying to rebuild chromiumos...

Here is my story: I have successfully built it a few times, but ran
out of disk space on my home folder. As such, I had to relocate the
sources to a new mount (/media/Home). I have a symbolic link from home
folder chromiumos to the new mount point...and see to go through until
this point...

The problem is that (as indicated in the chromiumos build
instructions) - having the sources outside of home folder is a problem
with trunk build for chroot...

any suggestions?

Here is the log -

--------------------------------
/home/usathyan/.bash_profile: line 8: cd: trunk/src/scripts: No such
file or directory
/home/usathyan/.bash_profile: line 9: bash_completion: No such file or
directory
sudo: must be setuid root
sudo: must be setuid root
/home/usathyan/trunk/src/scripts/run_chroot_version_hooks: line 33: /
etc/cros_chroot_version: Permission denied
INFO : Chroot of unknown version, initializing to 0
sudo: must be setuid root
sudo: must be setuid root
/home/usathyan/trunk/src/scripts/run_chroot_version_hooks: line 33: /
etc/cros_chroot_version: Permission denied
cat: /etc/cros_chroot_version: No such file or directory
ERROR : Your chroot version file /etc/cros_chroot_version is bogus:
usathyan@ubuntu:~/chromiumos/src/scripts$
---------------


Umesh Bhatt

unread,
May 18, 2011, 7:15:08 PM5/18/11
to Olof Johansson, umesh.8...@gmail.com, Chromium OS discuss

Did not relocate the sources - started new with new repo init and sync


On May 18, 2011, at 6:42 PM, Olof Johansson <ol...@chromium.org> wrote:



On Wed, May 18, 2011 at 1:54 PM, Umesh <umesh.8...@gmail.com> wrote:
 As such, I had to relocate the
sources to a new mount (/media/Home).
 
sudo: must be setuid root

sudo: must be setuid root



How did you relocate the sources? Looks like setuid bits got stripped.


-Olof

Umesh Bhatt

unread,
May 18, 2011, 7:16:21 PM5/18/11
to Olof Johansson, umesh.8...@gmail.com, Chromium OS discuss
It appears to be that make files are hardcoded to chromiumos to be in home folder only...moving the folders away from home folder has special documentation tips in the build notes...but, does not go into details...

On May 18, 2011, at 6:43 PM, Olof Johansson <ol...@chromium.org> wrote:

[again, from @chromium]

On Wed, May 18, 2011 at 3:42 PM, Olof Johansson <ol...@chromium.org> wrote:
On Wed, May 18, 2011 at 1:54 PM, Umesh <umesh.8...@gmail.com> wrote:
 As such, I had to relocate the
sources to a new mount (/media/Home).
 
sudo: must be setuid root

sudo: must be setuid root
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages