diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-12-06 14:11:31 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-12-11 07:04:49 +0100 |
commit | 2d90570e81469bf75b2d4a4275151e282632c18e (patch) | |
tree | 6b0be3e1d82b8fc53b8415d332882984da9c9e4f /metadata/md5-cache/kde-frameworks/qqc2-desktop-style-5.64.0 | |
parent | media-libs/bcg729: Version 4.3.0_alpha (diff) | |
download | gentoo-2d90570e81469bf75b2d4a4275151e282632c18e.tar.gz gentoo-2d90570e81469bf75b2d4a4275151e282632c18e.tar.bz2 gentoo-2d90570e81469bf75b2d4a4275151e282632c18e.zip |
mount-boot.eclass: Check if /boot is sane, but don't try to mount it.
The eclass failed to remount a read-only mounted /boot, because package
collision sanity checks in recent Portage versions prevented it from
reaching pkg_preinst() at all. Furthermore, with the "mount-sandbox"
feature enabled, the mount won't be propagated past pkg_preinst() and
installed files would end up under the (shadowed) mount point.
Therefore don't even attempt to mount /boot ourselves, but error out
if it isn't mounted read/write and ask the user to mount /boot.
Also clean up and simplify. (For example, awk is a grown-up program
which doesn't need any help from egrep or sed. :-)
Closes: https://bugs.gentoo.org/532264
See-also: https://bugs.gentoo.org/274130#c5
Acked-by: Jaco Kroon <jaco@uls.co.za>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'metadata/md5-cache/kde-frameworks/qqc2-desktop-style-5.64.0')
0 files changed, 0 insertions, 0 deletions