From 7764a782a585601c673fe3aa89bc320fa4c1a1b8 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 23 Sep 2015 07:16:18 +0100 Subject: [PATCH] adjust linux-firmware for cloud images --- fedora-cloud-base.ks | 5 +++-- fedora-cloud-bigdata.ks | 4 +++- fedora-cloud-experimental.ks | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index f7ffbbf..c57c68b 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -118,8 +118,9 @@ echo . # this is installed by default but we don't need it in virt # Commenting out the following for #1234504 -#echo "Removing linux-firmware package." -#dnf -C -y erase linux-firmware +# rpm works just fine for removing this, no idea why dnf can't cope +echo "Removing linux-firmware package." +rpm -e linux-firmware # Remove firewalld; was supposed to be optional in F18+, but is pulled in # in install/image building. diff --git a/fedora-cloud-bigdata.ks b/fedora-cloud-bigdata.ks index dfd8cf6..987ee5f 100644 --- a/fedora-cloud-bigdata.ks +++ b/fedora-cloud-bigdata.ks @@ -108,8 +108,10 @@ ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target echo . # this is installed by default but we don't need it in virt +# Commenting out the following for #1234504 +# rpm works just fine for removing this, no idea why dnf can't cope echo "Removing linux-firmware package." -yum -C -y remove linux-firmware +rpm -e linux-firmware # Remove firewalld; was supposed to be optional in F18+, but is required to # be present for install/image building. diff --git a/fedora-cloud-experimental.ks b/fedora-cloud-experimental.ks index 727658f..02a0030 100644 --- a/fedora-cloud-experimental.ks +++ b/fedora-cloud-experimental.ks @@ -99,8 +99,10 @@ ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target echo . # this is installed by default but we don't need it in virt +# Commenting out the following for #1234504 +# rpm works just fine for removing this, no idea why dnf can't cope echo "Removing linux-firmware package." -yum -C -y remove linux-firmware +rpm -e linux-firmware # Remove firewalld; was supposed to be optional in F18+, but is required to # be present for install/image building.