Compare commits

..

88 Commits
f39 ... main

Author SHA1 Message Date
Adam Williamson
3a3ed8b47d robotics: drop two more retired packages
player and stage were both retired as unmaintained orphans,
several weeks ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-14 13:45:45 -08:00
Adam Williamson
a7a0a92a80 robotics: drop pcl-devel, it's not installable
See https://pagure.io/fedora-comps/pull-request/1193 . I don't
know why this was listed in both the comps group and the ks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-13 11:29:08 -08:00
raveit65
921d0847c1 add Mate spin to maintainer.toml 2025-10-01 00:00:53 +02:00
Wolfgang Ulbrich
ea689030c8 Mate: bump root size to try and fix build 2025-09-30 16:39:11 +00:00
Mamoru TASAKA
6aab50009c lxde: increase disk size for compose
Looks like f44 dracut 108 again increased
files under /boot .

So again increase disc size.
2025-09-11 16:59:48 +09:00
Adam Williamson
947627c6e4 astronomy: drop python3-ATpy
ATpy was retired:
https://src.fedoraproject.org/rpms/ATpy/c/cb5d588
the commit notes that astropy is the replacement; it's already
included, so that's fine.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-26 12:27:36 -07:00
Mattia Verga
4a19e27d9d fedora-live-astronomy_kde: remove indi-3rdparty-drivers
I'm going to stop updating indi-3rdparty-libraries and indi-3rdparty-drivers and orphaning those packages.
2025-08-24 06:20:30 +00:00
Dan Book
d56e42d0ea Cinnamon spin: drop rhythmbox and obsolete extra backgrounds, add exaile (main) 2025-08-21 02:37:38 -04:00
Adam Williamson
71dffbe915 fedora-live-base: drop 'anaconda'
See https://pagure.io/fedora-kiwi-descriptions/pull-request/203 -
same change, same justification. This only pulls in anaconda-gui
and anaconda-tui, and we do not necessarily want those now that
anaconda-webui exists.

Lives that really need to use GTK UI not web UI can include
anaconda-gui in their own manifests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-31 08:38:36 -07:00
Ankur Sinha (Ankur Sinha Gmail)
d59f4195df feat: drop comp-neuro lab
Signed-off-by: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
2025-07-23 16:50:47 +00:00
Adam Williamson
08cc5d8884 Bump sway root size to fix build
It seems like this worked for Cinnamon and Games, and Sway has
the same problem, so let's do it there too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-23 08:31:28 -07:00
Adam Williamson
0cfc3295ba Cinnamon: bump root size to try and fix build
Cinnamon image build is failing at the moment, and I see this in
the logs:

2025-07-22T15:44:31+0000 [260] INFO RPM callback start %posttrans scriptlet "kernel-core-0:6.16.0-0.rc7.58.fc43.x86_64"
2025-07-22T15:44:31+0000 [260] INFO [scriptlet] grub2-probe: error: ../grub-core/kern/fs.c:123:unknown filesystem.
2025-07-22T15:44:38+0000 [260] INFO [scriptlet] dracut[W]: Running in hostonly mode in a container!
2025-07-22T15:44:38+0000 [260] INFO [scriptlet] dracut[E]: No '/dev/log' or 'logger' included for syslog logging
2025-07-22T15:45:09+0000 [260] INFO [scriptlet] dracut[E]: No '/dev/log' or 'logger' included for syslog logging
2025-07-22T15:46:20+0000 [260] INFO [scriptlet] cp:
2025-07-22T15:46:20+0000 [260] INFO [scriptlet] error copying '/var/tmp/dracut.dGGDh1v/initramfs.img' to '/boot/initramfs-0-rescue-bc1937eee2a84a8bb3c665a062c4566f.img': No space left on device
2025-07-22T15:46:20+0000 [260] INFO [scriptlet] dracut[F]: Creation of /boot/initramfs-0-rescue-bc1937eee2a84a8bb3c665a062c4566f.img failed
2025-07-22T15:46:20+0000 [260] INFO [scriptlet] /usr/lib/kernel/install.d/51-dracut-rescue.install failed with exit status 1.
2025-07-22T15:46:20+0000 [260] WARNING [rpm] %posttrans(kernel-core-6.16.0-0.rc7.58.fc43.x86_64) scriptlet failed, exit status 1
2025-07-22T15:46:20+0000 [260] INFO RPM callback stop %posttrans scriptlet "kernel-core-0:6.16.0-0.rc7.58.fc43.x86_64" return code 1

I *think* that's probably the issue. So let's try bumping the
root fs size and see if it helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-22 11:12:52 -07:00
Adam Williamson
3e9a228db5 games: bump root size, update some lines
This bumps the root size because image build is currently failing
and I *think* it's a space issue causing kernel-core %post to
fail. If it doesn't work we can revert the space bump.

Also:

* Drop some commented-out lines for packages that have been retired
* Update the comment for leaving out libreoffice
* Add back rogue, since it's building now

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-22 11:09:40 -07:00
Anton Medvedev
ba34c74b4a rewrite list-packages-for-ks.py script to python3
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2025-05-28 12:05:58 +00:00
Timothée Ravier
16dd11b611 maintainers: Remove PPC64LE Atomic Desktops
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-03-10 11:54:46 +01:00
Kevin Fenzi
3112149d65 Remove @neuro-sig from notifications/maintainers
The compose-tracker app doesn't handle groups, so it ends up notifying
@neuro (a user) instead. Drop this so they don't keep getting
notifications they don't care about.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-05 12:08:46 -08:00
Simon de Vlieger
c8791014ed minimal: drop
Remove the `fedora-disk-minimal.ks` file. Fedora Minimal disk images
are not built by ImageFactory/oz. Having this file here is confusing.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-01-07 21:36:03 +01:00
Simon de Vlieger
e875df9b80 iot: drop
Remove the `fedora-iot.ks` file. Fedora IoT disk images are not built by
ImageFactory/oz. Having this file here is confusing.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-01-07 21:31:35 +01:00
Adam Williamson
4ecca276e8 scientific_kde live: bump root size
Compose is failing, needs "At least 668MB more space", so let's
give it another 1000MB.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-20 17:32:13 -08:00
Adam Williamson
2b5fc6b2c6 comp_neuro live: bump root size
Compose is failing, needs "At least 149MB more space", so let's
give it a gig.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-20 17:31:17 -08:00
Neal Gompa
f34fc22406 maintainers: Reassign Games lab to myself and q5sys
The previous maintainers have been inactive on the Games SIG and
lab spin for a couple of years and the most recent keepalive was
answered by JT Pennington.

Thus, reassign to myself as de facto Games SIG chair and JT Pennington
as the last responder for the lab spin.

Reference: https://pagure.io/fedora-pgm/schedule/issue/160
2024-11-08 11:31:22 -05:00
Adam Williamson
c6c1a42cb0 Bump Jam_KDE root size a bit
It's failing on Rawhide and F41 because it's running out of
space. It's a few hundred megs over, so let's give it an extra
gig.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-19 15:16:47 -07:00
Timothée Ravier
b2f4ab4a3a fedora-kde-common: Remove mariadb-server-utils
This package depends on Perl and is not needed for desktop use cases.

