one more:
echo linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,')

linux-image-rtai

So I guess it checks for what type of RTOS you have installed(? rtai, 
rt-preempt, or xenomai) then invokes an install.


On 04/08/2015 11:41 AM, Kirk Wallace wrote:
> On 04/08/2015 11:27 AM, Rick Lair wrote:
>> Or can I just run that command,
>>
>> aptitude -t wheezy-backports install linux-image-$(uname -r|sed
>> 's,[^-]*-[^-]*-,,')
>>
>>
>>     and it will apply it to my current kernel.
>>
>>
>> Rick
>
> Just for fun, I tried:
> uname -a
>
> and got:
> Linux mercury 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010
> i686 GNU/Linux
>
> then:
> uname -r
>
> 2.6.32-122-rtai
>
> then:
> uname -r | sed 's,[^-]*-[^-]*-,,'
>
> rtai
>
>


-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to