[Rpm-maint] [rpm-software-management/rpm] Run test-suite environment setup inside the image (PR #3531)

Panu Matilainen notifications at github.com
Thu Jan 23 08:37:42 UTC 2025


Commit c17cc691569040fdfd741c2a423e9efecde181b0 introduced an `rpmdb --initdb` call into test-suite make_install() but at that point, it's actually the rpm from the host, which is NOT what we want.

Split the image preparation to two stages: install, which runs from the outside and basically just copies data into the image, and setup which runs from inside the image. For this we need some extra container gymnastics.

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

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

-- Commit Summary --

  * Run test-suite environment setup inside the image

-- File Changes --

    M tests/CMakeLists.txt (1)
    M tests/mktree.common (23)
    M tests/mktree.oci (8)
    M tests/mktree.rootfs (1)
    A tests/setup.sh (25)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3531 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250123/ea4134b4/attachment.htm>


More information about the Rpm-maint mailing list