Mandriva

Return to the main archive index.

Custom Search

Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


roudoudou a écrit :
> Hi,
> When trying to make some rpm package, i've found valuable information
> in the initscript howto on wiki.mandriva.com (
> http://wiki.mandriva.com/en/Development/Howto/Initscripts ) . But it
> seems that there's some minor issue with this how to:
> * it seems that the status() primitive suggested
> (http://wiki.mandriva.com/en/Development/Howto/Initscripts#Second_part_-_Primitives)
>  leads to infinite recursion loop. Indeed, a status() function is
> defined in the initscript which try to call the
> /etc/rc.d/init.d/functions::status() function which it already
> redefined
there is no namespace in shell: you can not define your own status
function without replacing the one from /etc/rc.d/init.d/functions

> * looks like "echo" call should be replaced by "gprintf" ?
echo is automatically substituted by gprintf during rpm building.

-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62



Date Index | Thread Index