trying to get started with 0.6.3

T.Michael Turney tmiket at recipes4linux.com
Tue Dec 8 22:39:23 GMT 2009


>
>> Q.3) I have grabbed the upstart source from an ARM target running
>> Ubuntu karmic (and ended up with 0.6.3).  With only specifying --prefix=
>> on the configure line, should I be able to build a bootable /sbin/init?
>>
> Yes.  Provided you put config files in ${prefix}/etc ... which is not
> where the existing /sbin/init was looking for them.
>
>
> If it's any help, the Ubuntu packages are built with:
>
>   ./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc
> --localstatedir=/var/lib
>
> The --sysconfdir is probably the one you're missing - though you should
> get prefix and exec-prefix right too
>
> Scott
> --

Thanks Scott, using same configuration line as you specify above,
I can now boot my board with my own version of /sbin/init.
Let the fun begin now!
Cheers,
T.mike





More information about the upstart-devel mailing list