Commit Graph

2541 Commits

Author SHA1 Message Date
Debarshi Ray d6aac886a0 container-toolbox: Use vim-minimal, not vim-enhanced
Fedora Silverblue and Workstation, and hence the Container/Dockerfile
equivalent of the fedora-toolbox OCI images, contain vim-minimal by
default, not vim-enhanced.  This is because the default editor is GNU
nano, not Vim.

https://bugzilla.redhat.com/show_bug.cgi?id=2244503
https://pagure.io/fedora-kickstarts/pull-request/1003
2023-10-25 18:31:29 +02:00
Debarshi Ray 30f76d387d container-toolbox: Install all languages (part 2)
This is a continuation from commit 69555b7b91, which tried to
ensure that all languages are present in the fedora-toolbox OCI image by
removing --inst-langs=en from fedora-container-toolbox.ks.  Sadly, this
wasn't enough.

The image was still missing various localization bits like translations
for programs and manuals.  All translations for all programs, such as
LC_MESSAGES and LC_TIME, were missing, except for those coming from
glibc-all-langpacks.  eg., see:
  $ LANG=cs_CZ.UTF-8 cp foo bar
  cp: cannot stat 'foo': Adresář nebo soubor neexistuje

Only the part coming from glibc is translated.  The part coming from
coreutils isn't.  There are lots and lots of such packages.  eg., bash,
coreutils, dnf, grep, rpm, sed, tar, etc..

Any package with translated manuals marked with %lang() in their %files
section were missing them.  eg., man-db, passwd, psmisc, etc..

Finally, even though the %pre section in fedora-container-toolbox.ks
removes %_install_langs from /etc/rpm/macros.image-language-conf, it was
still set to en_US in the final image.

This was happening because fedora-container-toolbox.ks includes
fedora-container-common.ks, and some unintended bits from the latter
were leaking into the fedora-toolbox OCI image's build.

The image was still being built with '%packages --inst-langs=en',
possibly since fedora-container-common.ks has '%package --instLangs=en'.
That option wasn't just being applied to the packages being installed by
fedora-container-common.ks, but also to those being installed by
fedora-container-toolbox.ks [1].

Secondly, fedora-container-common.ks sets %_install_langs to en_US in
its %post section.  This will strip out all non-English languages from
future RPM transactions in containers created from the image.

To address this, fedora-container-toolbox.ks has now been decoupled from
fedora-container-common.ks, by copying over the relevant bits.

[1] https://koji.fedoraproject.org/koji/buildinfo?buildID=2311452
    https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Toolbox/Rawhide/20231025.n.0/images/fedora-container-toolbox.ks
    https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Toolbox/Rawhide/20231025.n.0/images/koji-f40-build-108073454-base.ks
    https://kojipkgs.fedoraproject.org//packages/Fedora-Container-Toolbox/Rawhide/20231025.n.0/data/logs/image/oz-aarch64.log

https://bugzilla.redhat.com/show_bug.cgi?id=2244503
https://pagure.io/fedora-kickstarts/pull-request/1002
2023-10-25 18:25:45 +02:00
Carlos O'Donell 04e1ba3b6e Only base containers should have tzdata
The base container should always install tzdata to ensure that it is
available for applications built on top of the base container.

The minimal container should never have tzdata installed, and the
application should install it as part of the application dependencies.

Starting with Fedora 39 we have the capability to remove tzdata from
the minimal images without resorting to deleting files:
https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
2023-10-24 07:33:29 -04:00
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
Debarshi Ray 69555b7b91 container-toolbox: Install all languages
The Container/Dockerfile equivalent of the fedora-toolbox OCI images
installed all languages by removing %_install_langs (set to en_US by the
fedora base image) from /etc/rpm/macros.image-language-conf [1].  The
Kickstart does the same in the %pre section.

Therefore, it's self-contradictory to have '%packages --inst-langs=en'.

The fedora-toolbox OCI image is meant for interactive command line
environments, not for deploying server applications.  Therefore, they
need a fully featured CLI user experience at par with what's offered on
Fedora Silverblue and Workstation.  Among the Kickstart files defined
here, other than fedora-container-toolbox.ks, only these ones don't
install all languages:
  * fedora-cloud-base.ks
  * fedora-container-base-minimal.ks
  * fedora-container-base.ks
  * fedora-container-common.ks
  * fedora-eln-container-base.ks
  * fedora-server-vm-full.ks

All the other Kickstarts, and definitely those for Fedora Workstation,
install all languages.

