From fe69bba14b3b815711594e43a1a906ff2e19a06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 12 May 2014 00:37:22 +0200 Subject: [PATCH] rpm: remove /lib/firmware/updates link It is no longer needed and currently broke linux-firmware package installation. --- rpm_spec/core-vm.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index 64a2a0a..15fddc9 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -193,9 +193,9 @@ fi # Remove ip_forward setting from sysctl, so NM will not reset it sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf -# Install firmware link only on system which haven't it yet -if ! [ -e /lib/firmware/updates ]; then - ln -s /lib/modules/firmware /lib/firmware/updates +# Remove old firmware updates link +if [ -L /lib/firmware/updates ]; then + rm -f /lib/firmware/updates fi if ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf' /etc/yum.conf; then