summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2022-09-19 13:12:42 -0400
committerMike Pagano <mpagano@gentoo.org>2022-09-19 13:12:42 -0400
commit66eaffe313107b114110312ae920bdf21a289fdd (patch)
tree8387ea9acfefc6d2dc7cf8f77a8cb78e2d35097c /sys-kernel/linux-firmware
parentdev-python/uc-micro-py: Keyword 1.0.1 arm, #871552 (diff)
downloadgentoo-66eaffe313107b114110312ae920bdf21a289fdd.tar.gz
gentoo-66eaffe313107b114110312ae920bdf21a289fdd.tar.bz2
gentoo-66eaffe313107b114110312ae920bdf21a289fdd.zip
sys-kernel/linux-firmware: Fix for symlink is blocked by a directory
Closes: https://bugs.gentoo.org/871315 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'sys-kernel/linux-firmware')
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20220913.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-kernel/linux-firmware/linux-firmware-20220913.ebuild b/sys-kernel/linux-firmware/linux-firmware-20220913.ebuild
index f4b705f99cb1..6d9e1a411ca5 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20220913.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20220913.ebuild
@@ -334,6 +334,11 @@ pkg_postinst() {
fi
done
+ # Fix 'symlink is blocked by a directory' Bug #871315
+ if has_version "<${CATEGORY}/${PN}-20220913" ; then
+ rm -rf "${ROOT}"/lib/firmware/qcom/LENOVO/21BX
+ fi
+
# Don't forget to umount /boot if it was previously mounted by us.
use initramfs && mount-boot_pkg_postinst
}