vc - do not break hardlinks
some packages like kernel use hardlinks for changelogs
vc breaks it - this patch address it
hm, don't like it much since it is no atomic operation anymore.
Also, where do you use vc? OBS interface does not support hardlinks either, so where would this be useful?
- It wasn't much atomic operation before unless you have /tmp in same filesystem as your package. If you know how to atomically update hardlink, please tell me and I'll update the patch. Otherwise this fixes bug which is not corner case compared to requirement of atomic operation.
- vc is called from
osc vcwhich is used quite a lot - As I already said, kernel-* packages use that for changelogs in all SLE products.
I have to investigate, which part of the tools we use is responsible for doing hardlinks.
Also, where do you use vc? OBS interface does not support hardlinks either, so where would this be useful?
It seems that hardlinking is done on our side for the changelogs - if the changelogs are identical on package creation, we make them hardlinks. After that editing one causes editing all.