1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-14 12:54:22 +00:00
Go to file
Debarshi Ray f2c6224ade container-toolbox: Install all languages (part 2)
This is a continuation from commit 9456429624, 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/1004
2023-10-25 20:19:51 +02:00
custom Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
l10n Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
snippets Switch all the http repos to be https. Fixes bug 2016-10-09 11:14:51 -06:00
templates Remove xorg keyboard patch in gnome based pt_PT livecd/dvd 2008-10-03 02:35:32 +01:00
tools Delete old nightly-composes script 2020-07-17 22:17:10 +00:00
.gitignore new source 0.19.2 2013-01-30 10:41:58 -08:00
AUTHORS add myself and modified design spin 2013-01-08 12:41:26 -08:00
COPYING Update .spec.in, Makefile.am and configure.ac 2009-08-03 23:45:18 +02:00
fedora-budgie-common.ks Add libreoffice and thunderbird for Budgie Spin 2023-03-11 17:57:18 +02:00
fedora-cinnamon-common.ks Cinnamon - remove parole 2022-11-29 22:50:31 -05:00
fedora-cloud-base-azure.ks cloud: add image variant for Azure 2022-08-23 07:58:10 -04:00
fedora-cloud-base-gcp.ks GCP: Add google-guest-agent 2023-05-18 09:34:24 -05:00
fedora-cloud-base-vagrant.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-cloud-base.ks cloud-base: Enable tracer once more 2023-07-20 07:58:57 -05:00
fedora-comp-neuro-common.ks feat: update comp-neuro image 2021-11-10 18:49:52 +00:00
fedora-container-base-minimal.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-container-base.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-container-common.ks Add placeholder for resolv.conf 2022-07-20 06:39:03 +00:00
fedora-container-toolbox.ks container-toolbox: Install all languages (part 2) 2023-10-25 20:19:51 +02:00
fedora-design-suite-common.ks Drop deja-dup-nautilus and fix favorite apps list 2023-06-15 17:09:49 -07:00
fedora-disk-base.ks arm: Update Raspberry Pi config to use universal firmware 2023-03-18 18:38:00 +00:00
fedora-disk-budgie.ks Add Budgie Desktop Spin 2023-01-03 22:43:20 +00:00
fedora-disk-kde.ks arm: changes for the UEFI on ARMv7 2021-02-23 19:11:15 +00:00
fedora-disk-lxqt.ks Add fedora-disk-lxqt.ks for generating disk image 2022-11-22 21:06:29 +08:00
fedora-disk-minimal.ks minor tweaks for minimal arm images 2020-11-23 15:20:14 +00:00
fedora-disk-phosh.ks phosh: Add disk kickstarts to produce image file 2023-02-03 18:31:20 +00:00
fedora-disk-python-classroom.ks arm: changes for the UEFI on ARMv7 2021-02-23 19:11:15 +00:00
fedora-disk-server.ks Remove references to zram and zram-swap 2020-07-09 23:22:28 +00:00
fedora-disk-soas.ks arm: changes for the UEFI on ARMv7 2021-02-23 19:11:15 +00:00
fedora-disk-workstation.ks Revert "Revert "Revert "Turn on anaconda-webui for workstation""" 2023-09-12 11:03:52 -07:00
fedora-disk-xbase.ks Add initial-setup-gui to fedora-disk-xbase.ks 2021-03-11 10:47:02 -05:00
fedora-disk-xfce.ks arm: changes for the UEFI on ARMv7 2021-02-23 19:11:15 +00:00
fedora-eln-container-base.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-eln-guest.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-i3-common.ks Add xfce-polkit to i3-Spin 2023-09-26 17:00:54 -03:00
fedora-iot.ks add f39 branched config 2023-08-08 17:22:01 -07:00
fedora-kde-common.ks fedora-kde-common: Install KDE PIM Apps 2023-03-30 15:32:32 +02:00
fedora-live-astronomy_kde.ks Drop python3-spyder from astronomy_kde and scientific 2023-08-29 22:19:56 +00:00
fedora-live-base.ks fedora-live-base: Exclude sdubby from live installs 2023-09-20 16:49:54 -05:00
fedora-live-budgie.ks Add Budgie Desktop Spin 2023-01-03 22:43:20 +00:00
fedora-live-cinnamon.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-comp_neuro.ks Comp-neuro lab: add new packages, remove orphaned, clean up 2021-02-15 18:33:33 +00:00
fedora-live-design_suite.ks Drop deja-dup-nautilus and fix favorite apps list 2023-06-15 17:09:49 -07:00
fedora-live-games.ks Drop retired packages from scientific and games kickstarts 2023-03-07 17:04:28 -08:00
fedora-live-i3.ks Add xfce-polkit to i3-Spin 2023-09-26 17:00:54 -03:00
fedora-live-jam_kde.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-kde-base.ks fedora-live-kde-base: %endif -> %end 2022-12-03 12:02:22 -05:00
fedora-live-kde.ks Bump root partition size for KDE live 2023-08-29 13:17:18 -07:00
fedora-live-lxde.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-lxqt.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-mate_compiz.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-minimization.ks Cleanup fedora-live-minimization some more 2022-11-07 11:56:34 -08:00
fedora-live-python-classroom.ks Revert "Python Classroom: Share disk size declaration between disk and live" 2022-03-19 10:27:59 +00:00
fedora-live-robotics.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-scientific_kde.ks Increase size of scientific-kde 2020-12-28 22:35:29 -08:00
fedora-live-security.ks Security: exclude default-fonts-core-math 2023-08-30 19:48:36 +00:00
fedora-live-soas.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-live-sway.ks Add nwg-wrapper to show installation instructions 2023-01-16 18:05:32 +01:00
fedora-live-workstation.ks Revert "Revert "Revert "Turn on anaconda-webui for workstation""" 2023-09-12 11:03:52 -07:00
fedora-live-xfce.ks Switch all live media variants to use livesys-scripts 2022-12-01 19:37:06 -05:00
fedora-lxde-common.ks F39 LXDE: exclude default-fonts-core-math 2023-08-10 22:15:02 +09:00
fedora-lxqt-common.ks Add environment for several spins 2020-11-24 22:24:27 +00:00
fedora-mate-common.ks Mate: use earlyoom instead of systemd-oomd-defaults 2022-04-01 13:02:24 +02:00
fedora-minimal-common.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-modular-disk-minimal.ks Revert replacing DNF with DNF5 2023-08-07 17:32:41 +00:00
fedora-neuro-gnome-common.ks Comp-neuro lab: add new packages, remove orphaned, clean up 2021-02-15 18:33:33 +00:00
fedora-phosh-common.ks phosh: Add disk kickstarts to produce image file 2023-02-03 18:31:20 +00:00
fedora-python-classroom-common.ks Exclude the previous main Python 3.11 from Python Classroom Lab 2023-07-06 14:00:25 +02:00
fedora-python-classroom-gnome-common.ks Python Classroom: Don't exclude java* as that matches javascriptcoregtk4 as well 2022-08-15 12:58:11 +02:00
fedora-python-classroom-vagrant.ks Added ARM version of Python Clasroom Lab 2017-02-27 21:22:09 +01:00
fedora-repo-not-rawhide.ks use mirrorlist url instead of metalink url 2017-05-13 20:28:51 -04:00
fedora-repo-rawhide.ks use mirrorlist url instead of metalink url 2017-05-13 20:28:51 -04:00
fedora-repo.ks add f39 branched config 2023-08-08 17:22:01 -07:00
fedora-scientific-common.ks Drop python3-spyder from astronomy_kde and scientific 2023-08-29 22:19:56 +00:00
fedora-scientific-vagrant.ks Initial KS files for Fedora Scientific vagrant box 2018-01-26 11:23:40 +11:00
fedora-server-vm-full.ks Fixed an incorrect delete command. 2023-03-22 23:59:52 +01:00
fedora-soas-common.ks fedora-soas-common: Restore plymouth to initrd for boot animation. 2023-02-02 13:15:35 -05:00
fedora-sway-common.ks Add initial Fedora Sway Spin 2023-01-10 18:22:25 +01:00
fedora-workstation-common.ks Install environment group instead of particular groups (RhBug:1891500) 2020-11-24 22:24:27 +00:00
fedora-xfce-common.ks remove xscreensaver-extras and eyes-plugin from default group 2020-12-31 12:00:28 -05:00
maintainers.toml maintainers: Update for KDE Spin 2023-06-05 19:43:09 +02:00
Makefile build: Install snippets/ in 'make install' 2015-11-06 09:08:13 +01:00
README.md Add links where one can see build logs 2020-04-14 15:21:56 +07:00

fedora-kickstarts

This project is used to manage the Fedora kickstart files used in composing Fedora release images.

The master branch is used by rawhide and each release branch is used by that release.

All changes should be made via the PR workflow.

This project is packaged in Fedora as the spin-kickstarts package allowing users to see and modify the kickstart files for their local needs.

Maintainers for each image are listed in the maintainers.toml file.

To make a release

git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
cd fedora-kickstarts
# If you need a specific branch other than master:
git checkout BRANCHNAME
# No tag has been added yet tag HEAD with
git tag VERSION
git push --tags
make
# Publish the released tar ball
make publish
# Clean up the generated files:
make clean

Build logs

To see build logs go to

https://koji.fedoraproject.org/koji

"Packages" tab, and filter by Fedora-Workstation-Live for example.

Technical info about the officialy released images can be found at

https://kojipkgs.fedoraproject.org/compose/

bug reports

Bugs should be reported to the spin-kickstarts bugzilla component:

https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=spin-kickstarts