Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: helander on July 16, 2009, 01:33:00 PM

Title: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 16, 2009, 01:33:00 PM
I am pretty sure that in the past (earlier versions of TC) the chrt program (supported by busybox) was available.
Now it does not seem to be available any longer (I guess it has been removed from the busybox binary in TC).

Is this correct that it has been removed?

It is an essential tool for me so I have to bring it in somehow.

So either I have to bring in the standard chrt program or build my own busybox.
The former is probably easiest but I am also keen on having the ability to build my own
busybox.

I guess that the busybox for TC is configured/built in some special way to suit the needs for TC and I would like to use the same configuration as a starter for my own busybox.

Could anyone provide the info on how to configure/build a busybox that would be TC "compliant" ?

Kind Regards

Lars
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: roberts on July 16, 2009, 01:40:23 PM
busybox bbconfig will display the .config file used by TC.
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 16, 2009, 02:47:00 PM
Great. Thanks.

I have downloaded all the stuff from busybox.net and now I have the missing piece to build a TC "compliant" busybox with chrt supported.

Kind Regards

Lars
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 16, 2009, 03:16:59 PM
Hi again,

I just wanted to let you know that I built my own busybox, with chrt included.
Once it was built I just copied my new busybox binary over the one I had in the running system and then issued

    busybox chrt

and it all went fine.

 :) :) :)

Thanks for your help

Lars
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: roberts on July 16, 2009, 03:19:36 PM
Glad to hear. So you have a real time system?
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 16, 2009, 03:22:15 PM
Yes, I have a realtime system.
I keep the kernel up to date with the latest available RT patches.

/Lars
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 16, 2009, 03:42:04 PM
Just a  note. The busybox bbconfig command was not available on the system I was running (TC 2.2rc1) so I downloaded the latest config available at http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/release/src.

/Lars
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 17, 2009, 11:51:14 AM
Would it be possible to include "busybox chrt" in the standard TC in some coming release?

/Lars
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: roberts on July 17, 2009, 05:33:15 PM
Yes, it is a small enough delta.
Title: Re: chrt no longer available - OR _ how do I build my own busybox?
Post by: helander on July 17, 2009, 05:58:10 PM
Great. Thanks.

/Lars