1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-14 21:03:08 +00:00
Commit Graph

2553 Commits

Author SHA1 Message Date
Debarshi Ray
0d99c64eb2 container-toolbox: Use 'toolbx' as VARIANT_ID in os-release(5)
This is meant to distinguish OCI containers and images that are designed
specifically for Toolbx from others.  Toolbx containers are long-lasting
pet containers for interactive command line use, which makes them
substantially different from short-lived containers running services.

Therefore, it can be useful to be able to identify Toolbx containers and
images when generating statistics about Fedora usage.

https://pagure.io/Fedora-Council/tickets/issue/449
https://pagure.io/fedora-kickstarts/pull-request/1015
2024-02-13 19:10:14 +00:00
Michal Hlavinka
d6c06a16f9 replace iotop with iotop-c
iotop was retired, replaced with iotop-c
see https://fedoraproject.org/wiki/Changes/Replace_iotop_with_iotop-c
2024-02-07 20:15:43 +01:00
Adam Williamson
268181498d Replace all 'wget' with 'wget2-wget': Wget2asWget Change
Per https://fedoraproject.org/wiki/Changes/Wget2asWget , wget
has been retired from Rawhide and replaced by wget2-wget.

I think kickstarts *do* resolve Provides so this probably works
okay as-is, but it seems clearer to update the name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-31 09:17:37 -08:00
Neal Gompa
f70868470d kde: Add kde-spin-initial-setup to ensure we retain firstboot wizard
The initial-setup packages for firstboot were split into their own
comps group that ensures initial-setup-gui is configured to use
kwin as the Wayland compositor.
2024-01-04 12:02:57 -05:00
Ian Wienand
eab4fdc148
fedora-container-toolbox: drop systemd
Since change 48e2c3b559 this kickstart
is pulling in systemd.

This was noticed because since
49306cb6ea started bringing in
weak-dependencies, we started installing systemd-resolved is which
created a symlinked /etc/resolv.conf in the image.  Toolbox will not
currently reset this on container start, as it is a symlink (this
behaviour is a bit complicated; see [1]).  This leads to an
incompatability running the toolbox on *non* systemd-resolved hosts
(e.g. RHEL9); you are left with a dangling symlink and no
name-resolution in the toolbox.

We do not want systemd in the toolbox image by default it; remove it
from the list.  Exclude systemd-resolved specifically, so if something
else brings in systemd we still don't include this.

[1] https://github.com/containers/toolbox/issues/1410
2023-12-18 10:00:13 +11:00
Neal Gompa
c245ee3524 Use "systemctl set-default" to set the default target
This mimics what people actually are supposed to do on
running systems.
2023-11-19 22:26:23 -05:00
Debarshi Ray
c0884eadaf container-toolbox: Sprinkle some comments
https://pagure.io/fedora-kickstarts/pull-request/1008
2023-10-31 01:34:49 +01:00
Debarshi Ray
8e97664cb7 container-toolbox: Synchronize the tests with the Container/Dockerfile
The same changes were made to the Container/Dockerfile equivalent of the
fedora-toolbox OCI images in recent times [1, 2, 3].

[1] Toolbx commit 20188a097a1a7a16
    https://github.com/containers/toolbox/commit/20188a097a1a7a16
    https://github.com/containers/toolbox/pull/1384

[2] Toolbx commit e41d920dd9a847cc
    https://github.com/containers/toolbox/commit/e41d920dd9a847cc
    https://github.com/containers/toolbox/pull/1390

[3] Toolbx commit 9b5313e5a76c9278
    https://github.com/containers/toolbox/commit/9b5313e5a76c9278
    https://github.com/containers/toolbox/pull/1394

https://pagure.io/fedora-kickstarts/pull-request/1008
2023-10-31 01:34:45 +01:00
Debarshi Ray
7725ee859c container-toolbox: Restore the tests
The tests can't be run inside the '%post --nochroot' section because
the paths being tested don't include the /mnt/sysimage prefix.  The
tests must be run in the %post section without --nochroot so that they
are run inside the chroot environment.

The translations for the RPM manuals were removed upstream during the
RPM 4.19 development cycle [1].  So, replace them with rpm2cpio(8),
which is another popular command shipped by the rpm package.

[1] RPM commit 4df74a9644b18136
    https://github.com/rpm-software-management/rpm/commit/4df74a9644b18136
    https://github.com/rpm-software-management/rpm/pull/2245

https://pagure.io/fedora-kickstarts/pull-request/1008
2023-10-31 01:34:40 +01:00
Luya Tshimbalanga
53e29feb51 Drop unmaintained gnome-photos 2023-10-26 22:47:26 +00:00
Chihurumnaya Ibiam
94361299b0 Add xfce-polkit to SOAS
Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
2023-10-26 21:49:02 +00:00
Debarshi Ray
744a9fd9aa container-toolbox: Add psmisc
It's currently being pulled in as a dependency of iproute.  However,
since it's explicitly mentioned in the list of default packages on
Fedora Silverblue and Workstation [1], it should be mentioned here too.

The same change was also made to the Container/Dockerfile equivalent of
the fedora-toolbox OCI images [2].

[1] fedora-comps commit e4ed54dfcc497fd0
    https://pagure.io/fedora-comps/c/e4ed54dfcc497fd0
    https://pagure.io/fedora-comps/pull-request/379

[2] Toolbx commit e41d920dd9a847cc
    https://github.com/containers/toolbox/commit/e41d920dd9a847cc
    https://github.com/containers/toolbox/pull/1390

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
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