Skip to content

Commit

Permalink
Actually delete all old kernels not the latest kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Sep 24, 2024
1 parent 45eae4a commit 65a3f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN dnf swap -y --allowerasing fedora-release-common ultramarine-release-identit
RUN dnf swap -y fedora-logos ultramarine-logos

# Delete old kernels (and maybe all kernels except the latest one)
RUN dnf remove -y $(dnf repoquery --installonly --latest-limit=1 -q)
RUN dnf remove -y $(dnf repoquery --installonly --latest-limit=-1 -q)

# reinstall kernel modules and stuff for the new kernel, install new kernel in case the old one was removed
# Also install some extra packages :3
Expand Down

0 comments on commit 65a3f97

Please sign in to comment.