[Rpm-maint] [rpm-software-management/rpm] Support relocatable packages in Lua scriptlets too (#1531) (PR #1892)

Panu Matilainen notifications at github.com
Thu Jan 20 14:08:24 UTC 2022


Pass relocatable package prefixes as RPM_INSTALL_PREFIX Lua table
to Lua scriptlets, add a test-case.

In Lua, indexes start at 1 rather than 0, so the numbers appear
off by one which is annoying, but consistent within Lua and our other
similar Lua constructs.

Fixes: #1531
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1892

-- Commit Summary --

  * Support relocatable packages in Lua scriptlets too (#1531)

-- File Changes --

    M docs/manual/lua.md (4)
    M lib/rpmscript.c (15)
    M tests/Makefile.am (1)
    A tests/data/SPECS/reloc.spec (31)
    M tests/rpmi.at (31)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1892.patch
https://github.com/rpm-software-management/rpm/pull/1892.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1892
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1892 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220120/f0f113a5/attachment.html>


More information about the Rpm-maint mailing list