Re: F36 Change: Relocate RPM database to /usr (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 29, 2021 at 4:03 PM Ben Cotton <bcotton@xxxxxxxxxx> wrote:
>

(snip)

>
> == Detailed Description ==
> === Current location ===
> <pre>/var/lib/rpm</pre>
>
> === New location ===
> <pre>/usr/lib/sysimage/rpm</pre>
>
> <code>/var/lib/rpm</code> will be a symlink pointing to
> <code>/usr/lib/sysimage/rpm</code>

I did not find a mention of this in the thread or in the Change
proposal, so I'll ask:
How do you plan to handle the directory -> symlink replacement on upgrade?

As far as I can tell, those always required special treatment via
%pretrans scriptlets or something, and even the method currently
recommended by the Packaging Guidelines seems to be broken due to the
way dnf / RPM verifies validity of transactions.

Additionally, that "special" handling will probably need to stay in
the RPM package's .spec file for years, given that upgrades from
Fedora 34 to 36 will need to be supported.

Fabio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux