Summary: | sys-firmware/intel-microcode: installation will fail when /boot is mounted ro only | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | dev-portage, josef64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=710618 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Deutschmann (RETIRED)
2019-05-26 23:59:16 UTC
(In reply to Thomas Deutschmann from comment #0) > It looks like portage is checking for /boot after src_install, before any > pkg_* function which clashes with mount-boot eclass. The readonly and file collision checks are intentionally executed prior to pkg_preinst, since pkg_preinst could potentially make irreversible changes that are better to avoid when the readonly and file collision checks fail. I suppose we could trust that execution of pkg_preinst should be harmless, and delay the readonly and file collisions checks until afterwards. Maybe we should support a RESTRICT or PROPERTIES value to trust pkg_preinst in this respect. Note that FEATURES=mount-sandbox may interfere with mount-boot.eclass functions. In my case there's _no_ FEATURES=mount-sandbox set. For me, this also fails for unmounted /boot. See Bug 710618 |