From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0DABB59CA3 for ; Tue, 15 Mar 2016 13:50:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8265121C010; Tue, 15 Mar 2016 13:50:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C93B021C009 for ; Tue, 15 Mar 2016 13:50:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60A5233BF44 for ; Tue, 15 Mar 2016 13:50:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAFF785D for ; Tue, 15 Mar 2016 13:49:59 +0000 (UTC) From: "Michael Weber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" Message-ID: <1458049707.0364dc90bbaee22ab569bc7602527350f829a279.xmw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/raspberrypi-image/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/raspberrypi-image/Manifest sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild X-VCS-Directories: sys-kernel/raspberrypi-image/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 0364dc90bbaee22ab569bc7602527350f829a279 X-VCS-Branch: master Date: Tue, 15 Mar 2016 13:49:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 41017bdb-5de2-4a3e-a821-86d13760dfe2 X-Archives-Hash: 01f58e350ea11841b0cfa301bb9d388c commit: 0364dc90bbaee22ab569bc7602527350f829a279 Author: Michael Weber gentoo org> AuthorDate: Tue Mar 15 13:34:09 2016 +0000 Commit: Michael Weber gentoo org> CommitDate: Tue Mar 15 13:48:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0364dc90 sys-kernel/raspberrypi-image: Version bump. Package-Manager: portage-2.2.28 sys-kernel/raspberrypi-image/Manifest | 1 + .../raspberrypi-image-4.1.19_p20160309.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/sys-kernel/raspberrypi-image/Manifest b/sys-kernel/raspberrypi-image/Manifest index bacb97e..9fa4abf 100644 --- a/sys-kernel/raspberrypi-image/Manifest +++ b/sys-kernel/raspberrypi-image/Manifest @@ -1 +1,2 @@ DIST raspberrypi-firmware-1.20160209.tar.gz 114792438 SHA256 ca6a88db72e90ef821b8ca7755bbee9c1d5bdb9a621a45eb029af195d2d29751 SHA512 281092c11d422d821e5e2b0479c3b8f891f8df66cfbf931992902d759c99ed40cbb2d9fada1f944372e5bcd8af69784739e79e9912db3482892b10bf668611f2 WHIRLPOOL 81974a53562ee91544d7a01dc9f4f4173a6e882891f8cf744b700162ddd8f8607b1cfcbbde04cafe2bcea47489f9ea4fd8840adf776e806bef0dba574448e76e +DIST raspberrypi-firmware-1.20160309.tar.gz 115673896 SHA256 ead0e82b930fdeed9636a6d2d6e07b2512b5f36de3c902da5beaa9328708e181 SHA512 30a6396ef52355c6f6404354645e8d0f5bbf70332b0e1661dfa8ef3456154d07e105d3b7b5bd64efb3e7397fa2fb8c36de1aa78040dc4118060b26949c2ab884 WHIRLPOOL 19a2a28e7dc1403958f12338b5029187bb752f1367f9a46e217b3d91b098960f1cf75efb3610defe3bb2f521559019453cf50a52def3abb9c1ac61419b8ea328 diff --git a/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild b/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild new file mode 100644 index 0000000..7301af3 --- /dev/null +++ b/sys-kernel/raspberrypi-image/raspberrypi-image-4.1.19_p20160309.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit readme.gentoo + +DESCRIPTION="Raspberry PI boot loader and firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +MY_PV="1.20160309" +SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV} -> raspberrypi-firmware-${MY_PV}.tar.gz" + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="${PVR}" +KEYWORDS="~arm -*" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/firmware-${MY_PV} + +RESTRICT="" + +pkg_preinst() { + if [ -z "${REPLACING_VERSIONS}" ] ; then + local msg="" + if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then + msg+="/boot/cmdline.txt " + fi + if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then + msg+="/boot/config.txt " + fi + if [ -n "${msg}" ] ; then + msg="This package installs following files: ${msg}." + msg="${msg} Please remove(backup) your copies during install" + msg="${msg} and merge settings afterwards." + msg="${msg} Further updates will be CONFIG_PROTECTed." + die "${msg}" + fi + fi + + if ! grep "${ROOT}boot" /proc/mounts >/dev/null 2>&1; then + ewarn "${ROOT}boot is not mounted, the files might not be installed at the right place" + fi +} + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + insinto /lib/modules + doins -r modules/* + insinto /boot + newins boot/kernel.img kernel-${PV}.img + newins boot/kernel7.img kernel7-${PV}.img + + readme.gentoo_create_doc +} + +DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt"