From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mount-boot.eclass
Date: Thu, 30 Jul 2015 07:03:14 +0000 (UTC) [thread overview]
Message-ID: <20150730070314.CDB81111@oystercatcher.gentoo.org> (raw)
vapier 15/07/30 07:03:14
Modified: mount-boot.eclass
Log:
do not attempt to mount /boot when installing packages into a different root #532264 by Michał Górny
Revision Changes Path
1.21 eclass/mount-boot.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mount-boot.eclass?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mount-boot.eclass?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mount-boot.eclass?r1=1.20&r2=1.21
Index: mount-boot.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- mount-boot.eclass 30 Jul 2015 07:00:40 -0000 1.20
+++ mount-boot.eclass 30 Jul 2015 07:03:14 -0000 1.21
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.20 2015/07/30 07:00:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.21 2015/07/30 07:03:14 vapier Exp $
# @ECLASS: mount-boot.eclass
# @MAINTAINER:
@@ -16,6 +16,11 @@
EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_prerm pkg_postrm
mount-boot_mount_boot_partition() {
+ # Since this eclass only deals with /boot, skip things when ROOT is active.
+ if [[ "${ROOT:-/}" != "/" ]] ; then
+ return
+ fi
+
if [[ -n ${DONT_MOUNT_BOOT} ]] ; then
return
else
next reply other threads:[~2015-07-30 7:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 7:03 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-30 7:16 [gentoo-commits] gentoo-x86 commit in eclass: mount-boot.eclass Mike Frysinger (vapier)
2015-07-30 7:14 Mike Frysinger (vapier)
2015-07-30 7:00 Mike Frysinger (vapier)
2015-07-30 6:53 Mike Frysinger (vapier)
2011-01-09 3:18 Mike Frysinger (vapier)
2009-10-09 20:57 Mike Frysinger (vapier)
2009-02-27 1:53 Mike Frysinger (vapier)
2008-11-27 18:36 Mike Frysinger (vapier)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150730070314.CDB81111@oystercatcher.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox