drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

where to find../installer/functions #59

Closed tonyxue closed 9 years ago

tonyxue commented 9 years ago

Hi,

there's a line in croutonpowerd : . "dirname "$0"/../installer/functions" But while I am manually porting opensuse to crouton and running xinit, it returned:


setversion 1.4 failed
/usr/local/bin/croutonxinitrc-wrapper: line 52: croutonpowerd: command not found
/usr/local/bin/croutonxinitrc-wrapper: line 68: xbindkeys: command not found
/usr/bin/xinit: connection to X server lost

and after running croutonpowerd seperately, it returned /usr/local/bin/croutonpowerd: line 25: /usr/local/bin/../installer/functions: No such file or directory

It's definitely something I have missed during the manual setup, so how to solve this?

drinkcat commented 9 years ago

croutonpowerd is normally installed from a target file, using installscript function in installer/functions, which replaces . "dirname "$0"/../installer/functions" by the content of installer/functions (dropping everything before the line that says ### Everything after this line will be statically inserted into scripts.).