On 3/10/25 11:30 AM, Daniel P. Berrangé wrote:
On Mon, Mar 10, 2025 at 10:26:12AM +0100, Miroslav Suchý wrote:
Dne 10. 03. 25 v 10:22 dop. Daniel P. Berrangé napsal(a):
Did something change in cpio, or has it always been broken for regular file
to directory replacement too, and our docs were thus always incomplete ?

It was always this way.

The same for replacing a file with symlink. Or vice versa.

Ok, so the packaging docs should say that /any/ change in file type between
dir, regular & symlink needs special handling with lua scriptlets. I'll see
about submitting a docs patch.

Basically, if there's a directory involved, it can't be replaced on way or the other. A symlink to a directory is treated as a directory, so that counts. Otherwise file types can change.

Looking at this thread, rpm isn't detecting all the cases as conflicts as it should.

        - Panu -

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to