diff options
author | Mike Pagano <mpagano@gentoo.org> | 2022-09-19 13:12:42 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2022-09-19 13:12:42 -0400 |
commit | 66eaffe313107b114110312ae920bdf21a289fdd (patch) | |
tree | 8387ea9acfefc6d2dc7cf8f77a8cb78e2d35097c /sys-kernel/linux-firmware | |
parent | dev-python/uc-micro-py: Keyword 1.0.1 arm, #871552 (diff) | |
download | gentoo-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.ebuild | 5 |
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 } |