[1] https://src.fedoraproject.org/container/fedora-toolbox
    https://github.com/containers/toolbox/tree/main/images/fedora

https://bugzilla.redhat.com/show_bug.cgi?id=2244503
https://pagure.io/fedora-kickstarts/pull-request/997
2023-10-16 19:14:17 +02:00
Debarshi Ray 49306cb6ea container-toolbox: Include weak dependencies
The Container/Dockerfile equivalent of the fedora-toolbox OCI images
didn't exclude weak dependencies [1] so the Kickstart shouldn't either.

The fedora-toolbox OCI image is meant for interactive command line
environments, not for deploying server applications.  Therefore, they
need a fully featured CLI user experience at par with what's offered on
Fedora Silverblue and Workstation.  Among the Kickstart files defined
here, other than fedora-container-toolbox.ks, only these ones exclude
weak dependencies:
  * fedora-container-base-minimal.ks
  * fedora-container-base.ks
  * fedora-container-common.ks
  * fedora-eln-container-base.ks
  * fedora-modular-disk-minimal.ks

None of the other Kickstarts, and definitely not those for Fedora
Workstation, exclude weak dependencies.

As a concrete example, the default-editor meta RPM relies on Recommends
for its functionality [2].

[1] https://src.fedoraproject.org/container/fedora-toolbox
    https://github.com/containers/toolbox/tree/main/images/fedora

[2] fedora nano commit e53ee57baa33a1d8
    https://src.fedoraproject.org/rpms/nano/c/e53ee57baa33a1d8
    https://src.fedoraproject.org/rpms/nano/pull-request/7
    https://bugzilla.redhat.com/show_bug.cgi?id=1955884

https://pagure.io/fedora-kickstarts/pull-request/995
2023-10-16 06:39:34 +00:00
Chihurumnaya Ibiam 3409578950
Update maintainer email
Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
2023-10-13 13:33:40 +01:00
Debarshi Ray f10385252a container-toolbox: Fix typo between %pre and %post
The snippet to fix the /run/lock breakage and the lines following it
were copied from the first %post section in fedora-container-base.ks.
However, the %end marker to terminate the previous %pre section, and the
starting %post marker went missing in fedora-container-toolbox.ks

https://pagure.io/fedora-kickstarts/pull-request/993
2023-10-06 02:59:50 +02:00
Debarshi Ray 0087ea3b3f container-toolbox: Use default-editor, not nano-default-editor
In Fedora 33, nano-default-editor was introduced to make GNU nano the
default editor [1].  After a year, it was found out that it breaks
upgrades across Fedora releases if the user had chosen some other editor
as the default [2].

The difference doesn't matter here because the fedora-toolbox OCI image
is being created from scratch without involving any upgrades.  However,
since fedora-comps was switched to default-editor [3], it's better to
do the same and stay consistent.  If nothing else, it won't make the
reader stop and ponder if there's any real reason that it was done
differently for the fedora-toolbox image.

[1] fedora nano commit cf1ce689f154d0a1
    https://src.fedoraproject.org/rpms/nano/c/cf1ce689f154d0a1
    https://src.fedoraproject.org/rpms/nano/pull-request/1
    https://fedoraproject.org/wiki/Changes/UseNanoByDefault

[2] fedora nano commit e53ee57baa33a1d8
    https://src.fedoraproject.org/rpms/nano/c/e53ee57baa33a1d8
    https://src.fedoraproject.org/rpms/nano/pull-request/7
    https://bugzilla.redhat.com/show_bug.cgi?id=1955884

[3] fedora-comps commit 3496ed634cf452da
    https://pagure.io/fedora-comps/c/3496ed634cf452da
    https://pagure.io/fedora-comps/pull-request/663
    https://bugzilla.redhat.com/show_bug.cgi?id=1955884