See: https://pagure.io/fedora-kde/SIG/issue/566
2024-10-11 13:36:31 +02:00
Fabian Affolter
41dcd0a870 Security: Remove raddump 2024-10-04 14:02:26 +00:00
Fabian Affolter
53529140a4 Security: Remove bro 2024-10-04 14:02:26 +00:00
JT Pennington
9ea1fad3c8 Update fedora-live-astronomy_kde.ks
add co-maintainer
2024-10-04 13:42:05 +00:00
JT Pennington
a1b275fd30 Update maintainers.toml 2024-10-04 13:42:05 +00:00
Mamoru TASAKA
2a6485f10a lxde: increase disk size for compose
Installed file size is already near limit, and
on rawhide (F42), now compose began to fail at
kernel posttrans scriptlet due to disk size shortage.

So now let's increase size by 20%.
2024-10-03 00:23:50 +09:00
Miro Hrončok
97db030843 Do not pull in pypy3.9 to the Python Classroom Lab, 3.10 is already there 2024-09-17 17:22:21 +02:00
Adam Williamson
c1a0eda13b Bump workstation root size a bit more
ppc64le live compose for the F41 Beta candidate failed with
"needs 110MB more space on the / filesystem". Here's 384M for a
little bit of headroom.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-11 17:42:31 -07:00
Kevin Fenzi
5220de9de2 Merge #1054 Design Suite: temporarily drop deja-dup support 2024-09-03 18:52:01 +00:00
Luya Tshimbalanga
a2dbd83cf6 Design Suite: drop unused deja-dup-nautilus 2024-09-02 09:58:09 -07:00
Luya Tshimbalanga
40d13b5b31 Design Suite: temporarily drop deja-dup support 2024-09-02 09:44:58 -07:00
Mamoru TASAKA
3d7df42f17 astronomy: change fpack deps
fpack (which was subpackage of cfitsio.src) was renamed to
cfitsio-utils per:
712e385e26

Change fpack deps accordingly.
2024-08-29 23:42:28 +09:00
Neal Gompa
5ee5afac70 Workstation: Drop botocore to shrink the image 2024-08-28 14:17:39 -04:00
Neal Gompa
4cfcb783a1 Add initial configuration for MiracleWM spin
Reference: https://fedoraproject.org/wiki/Changes/FedoraMiracle
2024-08-22 12:00:56 -04:00
Tomáš Hrčka
a085b22db0 Update fedora-server-vm-full.ks
Original author: https://bugzilla.redhat.com/show_bug.cgi?id=2247872#c39
2024-08-14 17:15:42 +00:00
Zamir SUN
25acc64393 maintainers.toml: Add farchord and ngompa to LXQt spin maintainers
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2024-08-09 23:04:54 +08:00
Neal Gompa
54fd297232 KDE: Add plasma-welcome-fedora
This adds an extra panel for Plasma Welcome to enable third party
sources on initial login.
2024-07-22 14:05:44 -04:00
Miro Hrončok
0e102deb16 Exclude the previous main Python 3.12 from Python Classroom Lab 2024-06-18 14:20:27 +02:00
Evan Goode
049ddc06af Add dnf5-plugins to fedora-container-base.ks 2024-04-29 11:49:11 -04:00
Evan Goode
86fdcfb160 Replace dnf with dnf5 2024-04-29 11:48:00 -04:00
Evan Goode
b3f29156a0 Replace microdnf with dnf5 2024-04-29 09:03:17 -04:00
Major Hayden
e0561d3635 cloud: Consistent device naming
Use consistent network device names for network devices instead of
forcing the old "ethX" names from pre-2017. This ensures that
specialized network devices, such as SR-IOV devices, are easy to
recognize and configure inside a Fedora instance on a public cloud or
OpenStack cloud.

FESCo ticket: https://pagure.io/fesco/issue/3190
Change proposal: https://fedoraproject.org/wiki/Changes/EnableConsistentDeviceNamingCloud

Signed-off-by: Major Hayden <major@redhat.com>
2024-04-15 07:54:36 -05:00
Adam Williamson
226ac356da Bump root sizes for lxqt and i3 lives
These are both failing to build on aarch64 due to lack of space.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-26 15:20:32 -07:00
Adam Williamson
fdac8b4519 Remove mrpt-devel from robotics (it was retired)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-21 19:35:10 +00:00
Michal Hlavinka
358de365f3 remove passwd, it was retired
passwd was retired, it's function was replaced by shadow-utils,
which is already include in ks
see https://fedoraproject.org/wiki/Changes/LibuserDeprecation
2024-03-20 12:43:30 +01:00
Kevin Fenzi
e9b5e421e1 lxqt: final size bump I hope
This time I actually tested things to confirm that there was enough
size. x86_64 builds fine with this size. aarch64 fails, but not due to
size, it's the dbus aarch64 bug.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-19 22:59:01 +00:00
Adam Williamson
8f9181a408 Bump root partition size for scientific_kde
It seems to need about 1.4G more according to recent failure logs.
Let's give it a bit of a buffer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-19 15:42:54 -07:00
Kevin Fenzi
1ecd01e3b6 lxqt: add more space.
I added a tiny bit of space, but turns out theres not quit enough for
the initramfs to be generated and the compose still fails.

So, lets add 100MB. That should be enough for the scriptlets to
complete.

I'd like to cherry pick this into f40 as well.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-18 12:57:39 -07:00
Kevin Fenzi
a295461bbe lxqt live: bump space a slight bit to fit
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-16 16:51:08 -07:00
Samyak Jain
3ceba512ec Add yselkowitz to list to notify when ELN builds fail
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-03-13 20:32:31 +05:30
Stephen Gallagher
ca8ccf26e8 ELN: enable dnf5 for mock bootstrap
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-03-04 13:30:51 -05:00
raveit65
7210a74f20 Mate: drop earlyoom from livecd 2024-02-24 20:20:57 +01:00
Dennis Gilmore
1762ace394 AArch64 livemedia isos are running out of space.
Increase the image slightly. In a test it is enough to build a iso.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2024-02-22 18:41:43 -06:00
Leonardo Rossetti
d3f7464006 update maintainers.toml
Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>
2024-02-13 20:28:08 +00:00
Leonardo Rossetti
12a69e96a0 move robotics ks url and maintainer
Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>
2024-02-13 20:28:08 +00:00
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
51 changed files with 227 additions and 363 deletions

View File

@@ -85,14 +85,14 @@ gtk-recordmydesktop
gconf-editor gconf-editor
dconf-editor dconf-editor
nautilus-open-terminal nautilus-open-terminal
iotop iotop-c
htop htop
# Add favorite power-user tools # Add favorite power-user tools
mc mc
vim vim
nano nano
wget wget2-wget
# Add dependencies for the welcome screen # Add dependencies for the welcome screen
# (this makes it run also on non-GNOME systems) # (this makes it run also on non-GNOME systems)

