commit 78114bb82fad5686bdfc166e9b9af098c04c2630
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Wed Sep 23 07:16:18 2015 +0100
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 29fb800..0ede38f 100644
--- a/fedora-cloud-base.ks
+++ b/fedora-cloud-base.ks
@@ -122,8 +122,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.