Hello,

The patch is in (r9471).

Thanks for your contribution! :)

----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Envoyé: Mercredi 12 Septembre 2012 09:48:20
Objet: [Oscar-devel] opkgc patch: allow to overwrite destination if exists.



This patch avoid oscar-packager to fail if destination already contains the 
generated rpm (same name). Upon oscar-packager failure, the destination 
/tftpboot/oscar/%ARCH% must be erased before retrying the build. 
This can be a problem when some packages have been manualy generated (using 
opkgc, build_rpm or with rpmbuild) 


This patch changes this behaviour. When opkgc has successfully generated a 
package, if destination already exists, it is removed before trying to move the 
freshly built package. 

This patch does not check if the file removing is successfull. If it fails, 
it'll fail the usual way anyway. 

Olivier. 


-- 
Olivier LAHAYE 
CEA DRT/LIST/DCSI/DIR 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to