From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2BA4A138334 for ; Tue, 3 Dec 2019 13:34:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B14FBE0819; Tue, 3 Dec 2019 13:34:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 896DAE0819 for ; Tue, 3 Dec 2019 13:34:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1183E34D730 for ; Tue, 3 Dec 2019 13:34:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E74578CB for ; Tue, 3 Dec 2019 13:34:25 +0000 (UTC) From: "Andrey Utkin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Utkin" Message-ID: <1575379939.f4d574d2cd566ca34ca55018b4d56a145330df8b.andrey_utkin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/raspberrypi-firmware/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/raspberrypi-firmware/Manifest sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild X-VCS-Directories: sys-boot/raspberrypi-firmware/ X-VCS-Committer: andrey_utkin X-VCS-Committer-Name: Andrey Utkin X-VCS-Revision: f4d574d2cd566ca34ca55018b4d56a145330df8b X-VCS-Branch: master Date: Tue, 3 Dec 2019 13:34:25 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 24317481-25f2-4ab2-9165-78ed334acade X-Archives-Hash: a3416da7e48aa4166beadb25fc9d9a9f commit: f4d574d2cd566ca34ca55018b4d56a145330df8b Author: Andrey Utkin gentoo org> AuthorDate: Mon Dec 2 20:19:05 2019 +0000 Commit: Andrey Utkin gentoo org> CommitDate: Tue Dec 3 13:32:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d574d2 sys-boot/raspberrypi-firmware: add new version 1.20190925 This version features the change that it does not install device tree files. Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Andrey Utkin gentoo.org> sys-boot/raspberrypi-firmware/Manifest | 1 + .../raspberrypi-firmware-1.20190925.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest index da122b1ec64..2570229caf3 100644 --- a/sys-boot/raspberrypi-firmware/Manifest +++ b/sys-boot/raspberrypi-firmware/Manifest @@ -1,2 +1,3 @@ DIST raspberrypi-firmware-1.20190215.tar.gz 123074917 BLAKE2B cefedb5c979db7dfd47938aad37a567d91d3ad78247c7a63f789362768ab7a39a1967ac116b4b0475e3b210ab11f6474706df042af85a622e8e7905c85ec7498 SHA512 082f26caf427222d838881e5f1e9fa0136765b3eaf74a84877fc33616fd07e49085db0889226c40c655039a9d41a10566510c7d752cfc48a67b4683616a51193 DIST raspberrypi-firmware-1.20190709.tar.gz 158835870 BLAKE2B 4e63b3308adcd75f69f66966f1c927449aa8dc65211e6ca5a27dd2a0ed6ed32cc85ad42221308f4fb3a852d9f278400cfe4f723f306abe102341568408027174 SHA512 6a0610c97db47441ede8e4f8436958899f678bf065a0fbde06de7945a1ac4d5f754a0e10d928d77759ba1cbf82654d85d9cb9c91b970c3fe9590560267033522 +DIST raspberrypi-firmware-1.20190925.tar.gz 185571086 BLAKE2B c3a9b2760fa853fbd1dd09bc4048c9e78594f88da5af608c3a761554d4046a4c869db8981c64140a24e82e0a61b8dc776bb8d895df60c6424e44780f78b18cb0 SHA512 4b7b29cc6c2a33d7a37987c492034d9afbb2220364c50cf265e0adf8e5f393c2275dcffaa77c89b3f43b2e98d199741b67590cb60ff8beae8ef677852f63b4a0 diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild new file mode 100644 index 00000000000..e1ebbe9b7e4 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20190925.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mount-boot readme.gentoo-r1 + +DESCRIPTION="Raspberry Pi (all versions) bootloader and GPU firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" + +# Temporary safety measure to prevent ending up with a pair of +# sys-kernel/raspberrypi-image and sys-boot/raspberrypi-firmware +# none of which installed device tree files. +# Remove when the mentioned version and all older ones are deleted. +RDEPEND="!<=sys-kernel/raspberrypi-image-4.19.57_p20190709" + +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/raspberrypi/firmware" + EGIT_CLONE_TYPE="shallow" +else + SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="-* ~arm" + S="${WORKDIR}/firmware-${PV}" +fi + +RESTRICT="binchecks strip" + +pkg_preinst() { + if [ -z "${REPLACING_VERSIONS}" ] ; then + local msg="" + if [ -e "${D}"/boot/cmdline.txt -a -e /boot/cmdline.txt ] ; then + msg+="/boot/cmdline.txt " + fi + if [ -e "${D}"/boot/config.txt -a -e /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 durning install" + msg="${msg} and merge settings afterwards." + msg="${msg} Further updates will be CONFIG_PROTECTed." + die "${msg}" + fi + fi +} + +src_install() { + insinto /boot + cd boot || die + doins bootcode.bin fixup*.dat start*elf + newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt + newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt + newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} + +DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt"