[Rpm-maint] [rpm-software-management/rpm] Host specific %_install_langs affects --root <customdir> installation (Issue #2623)
Michal Domonkos
notifications at github.com
Tue Oct 24 15:07:44 UTC 2023
> That's why I said you'd need to supply all the desired files yourself when using this CLI option as there's no way to just prepend/append paths to it.
Just to illustrate better how one could use this (in order to achieve your original objective):
```
# dnf install --releasever=38 --installroot=/rootfs rpm
[...]
# echo '%_foobar 123' > /etc/rpm/macros.foobar
# echo '%_foobar 456' > /rootfs/etc/rpm/macros.foobar
# rpm --eval '%_foobar'
123
# rpm --root /rootfs --eval '%_foobar'
123
# rpm --macros /rootfs/etc/rpm/macros.foobar --eval '%_foobar'
456
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2623#issuecomment-1777441264
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2623/1777441264 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231024/38185dec/attachment.html>
More information about the Rpm-maint
mailing list