View File

@@ -14,9 +14,6 @@ fedora-release-cinnamon
@^cinnamon-desktop-environment @^cinnamon-desktop-environment
@libreoffice @libreoffice
rhythmbox exaile
# extra backgrounds
f36-backgrounds-extras-gnome
%end %end

View File

@@ -9,7 +9,7 @@
# Don't show bootloader as it's impossible for the user to get to it in time # Don't show bootloader as it's impossible for the user to get to it in time
# So we might as well not waste the 1 second on each boot. # So we might as well not waste the 1 second on each boot.
# https://cloud.google.com/compute/docs/import/import-existing-image # https://cloud.google.com/compute/docs/import/import-existing-image
bootloader --timeout=0 --location=mbr --append="no_timer_check net.ifnames=0 console=ttyS0,38400n8d" bootloader --timeout=0 --location=mbr --append="no_timer_check console=ttyS0,38400n8d"
# redefine `services` here to drop cloud-init systemd unit enablements from # redefine `services` here to drop cloud-init systemd unit enablements from
# fedora-cloud-base.ks since we don't use them. # fedora-cloud-base.ks since we don't use them.

View File

@@ -22,12 +22,6 @@ rootpw vagrant
bootloader --timeout=1 --location=mbr --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" bootloader --timeout=1 --location=mbr --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
%packages %packages
# The default koji Vagrantfile configuration uses rsync to sync files between
# the vagrant host and the guest. It uses yum to verify that rsync is present
# and/or install it if it is not. It will fail without adding the yum compat
# layer for dnf
# TODO: Teach vagrant about dnf
dnf-yum
# rsync gets installed when the Vagrant box is first launched on the # rsync gets installed when the Vagrant box is first launched on the
# users setup. This can actually take a bit of time. Just fold it # users setup. This can actually take a bit of time. Just fold it
# in to the base box disk image # in to the base box disk image

View File

@@ -31,8 +31,7 @@ rootpw --lock --iscrypted locked
firewall --disabled firewall --disabled
# We pass net.ifnames=0 because we always want to use eth0 here on all the cloud images. bootloader --timeout=1 --location=mbr --append="no_timer_check console=tty1 console=ttyS0,115200n8"
bootloader --timeout=1 --location=mbr --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8"
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final

View File

@@ -1,29 +0,0 @@
# Description: Packages for the NeuroFedora computational neuroscience lab image.
#
# Maintained by the NeuroFedora SIG:
# https://neuro.fedoraproject.org
# mailto:neuro-sig@lists.fedoraproject.org
%packages
fedora-release-compneuro
# Includes numpy, scipy, jupyter, pandas, scikit, scipy, statsmodels, sympy, matplotlib
@python-science
#Computational neuroscience packages
arbor
genesis-simulator
moose
nest
neuron
neuron-devel
python3
python3-brian2
python3-ipython
python3-lfpy
python3-nest
python3-netpyne
python3-neuron
python3-pynn
python3-steps
%end

View File

@@ -1,12 +1,12 @@
# See fedora-container-common.ks for details on how to hack on container image kickstarts # See fedora-container-common.ks for details on how to hack on container image kickstarts
# This base is a stripped back Fedora image without python3/dnf. # This base is a stripped back Fedora image without python3.
# If you need that use the standard base image. # If you need that use the standard base image.
%include fedora-container-common.ks %include fedora-container-common.ks
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps %packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
microdnf dnf5
-tzdata
%end %end
%post --erroronfail --log=/root/anaconda-post.log %post --erroronfail --log=/root/anaconda-post.log
@@ -33,11 +33,6 @@ rm -fv /usr/bin/pinky
# we lose presets by removing /usr/lib/systemd but we do not care # we lose presets by removing /usr/lib/systemd but we do not care
rm -rfv /usr/lib/systemd rm -rfv /usr/lib/systemd
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
rm -fv /etc/localtime
mv /usr/share/zoneinfo/UTC /etc/localtime
rm -rfv /usr/share/zoneinfo
# Final pruning # Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/* rm -rfv /var/cache/* /var/log/* /tmp/*

View File

@@ -7,8 +7,8 @@
rootfiles rootfiles
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920 tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-minimal vim-minimal
dnf dnf5
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29 dnf5-plugins
sudo sudo
-glibc-langpack-en -glibc-langpack-en
-langpacks-en -langpacks-en

View File

@@ -35,6 +35,7 @@ fedora-release-container
bash bash
coreutils coreutils
glibc-minimal-langpack glibc-minimal-langpack
tzdata
rpm rpm
util-linux-core util-linux-core
-kernel -kernel

View File

