#74 Support for installing required packages on Atomic
Merged by astepano. Opened by psss.
psss/standard-test-roles dependencies  into  master

Download 74.patch

It seems the need for installing extra packages to satisfy test
dependencies is quite common. Despite using rpm-ostree is probably
not a completely clear solution I believe we should make this
option available. This commit adds support to the beakerlib role.

Not the best approach. Why:
For each installed package you invoke immediately "livefs".
For each installed package you create a layer, snapshot.
For example if you have 20 packages: there be 20 layers, (snapshots) for Atomic.

Better approach is to divide in two parts: 1) installing all packages + 2) activate them.

1 new commit added

  • Improve package installation on Atomic

Thanks for the suggestion, Andrei. I've improved the patch to only
call the rpm-ostree commands once and only if necessary. The docs
have been updated as well. Please, review. Thanks.

@psss
Updated PR seems fine for me. But,
Could you please update it, and keep only one commit?
Currently PR has 2 commits: the old one + the new one.
push one commit with --force to forks/psss/standard-test-roles dependencies.

Thanks.

rebased onto 15ceacf95b20376d95470a0caa77d8ffcca78fe6

Thanks for the review, Andrei.
Commits have been squashed.

Pull-Request has been merged by astepano

Metadata