Skip to content

opkg: Don't destroy status

Ghost User requested to merge dev-michal into test

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.

Merge request reports