Skip to content

Commit

Permalink
update yum exclude sed
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Nov 23, 2023
1 parent 7c9b543 commit fa51558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedora-mbp.ks
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mv /etc/resolv.conf_backup /etc/resolv.conf
rpm -e $(rpm -qa | grep kernel | grep -v headers | grep -v oops | grep -v wifi | grep -v mbp)
### Add kernel RPM packages to YUM/DNF exclusions
sed -i '/^type=rpm.*/a exclude=kernel,kernel-core,kernel-devel,kernel-devel-matched,kernel-modules,kernel-modules-extra,kernel-modules-internal' /etc/yum.repos.d/fedora*.repo
sed -i '/^type=rpm.*/a exclude=kernel,kernel-core,kernel-devel,kernel-devel-matched,kernel-modules,kernel-modules-core,kernel-modules-extra,kernel-modules-internal,kernel-uki-virt' /etc/yum.repos.d/fedora*.repo
%end

Expand Down

0 comments on commit fa51558

Please sign in to comment.