@@ -26,13 +26,13 @@ bzip2
coreutils coreutils
coreutils-common coreutils-common
curl curl
default-editor
diffutils diffutils
dnf dnf5
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29 dnf5-plugins
dnf-plugins-core
-dosfstools -dosfstools
-e2fsprogs -e2fsprogs
fedora-release-container fedora-release-toolbx
findutils findutils
flatpak-spawn flatpak-spawn
fpaste fpaste
@@ -62,13 +62,11 @@ man-pages
mesa-dri-drivers mesa-dri-drivers
mesa-vulkan-drivers mesa-vulkan-drivers
mtr mtr
nano-default-editor
nss-mdns nss-mdns
openssh-clients openssh-clients
openssl openssl
p11-kit p11-kit
pam pam
passwd
pigz pigz
-pinentry -pinentry
procps-ng procps-ng
@@ -92,13 +90,14 @@ time
traceroute traceroute
tree tree
-trousers -trousers
tzdata
unzip unzip
util-linux util-linux
util-linux-core util-linux-core
vim-minimal vim-minimal
vte-profile vte-profile
vulkan-loader vulkan-loader
wget wget2-wget
which which
whois whois
words words
@@ -163,6 +162,55 @@ rm -f /run/nologin # https://pagure.io/atomic-wg/issue/316
# Final pruning # Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/* rm -rfv /var/cache/* /var/log/* /tmp/*
# Check if specified files exist
declare -a files=(
# bash
"/usr/share/man/man1/bash.1*"
"/usr/share/man/man1/cd.1*"
"/usr/share/man/man1/export.1*"
# coreutils-common
"/usr/share/man/man1/cat.1*"
"/usr/share/man/man1/cp.1*"
"/usr/share/man/man1/ls.1*"
# gnupg2
"/usr/share/man/man1/gpg2.1*"
"/usr/share/man/man7/gnupg2.7*"
# psmisc
"/usr/share/man/fr/man1/pstree.1*"
"/usr/share/man/ko/man1/pstree.1*"
"/usr/share/man/man1/pstree.1*"
# rpm
"/usr/share/man/man8/rpm.8*"
"/usr/share/man/man8/rpm2cpio.8*"
# shadow-utils
"/usr/share/man/fr/man8/useradd.8*"
"/usr/share/man/ja/man8/useradd.8*"
"/usr/share/man/man8/useradd.8*"
# util-linux
"/usr/share/man/man1/cal.1.*"
"/usr/share/man/man1/getopt.1*"
"/usr/share/man/man1/hexdump.1*"
# util-linux-core
"/usr/share/man/man1/kill.1*"
"/usr/share/man/man8/mount.8*"
# xz
"/usr/share/man/fr/man1/xz.1*"
"/usr/share/man/ko/man1/xz.1*"
"/usr/share/man/man1/xz.1*"
)
ret_val=0
for file in "${files[@]}"; do
if ! compgen -G "$file" >/dev/null; then
echo "$file: No such file or directory" >&2
ret_val=1
break
fi
done
if [ "$ret_val" -ne 0 ]; then
false
fi
%end %end
# Perform any necessary post-installation configurations specific to Fedora Toolbox (nochroot environment) # Perform any necessary post-installation configurations specific to Fedora Toolbox (nochroot environment)
@@ -171,36 +219,6 @@ rm -rfv /var/cache/* /var/log/* /tmp/*
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log %post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
set -eux set -eux
# Check if specified files exist
#declare -a files=(
# "/usr/share/man/man1/bash.1*"
# "/usr/share/man/man1/cd.1*"
# "/usr/share/man/man1/export.1*"
# "/usr/share/man/man1/cat.1*"
# "/usr/share/man/man1/cp.1*"
# "/usr/share/man/man1/ls.1*"
# "/usr/share/man/man1/gpg2.1*"
# "/usr/share/man/man7/gnupg2.7*"
# "/usr/share/man/fr/man8/rpm.8*"
# "/usr/share/man/ja/man8/rpm.8*"
# "/usr/share/man/man8/rpm.8*"
# "/usr/share/man/man1/kill.1*"
# "/usr/share/man/man8/mount.8*"
#)
#ret_val=0
#for file in "${files[@]}"; do
# if ! compgen -G "$file" >/dev/null; then
# echo "$file: No such file or directory" >&2
# ret_val=1
# break
# fi
#done
#if [ "$ret_val" -ne 0 ]; then
# false
#fi
# Clean up dnf cache # Clean up dnf cache
dnf clean all dnf clean all

View File

@@ -6,8 +6,7 @@
fedora-release-designsuite fedora-release-designsuite
# Provides backup application # Provides backup application
deja-dup #deja-dup
#deja-dup-nautilus
# Add extra gnome applications # Add extra gnome applications
#gnome-books #gnome-books

View File

@@ -1,6 +0,0 @@
%include fedora-disk-base.ks
%include fedora-minimal-common.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup
autopart --type=plain --noswap

View File

@@ -26,8 +26,7 @@ fedora-release-server
# setup systemd to boot to the right runlevel # setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode" echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target systemctl set-default multi-user.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo . echo .
%end %end

View File

@@ -7,5 +7,7 @@ autopart --type=btrfs --noswap
%packages %packages
-initial-setup -initial-setup
-initial-setup-gui -initial-setup-gui
gnome-initial-setup
anaconda-webui
%end %end

View File

@@ -17,6 +17,6 @@ glibc-all-langpacks
%post %post
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run # Explicitly set graphical.target as default as this is how initial-setup detects which version to run
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target systemctl set-default graphical.target
%end %end

View File

@@ -10,8 +10,10 @@ fedora-repos-eln
rootfiles rootfiles
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920 tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-minimal vim-minimal
dnf
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29 dnf5
dnf5-plugins
sudo sudo
-glibc-langpack-en -glibc-langpack-en
-langpacks-en -langpacks-en

View File

@@ -32,11 +32,10 @@ reboot
# Packages # Packages
%packages %packages
@core @core
dnf dnf5
kernel kernel
yum yum
nfs-utils nfs-utils
dnf-utils
# pull firmware packages out # pull firmware packages out
-aic94xx-firmware -aic94xx-firmware
@@ -136,8 +135,7 @@ passwd -l root
# setup systemd to boot to the right runlevel # setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode" echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target systemctl set-default multi-user.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo . echo .
# this is installed by default but we don't need it in virt # this is installed by default but we don't need it in virt

View File

@@ -21,7 +21,7 @@ thunar
gnome-keyring-pam gnome-keyring-pam
# Admin tools are handy to have # Admin tools are handy to have
@admin-tools @admin-tools
wget wget2-wget
# Better more popular browser # Better more popular browser
system-config-printer system-config-printer
# Install XFCE polkit # Install XFCE polkit

View File

@@ -1,88 +0,0 @@
# This is the kickstart for Fedora IoT disk images.
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
selinux --enforcing
rootpw --lock --iscrypted locked
bootloader --timeout=1 --append="modprobe.blacklist=vc4"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd
zerombr
clearpart --all --initlabel --disklabel=msdos
autopart --nohome --noswap --type=plain
# Equivalent of %include fedora-repo.ks
# Pull from the ostree repo that was created during the compose
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/39/${basearch}/iot
reboot
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Setup Raspberry Pi firmware
if [[ $arch == "aarch64" ]]; then
cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
fi
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
# We want consumers of this image to track the two week releases.
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/39/${arch}/iot"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-iot:fedora/39/${arch}/iot" --create "fedora-iot:fedora/39/${arch}/iot"
# Remove the old ref so that the commit eventually gets cleaned up.
ostree refs "fedora-iot:fedora/39/${arch}/iot" --delete
# delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url
ostree remote delete fedora-iot
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/ --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
# We're getting a stray console= from somewhere, work around it
rpm-ostree kargs --delete=console=tty0
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
cp /etc/skel/.bash* /var/roothome
# Remove any persistent NIC rules generated by udev
rm -vf /etc/udev/rules.d/*persistent-net*.rules
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/systemd/random-seed
echo "Packages within this iot image:"
echo "-----------------------------------------------------------------------"
rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn
echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
rm -f /etc/NetworkManager/system-connections/*.nmconnection
# Anaconda is writing an /etc/resolv.conf from the install environment.
# The system should start out with an empty file, otherwise cloud-init
# will try to use this information and may error:
# https://bugs.launchpad.net/cloud-init/+bug/1670052
truncate -s 0 /etc/resolv.conf
%end

View File

@@ -7,6 +7,8 @@
@kde-apps @kde-apps
@kde-media @kde-media
@kde-pim @kde-pim
# Ensure we have Anaconda initial setup using kwin
@kde-spin-initial-setup
@libreoffice @libreoffice
# add libreoffice-draw and libreoffice-math (pagureio:fedora-kde/SIG#103) # add libreoffice-draw and libreoffice-math (pagureio:fedora-kde/SIG#103)
libreoffice-draw libreoffice-draw
@@ -20,8 +22,14 @@ fedora-release-kde
-tracker-miners -tracker-miners
-tracker -tracker
# Not needed on desktops. See: https://pagure.io/fedora-kde/SIG/issue/566
-mariadb-server-utils
### The KDE-Desktop ### The KDE-Desktop
# fedora-specific packages
plasma-welcome-fedora
### fixes ### fixes
# minimal localization support - allows installing the kde-l10n-* packages # minimal localization support - allows installing the kde-l10n-* packages

View File

@@ -13,6 +13,8 @@
# Maintainer: Christian Dersch <lupinix@fedoraproject.org> # Maintainer: Christian Dersch <lupinix@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Lupinix # https://fedoraproject.org/wiki/User:Lupinix
# Co-Maintainer: JT Pennington <q5sys@fedoraproject.org>
# https://fedoraproject.org/wiki/User:q5sys
%include fedora-live-kde-base.ks %include fedora-live-kde-base.ks
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
@@ -33,7 +35,7 @@ part / --size 16000
astrometry astrometry
astrometry-tycho2 astrometry-tycho2
cdsclient cdsclient
fpack cfitsio-utils
psfex psfex
scamp scamp
sextractor sextractor
@@ -42,10 +44,10 @@ skyviewer
swarp swarp
wcstools wcstools
# Observatory: KStars + INDI drivers # Observatory: KStars + INDI
indi-3rdparty-drivers
indistarter indistarter
kstars kstars
libindi
# misc. astronomy # misc. astronomy
#celestia #celestia
@@ -81,7 +83,6 @@ python3-astroML
python3-astroquery python3-astroquery
python3-astroscrappy python3-astroscrappy
python3-APLpy python3-APLpy
python3-ATpy
python3-ccdproc python3-ccdproc
python3-fitsio python3-fitsio
python3-gatspy python3-gatspy

View File

@@ -31,7 +31,6 @@ kernel-modules
kernel-modules-extra kernel-modules-extra
# The point of a live image is to install # The point of a live image is to install
anaconda
anaconda-install-env-deps anaconda-install-env-deps
anaconda-live anaconda-live
@anaconda-tools @anaconda-tools

View File

@@ -9,7 +9,7 @@
%include fedora-live-base.ks %include fedora-live-base.ks
%include fedora-cinnamon-common.ks %include fedora-cinnamon-common.ks
part / --size=8192 part / --size=9216
%post %post
# cinnamon configuration # cinnamon configuration

View File

@@ -1,12 +0,0 @@
# Description: The Workstation based NeuroFedora computational neuroscience lab image.
# https://fedoraproject.org/wiki/Changes/Comp_Neuro_Lab
#
# Maintained by the NeuroFedora SIG:
# https://neuro.fedoraproject.org
# mailto:neuro-sig@lists.fedoraproject.org
%include fedora-live-workstation.ks
%include fedora-comp-neuro-common.ks
%include fedora-neuro-gnome-common.ks
part / --size 10240

View File

@@ -17,8 +17,7 @@
%include fedora-live-xfce.ks %include fedora-live-xfce.ks
# The recommended part size for DVDs is too close to use for the games spin part / --size 15360
part / --size 14336
%packages %packages
@@ -27,8 +26,7 @@ part / --size 14336
-wine -wine
# Remove libreoffice since it just got added to livecd-desktop and # Remove libreoffice, we're here to have fun!
# will likely put the games spin over size and it is freeze time.
-libreoffice* -libreoffice*
# Extra screensavers isn't much help for the games spin # Extra screensavers isn't much help for the games spin
@@ -46,12 +44,10 @@ armacycles-ad
asc asc
asc-music asc-music
astromenace astromenace
# beneath-a-steel-sky-cd scummvm games cut for size
boswars boswars
bzflag bzflag
crossfire-client crossfire-client
extremetuxracer extremetuxracer
# flight-of-the-amazon-queen-cd scummvm games cut for size
freeciv freeciv
freecol freecol
freedoom freedoom
@@ -59,9 +55,6 @@ freedroidrpg
frozen-bubble frozen-bubble
# glob2 - currently broken # glob2 - currently broken
lincity-ng lincity-ng
#tmw - currently broken
#maniadrive - currently broken
#maniadrive-music - has been retired
megaglest megaglest
nethack-vultures nethack-vultures
netpanzer netpanzer
@@ -99,7 +92,6 @@ knights
lbrickbuster2 lbrickbuster2
# liquidwar # Would pull in fluid-soundfont-lite-patches # liquidwar # Would pull in fluid-soundfont-lite-patches
lordsawar lordsawar
# lure scummvm games cut for size
# machineball # Would pull in fluid-soundfont-lite-patches # machineball # Would pull in fluid-soundfont-lite-patches
nethack nethack
openlierox openlierox
@@ -107,7 +99,7 @@ pachi
pioneers pioneers
quarry quarry
# Ri-li cut for size # Ri-li cut for size
# rogue # recently abandoned. Someone picked it up. Waiting for approval. rogue
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches # scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
solarwolf solarwolf
sopwith sopwith

View File

@@ -13,6 +13,9 @@
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
%include fedora-i3-common.ks %include fedora-i3-common.ks
# need a bigger /
part / --size 6000
%post %post
# i3 configuration # i3 configuration

View File

@@ -12,7 +12,7 @@
%include fedora-live-kde.ks %include fedora-live-kde.ks
# DVD size partition # DVD size partition
part / --size 10240 --fstype ext4 part / --size 11264 --fstype ext4
#enable threaded irqs #enable threaded irqs
bootloader --append="threadirqs" bootloader --append="threadirqs"

View File

@@ -10,6 +10,9 @@
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
%include fedora-lxde-common.ks %include fedora-lxde-common.ks
# increate the disk size for compose
part / --size 7168
%post %post
# LXDE and LXDM configuration # LXDE and LXDM configuration

View File

@@ -11,6 +11,9 @@
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
%include fedora-lxqt-common.ks %include fedora-lxqt-common.ks
# need a bigger /
part / --size 6000
%packages %packages
dracut-config-generic dracut-config-generic
%end %end

View File

@@ -7,7 +7,7 @@
%include fedora-mate-common.ks %include fedora-mate-common.ks
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
part / --size 8192 part / --size 9216
%post %post
# set livesys session type # set livesys session type

30
fedora-live-miraclewm.ks Normal file
View File

@@ -0,0 +1,30 @@
# fedora-livecd-miraclewm.ks
#
# Description:
# - Fedora Live Spin with the tiling window manager Miracle
#
# Maintainer(s):
# - Matthew Kosarek <mattkae@fedoraproject.org>
# - Neal Gompa <ngompa@fedoraproject.org>
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-miraclewm-common.ks
%packages
# To be able to show installation instructions on background
nwg-wrapper
%end
%post
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/miraclewm
DISPLAYMANAGER=/bin/sddm
EOF
# set livesys session type
sed -i 's/^livesys_session=.*/livesys_session="miraclewm"/' /etc/sysconfig/livesys
%end

