Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xmw:master commit in: sys-boot/raspberrypi-firmware/
Date: Wed, 01 Apr 2015 15:11:37
Message-Id: 1427901068.26886f50a44e1d32b7d0697fa46c55a96dd8abe7.xmw@gentoo
1 commit: 26886f50a44e1d32b7d0697fa46c55a96dd8abe7
2 Author: Michael Weber <michael <AT> xmw <DOT> de>
3 AuthorDate: Wed Apr 1 15:11:08 2015 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 15:11:08 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=26886f50
7
8 Fix bug 520686 by Maxim Mikityanskiy.
9
10 Package-Manager: portage-2.2.18
11 Manifest-Sign-Key: 62EEF090
12
13 sys-boot/raspberrypi-firmware/ChangeLog | 4 ++++
14 .../raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild | 4 ++--
15 2 files changed, 6 insertions(+), 2 deletions(-)
16
17 diff --git a/sys-boot/raspberrypi-firmware/ChangeLog b/sys-boot/raspberrypi-firmware/ChangeLog
18 index 9ebdcf3..8645770 100644
19 --- a/sys-boot/raspberrypi-firmware/ChangeLog
20 +++ b/sys-boot/raspberrypi-firmware/ChangeLog
21 @@ -1,3 +1,7 @@
22 + 01 Apr 2015; Michael Weber <xmw@g.o>
23 + raspberrypi-firmware-1_pre20150327.ebuild:
24 + Fix bug 520686 by Maxim Mikityanskiy.
25 +
26 *raspberrypi-firmware-1_pre20150327 (01 Apr 2015)
27
28 01 Apr 2015; Michael Weber <xmw@g.o>
29
30 diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild
31 index 2c2d0bc..1b46d8b 100644
32 --- a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild
33 +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild
34 @@ -31,10 +31,10 @@ src_unpack() { :; }
35 pkg_preinst() {
36 if [ -z "${REPLACING_VERSIONS}" ] ; then
37 local msg=""
38 - if [ -e "${D}"/boot/cmdline.txt -a -e /boot/cmdline.txt ] ; then
39 + if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then
40 msg+="/boot/cmdline.txt "
41 fi
42 - if [ -e "${D}"/boot/config.txt -a -e /boot/config.txt ] ; then
43 + if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then
44 msg+="/boot/config.txt "
45 fi
46 if [ -n "${msg}" ] ; then