opkg: Don't destroy status
Files
3+ 71
− 0
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Don't destroy /usr/lib/opkg/status if opkg crashes during writing of that file.
This is for #25. I may try pushing the patch to upstream later, after this is reviewed.
It should be quite simple and straight-forward (it is first stored to /usr/lib/opkg/status.tmp
and then moved. The move is atomic on the OS level.