https://pagure.io/fedora-kickstarts/pull-request/992
2023-10-06 01:03:57 +02:00
Odilon Sousa 5a2c67dbf7 Add xfce-polkit to i3-Spin
This fix https://bugzilla.redhat.com/show_bug.cgi?id=2240823 and https://pagure.io/i3-sig/Fedora-i3-Spin/issue/68
2023-09-26 16:57:32 -03:00
Jeremy Linton ffd1a4f387 fedora-live-base: Exclude sdubby from live installs
systemd-boot is not yet supported on live media. Yet we
want it to appear on images where anaconda is installing
a system from RPMs (ex: the server dvd image).
The fix for this problem at the moment is to exclude anaconda
packages during the live media creation.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
2023-09-18 14:44:33 -05:00
Adam Williamson a468873f9a Bump root partition size for KDE live
The aarch64 KDE live image build is failing due to lack of space:
https://kojipkgs.fedoraproject.org//work/tasks/6017/105476017/livemedia-out.log
so let's bump it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-29 13:15:50 -07:00
Adam Williamson cb5067475b Security: exclude default-fonts-core-math
See a90d590e00 - this is the same
fix, for the security image. As with LXDE, since
https://fedoraproject.org/wiki/Changes/ImproveDefaultFontHandling
we need to also drop default-fonts-core-math if we want to drop
stix-fonts, or the image build fails.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-29 19:44:14 +00:00
Adam Williamson 5fec4c4ee1 Drop python3-spyder from astronomy_kde and scientific
It is FTI with Python 3.12, and fixing it requires handling two
rather complex dependency chains:
https://bugzilla.redhat.com/show_bug.cgi?id=2220598
so it's not going to be fixed overnight. Let's drop it from the
spins for now to get them building again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-29 12:18:37 -07:00
Kevin Fenzi 58c856ae88 Revert "Revert "Turn on anaconda-webui for workstation""
This reverts commit 53584f236d.

Now we have things working again we want to give this another go in
rawhide. So, revert the revert you revert.
2023-08-22 18:02:23 -07:00
Adam Williamson 53584f236d Revert "Turn on anaconda-webui for workstation"
This reverts commit ce5b31416f.
The anaconda update with the webUI changes is failing tests,
and we do not have time to resolve this right away. We can't
leave this in place without also pushing the anaconda update
stable and adjusting the openQA tests, so let's revert it for
now so tests pass on other updates, until we can come back and
clean up the webUI stuff tomorrow.
2023-08-21 17:36:31 -07:00
Ray Strode ce5b31416f Turn on anaconda-webui for workstation 2023-08-21 11:26:37 -04:00
Mamoru TASAKA 01a66b8b9d F40 LXDE: remove midori from kickstart
midiri got retired on F-40: 450c4d62d2
remove this from kickstart.
2023-08-21 14:48:42 +09:00
Mamoru TASAKA a90d590e00 F40 LXDE: exclude default-fonts-core-math
LXDE already excluded math related stix-fonts to save space.

Now with https://fedoraproject.org/wiki/Changes/ImproveDefaultFontHandling ,
fonts entry on comps now includes default-fonts-core-math as default
package, so exclude this also.
2023-08-10 22:13:46 +09: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
Major Hayden fe345ff841
cloud-base: Enable tracer once more
This failed a few weeks ago because the Python 3.12 rebuild was still
going and some dependencies for tracer were missing. I'm now able to
install tracer and its dependencies in rawhide and this change should be
ready to go once more.

https://fedoraproject.org/wiki/Changes/Automatic_Cloud_Reboot_On_Updates

Signed-off-by: Major Hayden <major@redhat.com>
2023-07-20 07:58:57 -05:00
Tomas Hrcka f716f34b6d container toolbox more comments
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2023-07-12 14:51:12 +02:00
Tomas Hrcka b41eb6bd15 container toolbox - make additional packages alphabetically ordered
- disable manpage checks

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2023-07-12 12:00:53 +02:00
Samyak Jain 8eda3b701e Remove --excludedocs from toolbox, need of man pages
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2023-07-11 13:04:10 +05:30
Miro Hrončok 37c6d6a36b Exclude the previous main Python 3.11 from Python Classroom Lab 2023-07-06 14:00:25 +02:00
Kevin Fenzi 4b01281a76 cloud: drop tracer for now until it's rebuilt
Right now python3-dnf-plugins-extras is not rebuilt against python 3.12,
which causes composes to fail. Lets disable this for now and re-enable
it as soon as it's sorted out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-05 16:17:07 -07:00
Kevin Fenzi d3c38de593 toolbox: remove dnf swaps, add glibc-langpacks-all to be included.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-30 11:19:07 -07:00
Evan Goode 02439d3a30 Add dnf5-plugins to fedora-container-base.ks 2023-06-29 18:32:51 +00:00
Evan Goode b24aea7e68 Replace dnf-utils, dnf-plugins-core with dnf5-plugins 2023-06-29 18:32:51 +00:00
Evan Goode d84d3e61e0 Replace dnf with dnf5 2023-06-29 18:32:51 +00:00
Evan Goode 41a8487712 Replace microdnf with dnf5 2023-06-29 18:32:51 +00:00
Major Hayden eba3a2bb43 cloud base: Add python3-dnf-plugin-tracer
This PR implements the automatic cloud reboots change written here:
https://fedoraproject.org/wiki/Changes/Automatic_Cloud_Reboot_On_Updates
2023-06-29 00:18:22 +00:00
Kevin Fenzi e095131572 toolbox: drop standard and core from toolbox
standard pulls in sssd
core pulls in sssd-common
both of those pull in sssd-client, which is excluded in container-common
(to minimize size/deps).

