#1041 Replace DNF with DNF 5 (F41 edition)
Merged 8 days ago by adamwill. Opened 22 days ago by egoode.
egoode/fedora-kickstarts evan-goode/dnf5  into  main

Replace dnf with dnf5
Evan Goode • 17 days ago  
Replace microdnf with dnf5
Evan Goode • 17 days ago  
@@ -22,12 +22,6 @@ 

  bootloader --timeout=1 --location=mbr --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"

  

  %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

  # users setup. This can actually take a bit of time.  Just fold it

  # in to the base box disk image

@@ -1,11 +1,11 @@ 

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

  

  %include fedora-container-common.ks

  

  %packages --excludedocs --instLangs=en --nocore --excludeWeakdeps

- microdnf

+ dnf5

  -tzdata

  %end

  

file modified
+2 -2
@@ -7,8 +7,8 @@ 

  rootfiles

  tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920

  vim-minimal

- dnf

- dnf-yum  # https://fedorahosted.org/fesco/ticket/1312#comment:29

+ dnf5

+ dnf5-plugins

  sudo

  -glibc-langpack-en

  -langpacks-en

file modified
+2 -3
@@ -28,9 +28,8 @@ 

  curl

  default-editor

  diffutils

- dnf

- dnf-yum  # https://fedorahosted.org/fesco/ticket/1312#comment:29

- dnf-plugins-core

+ dnf5

+ dnf5-plugins

  -dosfstools

  -e2fsprogs

  fedora-release-toolbx

file modified
+1 -5
@@ -11,11 +11,7 @@ 

  tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920

  vim-minimal

  

- dnf

- dnf-yum  # https://fedorahosted.org/fesco/ticket/1312#comment:29

- python3-dnf-plugins-core # https://github.com/fedora-eln/eln/issues/166

- 

- dnf5  # https://github.com/fedora-eln/eln/issues/175

+ dnf5

  dnf5-plugins

  

  sudo

file modified
+1 -2
@@ -32,11 +32,10 @@ 

  # Packages

  %packages

  @core

- dnf

+ dnf5

  kernel

  yum

  nfs-utils

- dnf-utils

  

  # pull firmware packages out

  -aic94xx-firmware

file modified
+1 -1
@@ -1,5 +1,5 @@ 

  %packages

- microdnf

+ dnf5

  -@standard

  -initial-setup-gui

  -generic-release*

@@ -31,7 +31,7 @@ 

  util-linux

  rpm

  shadow-utils

- microdnf

+ dnf5

  glibc-minimal-langpack

  grubby

  kernel

This change was originally slated for F39 but was delayed to F41. The F39 PR was: https://pagure.io/fedora-kickstarts/pull-request/967, which was merged and then reverted here: https://pagure.io/fedora-kickstarts/pull-request/973.

DNF 5 is the new package manager which should replace DNF and microdnf in Fedora 41+. See https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5.

LGTM but Pagure says there are conflicts.

rebased onto b3f2915

17 days ago

LGTM but Pagure says there are conflicts.

Whoops, yes I based these on a really old commit. Rebased.

Pull-Request has been merged by adamwill

8 days ago

(we probably can get rid of the container and cloud kickstarts now, actually, but hey...)