View File

@@ -1,6 +1,6 @@
# Maintained by x3mboy and the Fedora Robotics SIG: # Maintained by lrossett and the Fedora Robotics SIG:
# https://fedoraproject.org/wiki/SIGs/Robotics # https://docs.fedoraproject.org/en-US/robotics-sig/
# mailto:x3mboy@fedoraproject.org # mailto:lrossett@redhat.com
# mailto:robotics@lists.fedoraproject.org # mailto:robotics@lists.fedoraproject.org
%include fedora-live-base.ks %include fedora-live-base.ks
@@ -16,10 +16,6 @@ part / --size 10752
# Add robotics development packages # Add robotics development packages
@robotics-suite @robotics-suite
pcl-devel
player-devel
stage-devel
mrpt-devel
# Add version control packages # Add version control packages
git git

View File

@@ -12,8 +12,7 @@
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
%include fedora-scientific-common.ks %include fedora-scientific-common.ks
# The recommended part size for DVDs is too close to use for the scientific spin part / --size 18000
part / --size 15000
%post %post

View File

@@ -61,7 +61,6 @@ gnome-keyring-pam
-binwalk -binwalk
-bkhive -bkhive
-bonesi -bonesi
-bro
-cmospwd -cmospwd
-dnstop -dnstop
-etherape -etherape
@@ -79,7 +78,6 @@ gnome-keyring-pam
-pdfcrack -pdfcrack
-proxychains -proxychains
-pyrit -pyrit
-raddump
-rkhunter -rkhunter
-safecopy -safecopy
-samdump2 -samdump2