If we need these, we can look at another solution.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-28 13:11:39 -07:00
Samyak Jain 48e2c3b559 init: kickstart for fedora-container-toolbox
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2023-06-21 12:16:19 +05:30
Jens Petersen 13cc5064a6 container-base: drop fedora-repos-modular
https://fedoraproject.org/wiki/Changes/No_default_fedora-repos-modular
2023-06-16 16:48:35 +00:00
Luya Tshimbalanga f7a4600d63 Drop deja-dup-nautilus and fix favorite apps list 2023-06-15 17:09:49 -07:00
Timothée Ravier 5379721302 maintainers: Update for KDE Spin
- Add Marc Deop & Neal Gompa
- Remove Sebastian Vahl
2023-06-05 19:43:09 +02:00
Timothée Ravier c3b160775a Add maintainers for ostree desktop variants
This is used by https://pagure.io/releng/compose-tracker to ping
maintainers on failed composes issues in
https://pagure.io/releng/failed-composes

Needs: https://pagure.io/releng/compose-tracker/pull-request/54
2023-06-05 11:18:11 +02:00
Major Hayden f189c61f01
GCP: Add google-guest-agent
This is required for ssh access management along with oslogin.

Signed-off-by: Major Hayden <major@redhat.com>
2023-05-18 09:34:24 -05:00
Major Hayden a36d95e85f
GCP: Include oslogin pkg rhbz#2193039
The guest-configs package does not require oslogin any longer as
upstream dropped the requirement. Add oslogin explicitly here to ensure
it is always present for GCP images.

Signed-off-by: Major Hayden <major@redhat.com>
2023-05-17 08:22:01 -05:00
Timothée Ravier efcff0a4c2 fedora-kde-common: Install KDE PIM Apps
KDE PIM Apps were previsouly part of @kde-desktop or @kde-apps groups.
We've split them into their own group in [1] and we thus
explicitely include them here.

This should be a nop change for the KDE Spin.

[1] https://pagure.io/fedora-comps/pull-request/824
2023-03-30 15:32:32 +02:00
Davide Cavalca 28856f3e87 Drop langpacks exclusion 2023-03-27 08:43:00 -07:00
Davide Cavalca 73f8848dab Explicitly include langpacks-core-font-en for ELN
Signed-off-by: Davide Cavalca <dcavalca@fedoraproject.org>
2023-03-27 08:35:21 -07:00
Peter Boy 77aa7d21ec Fixed an incorrect delete command. 2023-03-22 23:59:52 +01:00
Peter Robinson d44791744a arm: Update Raspberry Pi config to use universal firmware
We can now use a single U-Boot firmware to boot all 64 bit variants
of the Rasperry Pi so we can now simplify this some what.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2023-03-18 18:38:00 +00:00
Stephen Gallagher 2a5abd55f5
Don't exclude langpacks-en explicitly
A recent change to Anaconda[1] now requires that this be available on
the installed system, due to grub2-tools-extra now being part of the
EFI GRUB2 install.

[1] 1891b0f306

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-15 16:30:17 -04:00
Joshua Strobl 0f52405431 Add libreoffice and thunderbird for Budgie Spin 2023-03-11 17:57:18 +02:00
Adam Williamson 89fe3c8395 Drop retired packages from scientific and games kickstarts
bibtex2html (scientific) and gl-117 (games) got retired because
they were unmaintained.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-07 17:04:28 -08:00
Adam Williamson 17178da61a Don't exclude xkeyboard-config from minimal images (#2175244)
See https://bugzilla.redhat.com/show_bug.cgi?id=2175244#c15 .
We really need libxkbcommon for initial-setup to work properly,
since an ordering change in systemd 253. This exclusion causes
it to get dropped. libxkbcommon requires xkeyboard-config; since
systemd only recommends libxkbcommon (rather than hard requiring
it), the solver decides to honor the request to exclude
xkeyboard-config by dropping both it and libxkbcommon.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-06 16:51:59 -08:00
Peter Robinson fae2f44160 clean up some armhfp remnants
There's a few bits of armhfp dregs hanging around so lets
clean them up as they're no longer used.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2023-02-28 10:39:14 +00:00