Mandriva Linux Archives: cooker@mandrivalinux.org
Mandriva Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Guillaume Rousse
- Subject: Re: [Cooker] please update initscript howto ( http://wiki.mandriva.com/en/Development/Howto/Initscripts )
- Date: 26 Apr 2008 19:48:00 -0000
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
- Replies:
- References:
- Prev by Date: Re: [Cooker] New Xorg packages
- Next by Date: [Cooker] Mandriva cant mount FreeBSD partitions
- Previous by thread: [Cooker] please update initscript howto ( http://wiki.mandriva.com/en/Development/Howto/Initscripts )
- Next by thread: Re: [Cooker] please update initscript howto ( http://wiki.mandriva.com/en/Development/Howto/Initscripts )
- Index(es):