View File

@@ -4,7 +4,7 @@
# - A Sugar environment that you can carry in your pocket # - A Sugar environment that you can carry in your pocket
# #
# Maintainers: # Maintainers:
# - Chihurumnaya Ibiam <ibiamchihurumnaya AT gmail DOT com> # - Chihurumnaya Ibiam <ibiam AT sugarlabs DOT org>
# - Alex Perez <aperez AT alexperez DOT com> # - Alex Perez <aperez AT alexperez DOT com>
%include fedora-live-base.ks %include fedora-live-base.ks

View File

@@ -13,6 +13,8 @@
%include fedora-live-minimization.ks %include fedora-live-minimization.ks
%include fedora-sway-common.ks %include fedora-sway-common.ks
part / --size 6144
%packages %packages
# To be able to show installation instructions on background # To be able to show installation instructions on background
nwg-wrapper nwg-wrapper

View File

@@ -10,7 +10,12 @@
# #
#include snippets/packagekit-cached-metadata.ks #include snippets/packagekit-cached-metadata.ks
part / --size 7750 part / --size 8576
%packages
gnome-initial-setup
anaconda-webui
%end
%post %post

View File

@@ -15,9 +15,6 @@
@lxde-media @lxde-media
@lxde-office @lxde-office
# FIXME: can be omitted once comps is updated
midori
# pam-fprint causes a segfault in LXDM when enabled # pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam -fprintd-pam

View File

@@ -20,12 +20,6 @@ fusion-icon
# blacklist applications which breaks mate-desktop # blacklist applications which breaks mate-desktop
-audacious -audacious
# see https://bugzilla.redhat.com/show_bug.cgi?id=2068699
# and https://bugzilla.redhat.com/show_bug.cgi?id=1933494
# use earlyoom instead of systemd-oomd-defaults
earlyoom
-systemd-oomd-defaults
# office # office
@libreoffice @libreoffice

View File

@@ -1,24 +0,0 @@
%packages
microdnf
-@standard
-initial-setup-gui
-generic-release*
-glibc-all-langpacks
# recommended by iproute, we don't want it in minimal
-iproute-tc
# recommended by gnutls, we don't want it in minimal
-trousers
glibc-langpack-en
iw
NetworkManager-wifi
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@@ -0,0 +1,15 @@
# fedora-livecd-miraclewm.ks
#
# Description:
# - Fedora Live Spin with the tiling window manager Miracle
#
# Maintainer(s):
# - Matthew Kosarek <mattkae@fedoraproject.org>
# - Neal Gompa <ngompa@fedoraproject.org>
%packages
fedora-release-miraclewm
@^miraclewm-desktop-environment
@firefox
initial-setup-gui-wayland-miraclewm
%end

View File

@@ -31,7 +31,7 @@ coreutils-single
util-linux util-linux
rpm rpm
shadow-utils shadow-utils
microdnf dnf5
glibc-minimal-langpack glibc-minimal-langpack
grubby grubby
kernel kernel

View File

@@ -1,30 +0,0 @@
# Description: Common gnome based configuration for NeuroFedora spin images.
#
# Maintained by the NeuroFedora SIG:
# https://neuro.fedoraproject.org
# mailto:neuro-sig@lists.fedoraproject.org
# Please specify the individual package sets in their own ks files:
# - fedora-comp-neuro-common.ks
%packages
@firefox
# Editors
emacs
vim-X11
# This is no longer workstation
-@workstation-product
# No Workstation backgrounds
#-desktop-backgrounds-basic
#-*backgrounds-extras
%end
%post
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'anaconda.desktop']/" /etc/rc.d/init.d/livesys
%end

View File

@@ -10,7 +10,7 @@
nano nano
openssh-clients openssh-clients
vim-enhanced vim-enhanced
wget wget2-wget
# Remove Pythons possibly recommended by tox # Remove Pythons possibly recommended by tox
-python2 -python2
@@ -30,7 +30,9 @@ wget
-python3.9 -python3.9
-python3.10 -python3.10
-python3.11 -python3.11
-python3.12
-pypy -pypy
-pypy3.9
# Remove LaTeX, see https://bugzilla.redhat.com/show_bug.cgi?id=1862450 # Remove LaTeX, see https://bugzilla.redhat.com/show_bug.cgi?id=1862450
# and https://bugzilla.redhat.com/show_bug.cgi?id=1902354 # and https://bugzilla.redhat.com/show_bug.cgi?id=1902354

View File

@@ -3,7 +3,7 @@
# Exactly one of the following should be uncommented # Exactly one of the following should be uncommented
# For the master branch the following should be uncommented # For the master branch the following should be uncommented
# %include fedora-repo-rawhide.ks %include fedora-repo-rawhide.ks
# For non-master branches the following should be uncommented # For non-master branches the following should be uncommented
%include fedora-repo-not-rawhide.ks # %include fedora-repo-not-rawhide.ks

View File

