Commit Graph

17 Commits

Author SHA1 Message Date
Stephen Gallagher
0dda83fc8a ELN container: Add dnf-plugins-core
Fixes: https://github.com/fedora-eln/eln/issues/166

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-10-17 15:32:29 +00:00
Evan Goode
f7bf98d3af Revert replacing DNF with DNF5
The switch to DNF 5 has been postponed, likely to Fedora 41. See
https://pagure.io/fesco/issue/3039.

This reverts the following commits:
41a8487712
d84d3e61e0
b24aea7e68
02439d3a30
2023-08-07 17:32:41 +00:00
Evan Goode
d84d3e61e0 Replace dnf with dnf5 2023-06-29 18:32:51 +00:00
Stephen Gallagher
101c5ac63a
ELN: drop unneeded GPG keys
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-02-08 10:29:04 -05:00
Stephen Gallagher
e686ccb4e9
Nonexistent /run/nologin should not fail compose
If the file was not present, the command would fail and the compose
would not proceed.

This is currently blocking container base image generation for ELN.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-21 16:04:05 -05:00
Stephen Gallagher
fc62a6121f Fix rpm GPG import for ELN
ELN needs to import the current key as well as keys a few releases
back, since it doesn't (currently) re-sign at Fedora branching.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-20 18:52:11 +00:00
Stephen Gallagher
059e045353
ELN: Sync with fedora-container-base.ks
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-12-10 08:49:15 -05:00
Stephen Gallagher
ed73e0d383
Don't exclude cracklib from ELN container image
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-04-28 21:13:10 -04:00
Jan Kaluza
e4ab607fef ELN: Do not install fedora-repos-modular.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-19 16:20:49 +02:00
Jan Kaluza
2cccb19296 ELN: The 'eln-modular' repo is not installed anymore.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-19 11:05:20 +02:00
Jan Kaluza
f24970217d ELN: Install fedora-release-eln instead of fedora-release-container.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 16:23:13 +02:00
Jan Kaluza
033152db6a ELN: Do not remove /run/nologin, it does not exist in ELN image.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 13:30:31 +02:00
Jan Kaluza
0d53f9ce6c ELN: Move %post scripts from --nochroot %post to normal %post.
The scripts changing the image were wrongly run in --nochroot
%post section. This commit fixes it by simply moving it from
--nochroot %post to normal chroot %post.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 10:22:31 +02:00
Jan Kaluza
356cc544f8 Enable ELN only repositories in ELN container.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-09 14:47:50 +00:00
Jan Kaluza
c0a6e1066b Fix wrong copy-paste in fedora-eln-container-base.ks.
The previous commit was supposed to merge fedora-container-common.ks
into fedora-eln-container-base.ks. I probably copy-pasted wrong
fedora-eln-guest.ks part there instead of the fedora-container-common.ks.

In this commit I'm fixing that.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-09-22 20:15:46 +02:00
Jan Kaluza
791b8bdffa Do not use fedora-container-common.ks in fedora-eln-container-base.ks
The Fedora ELN container is special in a way that the "%{fedora}"
RPM macro is not defined there. This breaks the Fedora ELN container
build, because fedora-container-common.ks expects this macro to exist.

This commit merges fedora-container-common.ks into
fedora-eln-container-base.ks and hardcodes Fedora 34 GPG key there.

The fedora-eln-container-base.ks will be updated once we move to
newer Fedora.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-09-18 13:35:14 +00:00
Jan Kaluza
c812d3d34f Add Fedora-ELN base container image kickstart.
It seems we will need different set of packages Fedora-ELN base
container image and therefore we need new kickstart file for it.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-09-16 12:24:38 +02:00