@@ -162,6 +162,10 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
sed -i -e 's|console=tty0||g' /boot/loader/entries/*conf sed -i -e 's|console=tty0||g' /boot/loader/entries/*conf
fi fi
# Trigger lvm-devices-import.path and .service to create
# a new /etc/lvm/devices/system.devices for the root VG.
rm -f /etc/lvm/devices/system.devices
touch /etc/lvm/devices/auto-import-rootvg
# Remove machine-id on pre generated images # Remove machine-id on pre generated images
rm -f /etc/machine-id rm -f /etc/machine-id
@@ -193,8 +197,7 @@ sync /
# setup systemd to boot to the right runlevel # setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode" echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target systemctl set-default multi-user.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo . echo .
%end %end

View File

@@ -4,7 +4,7 @@
# - A Sugar environment that you can carry in your pocket # - A Sugar environment that you can carry in your pocket
# #
# Maintainers: # Maintainers:
# - Chihurumnaya Ibiam <ibiamchihurumnaya AT gmail DOT com> # - Chihurumnaya Ibiam <ibiam AT sugarlabs DOT org>
# - Alex Perez <aperez AT alexperez DOT com> # - Alex Perez <aperez AT alexperez DOT com>
firewall --enabled --service=mdns,presence firewall --enabled --service=mdns,presence

View File

@@ -12,4 +12,7 @@
-gfs2-utils -gfs2-utils
-reiserfs-utils -reiserfs-utils
# Exclude extra unwanted packages
-python3-botocore
%end %end

View File

@@ -19,7 +19,7 @@ fedora-release-xfce
@xfce-media @xfce-media
@xfce-office @xfce-office
wget wget2-wget
system-config-printer system-config-printer
# save some space # save some space

View File

@@ -1,9 +1,9 @@
[spins.lxqt.x86_64] [spins.lxqt.x86_64]
fas = [ "lupinix", "zsun" ] fas = [ "lupinix", "zsun", "farchord", "ngompa" ]
maintainers = [ "Christian Dersch", "Zamir SUN" ] maintainers = [ "Christian Dersch", "Zamir SUN", "Steve Cossette", "Neal Gompa" ]
[spins.lxqt.armhfp] [spins.lxqt.armhfp]
fas = [ "lupinix", "zsun" ] fas = [ "lupinix", "zsun", "farchord", "ngompa" ]
maintainers = [ "Christian Dersch", "Zamir SUN" ] maintainers = [ "Christian Dersch", "Zamir SUN", "Steve Cossette", "Neal Gompa" ]
[spins.xfce.x86_64] [spins.xfce.x86_64]
fas = [ "nonamedotc", "kevin", "maxamillion" ] fas = [ "nonamedotc", "kevin", "maxamillion" ]
@@ -20,6 +20,10 @@ maintainers = [ "Rex Dieter", "Marc Deop", "Neal Gompa" ]
fas = [ "grinnz" ] fas = [ "grinnz" ]
maintainers = [ "Dan Book" ] maintainers = [ "Dan Book" ]
[spins.mate_compiz.x86_64]
fas = [ "raveit65" ]
maintainers = [ "Wolfgang Ulbrich" ]
[spins.lxde.x86_64] [spins.lxde.x86_64]
fas = [ "cwickert", "mtasaka" ] fas = [ "cwickert", "mtasaka" ]
maintainers = [ "Christoph Wickert", "Mamoru TASAKA" ] maintainers = [ "Christoph Wickert", "Mamoru TASAKA" ]
@@ -35,24 +39,20 @@ fas = [ "chimosky", "aperezbios", ]
maintainers = [ "Chihurumnaya Ibiam", "Alex Perez" ] maintainers = [ "Chihurumnaya Ibiam", "Alex Perez" ]
[labs.astronomy_kde.x86_64] [labs.astronomy_kde.x86_64]
fas = [ "lupinix" ] fas = [ "lupinix", "q5sys" ]
maintainers = [ "Christian Dersch" ] maintainers = [ "Christian Dersch", "JT Pennington" ]
[labs.security.x86_64] [labs.security.x86_64]
fas = [ "fab", "jsimon", "q5sys"] fas = [ "fab", "jsimon", "q5sys"]
maintainers = [ "Fabian Affolter", "Joerg Simon", "JT Pennington" ] maintainers = [ "Fabian Affolter", "Joerg Simon", "JT Pennington" ]
[labs.comp_neuro.x86_64]
fas = [ "bt0dotninja", "dan1mal", "ankursinha", "neuro-sig" ]
maintainers = [ "Alberto Rodriguez Sanchez", "Danny Lee", "Ankur Sinha", "NeuroFedora SIG" ]
[labs.design_suite.x86_64] [labs.design_suite.x86_64]
fas = [ "luya" ] fas = [ "luya" ]
maintainers = [ "Luya Tshimbalanga" ] maintainers = [ "Luya Tshimbalanga" ]
[labs.games.x86_64] [labs.games.x86_64]
fas = [ "dagostinelli", "richardanaya" ] fas = [ "ngompa", "q5sys" ]
maintainers = [ "Darryl T. Agostinelli", "Richard Anaya" ] maintainers = [ "Neal Gompa", "JT Pennington" ]
[labs.jam_kde.x86_64] [labs.jam_kde.x86_64]
fas = [ "q5sys" ] fas = [ "q5sys" ]
@@ -71,16 +71,16 @@ fas = [ "scitech" ]
maintainers = [ "SciTech SIG" ] maintainers = [ "SciTech SIG" ]
[labs.robotics.x86_64] [labs.robotics.x86_64]
fas = [ "x3mboy", "robotics-sig" ] fas = [ "lrossett", "robotics-sig" ]
maintainers = [ "Eduard Lucena", "Robotics SIG" ] maintainers = [ "Leonardo Rossetti", "Robotics SIG" ]
[spins.i3.x86_64] [spins.i3.x86_64]
fas = [ "jflory7", "defolos", "nasirhm", "odilhao", "x3mboy" ] fas = [ "jflory7", "defolos", "nasirhm", "odilhao", "x3mboy" ]
maintainers = [ "Justin Flory", "Dan Čermák", "Nasir Hussain", "Odilon Junior", "Eduard Lucena" ] maintainers = [ "Justin Flory", "Dan Čermák", "Nasir Hussain", "Odilon Junior", "Eduard Lucena" ]
[eln] [eln]
fas = [ "sgallagh", "tdawson", "asamalik" ] fas = [ "sgallagh", "tdawson", "asamalik", "yselkowitz" ]
maintainers = [ "Stephen Gallagher", "Troy Dawson", "Adam Samalik" ] maintainers = [ "Stephen Gallagher", "Troy Dawson", "Adam Samalik", "Yaakov Selkowitz" ]
[spins.budgie.x86_64] [spins.budgie.x86_64]
fas = [ "joshstrobl" ] fas = [ "joshstrobl" ]
@@ -90,15 +90,16 @@ maintainers = [ "Joshua Strobl" ]
fas = [ "alebastr", "jkonecny", "anthr76", "fale" ] fas = [ "alebastr", "jkonecny", "anthr76", "fale" ]
maintainers = [ "Aleksei Bavshin", "Jiří Konečný", "Anthony Rabbito", "Fabio Alessandro Locati" ] maintainers = [ "Aleksei Bavshin", "Jiří Konečný", "Anthony Rabbito", "Fabio Alessandro Locati" ]
[spins.miraclewm.x86_64]
fas = [ "mattkae", "ngompa" ]
maintainers = [ "Matthew Kosarek", "Neal Gompa" ]
[silverblue.x86_64] [silverblue.x86_64]
fas = [ "siosm", "tpopela" ] fas = [ "siosm", "tpopela" ]
maintainers = [ "Timothée Ravier", "Tomáš Popela" ] maintainers = [ "Timothée Ravier", "Tomáš Popela" ]
[silverblue.aarch64] [silverblue.aarch64]
fas = [ "siosm", "tpopela" ] fas = [ "siosm", "tpopela" ]
maintainers = [ "Timothée Ravier", "Tomáš Popela" ] maintainers = [ "Timothée Ravier", "Tomáš Popela" ]
[silverblue.ppc64le]
fas = [ "siosm", "tpopela" ]
maintainers = [ "Timothée Ravier", "Tomáš Popela" ]
[kinoite.x86_64] [kinoite.x86_64]
fas = [ "siosm" ] fas = [ "siosm" ]
@@ -106,9 +107,6 @@ maintainers = [ "Timothée Ravier" ]
[kinoite.aarch64] [kinoite.aarch64]
fas = [ "siosm" ] fas = [ "siosm" ]
maintainers = [ "Timothée Ravier" ] maintainers = [ "Timothée Ravier" ]
[kinoite.ppc64le]
fas = [ "siosm" ]
maintainers = [ "Timothée Ravier" ]
[sericea.x86_64] [sericea.x86_64]
fas = [ "alebastr", "jkonecny", "anthr76", "fale" ] fas = [ "alebastr", "jkonecny", "anthr76", "fale" ]
@@ -116,9 +114,6 @@ maintainers = [ "Aleksei Bavshin", "Jiří Konečný", "Anthony Rabbito", "Fabio
[sericea.aarch64] [sericea.aarch64]
fas = [ "alebastr", "jkonecny", "anthr76", "fale" ] fas = [ "alebastr", "jkonecny", "anthr76", "fale" ]
maintainers = [ "Aleksei Bavshin", "Jiří Konečný", "Anthony Rabbito", "Fabio Alessandro Locati" ] maintainers = [ "Aleksei Bavshin", "Jiří Konečný", "Anthony Rabbito", "Fabio Alessandro Locati" ]
[sericea.ppc64le]
fas = [ "alebastr", "jkonecny", "anthr76", "fale" ]
maintainers = [ "Aleksei Bavshin", "Jiří Konečný", "Anthony Rabbito", "Fabio Alessandro Locati" ]
[onyx.x86_64] [onyx.x86_64]
fas = [ "joshstrobl" ] fas = [ "joshstrobl" ]
@@ -126,6 +121,3 @@ maintainers = [ "Joshua Strobl" ]
[onyx.aarch64] [onyx.aarch64]
fas = [ "joshstrobl" ] fas = [ "joshstrobl" ]
maintainers = [ "Joshua Strobl" ] maintainers = [ "Joshua Strobl" ]
[onyx.ppc64le]
fas = [ "joshstrobl" ]
maintainers = [ "Joshua Strobl" ]

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Given as input a comps definition and a .ks file, list # Given as input a comps definition and a .ks file, list
# the packages which would be installed. This list is # the packages which would be installed. This list is
# NOT depsolved, it's merely a textual list of explicitly # NOT depsolved, it's merely a textual list of explicitly
@@ -11,38 +11,40 @@
import os import os
import sys import sys
import getopt import getopt
import xml.etree.cElementTree as ElementTree import xml.etree.ElementTree as ElementTree
import pykickstart import pykickstart
import pykickstart.parser import pykickstart.parser
import pykickstart.version import pykickstart.version
def usage(ecode): def usage(ecode):
print "Usage: %s [--version=VERSION] COMPS.xml KICKSTART.ks" % (sys.argv[0], ) print("Usage: {} [--version=VERSION] COMPS.xml KICKSTART.ks".format(sys.argv[0]))
print "List packages installed by KICKSTART." print("List packages installed by KICKSTART.")
sys.exit(ecode) sys.exit(ecode)
def main(): def main():
try: try:
opts,args = getopt.getopt(sys.argv[1:], 'h', ['help', 'version=', 'debug']) opts, args = getopt.getopt(sys.argv[1:], 'h', ['help', 'version=', 'debug'])
except getopt.GetoptError, e: except getopt.GetoptError as e:
usage(1) usage(1)
version = None version = None
debug = False debug = False
for o,a in opts: for o, a in opts:
if o in ('-h', '--help'): if o in ('-h', '--help'):
usage(0) usage(0)
elif o in ('--debug', ): elif o in ('--debug',):
debug = True debug = True
elif o in ('--version', ): elif o in ('--version',):
version = a version = a
if len(args) != 2: if len(args) != 2:
usage(1) usage(1)
comps_filename = args[0] comps_filename = args[0]
kickstart_filename = args[1] kickstart_filename = args[1]
if version: if version:
version_cls = pykickstart.version.stringToVersion(version) version_cls = pykickstart.version.stringToVersion(version)
else: else:
@@ -55,10 +57,10 @@ def main():
working_directory = os.path.dirname(kickstart_filename) working_directory = os.path.dirname(kickstart_filename)
if working_directory: if working_directory:
os.chdir(working_directory) os.chdir(working_directory)
parser = pykickstart.parser.KickstartParser(version_cls) parser = pykickstart.parser.KickstartParser(version_cls)
parser.readKickstart(kickstart_filename) parser.readKickstart(kickstart_filename)
comps_groups = comps.findall('group') comps_groups = comps.findall('group')
packages_for_group = {} packages_for_group = {}
for group in comps_groups: for group in comps_groups:
@@ -74,27 +76,29 @@ def main():
packages_for_group[group_id.text] = pkglist packages_for_group[group_id.text] = pkglist
pkg_list = set() pkg_list = set()
for group in parser.handler.packages.groupList: for group in parser.handler.packages.groupList:
if debug: if debug:
print >>sys.stderr, "# Including %d packages from group %r" % (len(packages_for_group[group.name]), group.name) print("# Including {} packages from group '{}'".format(len(packages_for_group.get(group.name, [])),
for pkg in packages_for_group[group.name]: group.name), file=sys.stderr)
for pkg in packages_for_group.get(group.name, []):
pkg_list.add(pkg) pkg_list.add(pkg)
if debug: if debug:
print >>sys.stderr, "# Adding %d explicitly specified packages" % (len(parser.handler.packages.packageList), ) print("# Adding {} explicitly specified packages".format(len(parser.handler.packages.packageList)),
file=sys.stderr)
for pkg in parser.handler.packages.packageList: for pkg in parser.handler.packages.packageList:
pkg_list.add(pkg) pkg_list.add(pkg)
if debug: if debug:
print >>sys.stderr, "# Processing %d explicitly excluded packages" % (len(parser.handler.packages.excludedList), ) print("# Processing {} explicitly excluded packages".format(len(parser.handler.packages.excludedList)),
file=sys.stderr)
for pkg in parser.handler.packages.excludedList: for pkg in parser.handler.packages.excludedList:
if pkg in pkg_list: pkg_list.discard(pkg)
pkg_list.remove(pkg)
for pkg in sorted(pkg_list): for pkg in sorted(pkg_list):
print "%s" % (pkg, ) print(pkg)
sys.exit(0) sys.exit(0)
if __name__ == '__main__': if __name__ == '__main__':
main() main()