diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-06 12:28:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-06 12:28:43 +0100 |
commit | 8bf02d8edf7e8947a205e2dca77bee4c4e31739b (patch) | |
tree | 3711c04de0185e8d4835ac527c634e0d4893ad7e /sys-boot/raspberrypi-firmware | |
parent | 5d93bae2c1576ab817f482024a6d47592829407b (diff) |
gentoo auto-resync : 06:09:2024 - 12:28:42
Diffstat (limited to 'sys-boot/raspberrypi-firmware')
-rw-r--r-- | sys-boot/raspberrypi-firmware/Manifest | 4 | ||||
-rw-r--r-- | sys-boot/raspberrypi-firmware/metadata.xml | 4 | ||||
-rw-r--r-- | sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20240902.ebuild | 72 |
3 files changed, 79 insertions, 1 deletions
diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest index 1fe395126033..577a41fa89e4 100644 --- a/sys-boot/raspberrypi-firmware/Manifest +++ b/sys-boot/raspberrypi-firmware/Manifest @@ -3,7 +3,9 @@ AUX raspberrypi-firmware-1.20201022-cmdline.txt 108 BLAKE2B b7830fdaf1ffb64cb07a AUX raspberrypi-firmware-1.20201022-config.txt 1784 BLAKE2B 7f37f02c486e6db2767b108e5926dc056f558ef32ae8ac3debea2fe7a210b159a2e4721846be8719520667c9bb86dc5d15c7c815f90dfe2686748f4d474fac61 SHA512 0909fae9bf731417f732486f7823f92a142824f5cab490b1736a16e7f569c9ecd805828c533c238dd3c5d75efcd2679e0d3697d988388000e1475a966fa66f12 DIST raspberrypi-firmware-1.20221104.tar.gz 184890613 BLAKE2B 51901015d10f7f06504a1cd4eaf50788065f78d806293e5cb40e930c926ad3f76688684b2333c87fd6528418372ac3b5f8f7ad32595a09d4f896717ebea51d29 SHA512 6662f3fdeffbf98819dd57d1c3d8571d7c8bd7d69a8eb5e38823e4ef2857ebfa4e550735f9488e10719a261a0cdcb99cb7f3fb765d674459d42737f4e2cfd357 DIST raspberrypi-firmware-1.20230106.tar.gz 185087907 BLAKE2B 656cc8325aa96d11f44419e871141beba95172b5c0c96e4b0a4cccca51127040328dc9f6c70cbba0248f8404ce0cf390e4bf937db7e0506c286db5adc4e56eef SHA512 41492a90da91d29e1025deeaad452c6b485f5412ff375b2fc144c2630afcdfef99ecbf701ca5e1afc5bb41bd6f2413b239257f1734dfe17084210e96b28eda7a +DIST raspberrypi-firmware-1.20240902.tar.gz 154483648 BLAKE2B e3d9fabb23246d90948004dde37f2125779a86aa62737b51b03cacea13d1ca715724587b0da106efba19c80a1bafcf1537101ce13ba4374602ca9e4957c81f87 SHA512 b5b1a74e1e9f9760fd19f98a35505b2e127e212c17afbdf08e1b92198f32de73655fb24c16d662318ccf50621ae5e1a6ed5aa877d2d1cc654d26b8ff168c1e82 EBUILD raspberrypi-firmware-1.20221104.ebuild 1889 BLAKE2B 35b7598b8ccf0120d099272c53c86e0c8eedbe52a1416f93c7b84a602bf69e64bb44db73812330e525d2992f5612eca83af00f0af4fda3b6960984b95eeb6780 SHA512 d86af79acd2767cd8bba55b3b2cf9978ab5cc5b6ae9d04cfe34a15ffc8deb00c128ebb25b5fee7f85c45b28d480032d914d77d291dbd1a0d589e46c8460cc9d1 EBUILD raspberrypi-firmware-1.20230106.ebuild 1889 BLAKE2B 35b7598b8ccf0120d099272c53c86e0c8eedbe52a1416f93c7b84a602bf69e64bb44db73812330e525d2992f5612eca83af00f0af4fda3b6960984b95eeb6780 SHA512 d86af79acd2767cd8bba55b3b2cf9978ab5cc5b6ae9d04cfe34a15ffc8deb00c128ebb25b5fee7f85c45b28d480032d914d77d291dbd1a0d589e46c8460cc9d1 +EBUILD raspberrypi-firmware-1.20240902.ebuild 1891 BLAKE2B b237c821c9489be9ec130be2ba1e089ed8e78c967c5cfd78a91a99a5aa6123767ba34676698fcae3c54251a1398d9b700deff8658fa9bdc328e801179ab5a952 SHA512 1dd023d75353a5cbc540619169b7dcff203254938729c33d787f1d9e1d40a1e367ebbd86487e895dc0a452bc26e2b397e625c60c55f803fbce9fc8c05f71bfbe EBUILD raspberrypi-firmware-9999.ebuild 1891 BLAKE2B ca43f4e2533f2938e1cac56e303ee91ae643b5d76cc2654846ff4d59fc4f1f57690d0effa252c98646f53d6a2c9dc6c43ef2bffeb335438616d4deb0c3f41f84 SHA512 c4cfff21db5ec5d502fd3883a13c82be2c9af1fc08163ce1ce9bd2c903894977526f8ff55bba7ce73876c8328d015e7cf46120117246aa1887af2f5aa9679634 -MISC metadata.xml 582 BLAKE2B 291125d986923c2fce1f7574c7e999c11be37b94c933ccf540675e9fa14c608513e9a2bba0cbedb18841862322c566b783b3cd822b226b12e453e137ed2823f6 SHA512 e286b1f30d069b0e8b5db1833a2501f3de46234b16689052c741deb4855b6e35b9852b5ba7ba177c5fe8730e51a3c2202937a4ee4be47633a926a68509c87786 +MISC metadata.xml 691 BLAKE2B 9b93cfe7949afeb6c63c1861ae765b231737c5c59d319448235c0edbfd36f5180878ce604e434696683c2010a5454a4013ea23f03b8553e7c8da267efe4b5c69 SHA512 81f029088bf345abf354cd7ba9d826dd542d47760b85826b2499222062b0d91c1bd792f4722784acff32239dafc01ceedecac6b26a486d2e25fa04673f4f8137 diff --git a/sys-boot/raspberrypi-firmware/metadata.xml b/sys-boot/raspberrypi-firmware/metadata.xml index 7dc1cd3ab167..d01275b7f1e7 100644 --- a/sys-boot/raspberrypi-firmware/metadata.xml +++ b/sys-boot/raspberrypi-firmware/metadata.xml @@ -5,6 +5,10 @@ <email>expeditioneer@gentoo.org</email> <name>Dennis Lamm</name> </maintainer> + <maintainer type="person"> + <email>ceamac@gentoo.org</email> + <name>Viorel Munteanu</name> + </maintainer> <upstream> <bugs-to>https://github.com/raspberrypi/firmware/issues</bugs-to> <remote-id type="github">raspberrypi/firmware</remote-id> diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20240902.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20240902.ebuild new file mode 100644 index 000000000000..a010861b12d2 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20240902.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit mount-boot readme.gentoo-r1 + +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 ~arm64" + S="${WORKDIR}/firmware-${PV}" +fi + +DESCRIPTION="Raspberry Pi (all versions) bootloader and GPU firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" +RESTRICT="binchecks strip" + +DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" + +src_prepare() { + default + + cp "${FILESDIR}"/${PN}-1.20201022-config.txt "${WORKDIR}" || die + + if use arm64; then + # Force selection of the 64-bit kernel8.img to match our userland + echo "arm_64bit=1" >> "${WORKDIR}"/${PN}-1.20201022-config.txt || die + fi +} + +src_install() { + insinto /boot + cd boot || die + doins bootcode.bin fixup*.dat start*elf + newins "${WORKDIR}"/${PN}-1.20201022-config.txt config.txt + newins "${FILESDIR}"/${PN}-1.20201022-cmdline.txt cmdline.txt + newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} + readme.gentoo_create_doc +} + +pkg_preinst() { + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + local msg="" + + if [[ -e "${ED}"/boot/cmdline.txt ]] && [[ -e /boot/cmdline.txt ]] ; then + msg+="/boot/cmdline.txt " + fi + + if [[ -e "${ED}"/boot/config.txt ]] && [[ -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 during install" + msg="${msg} and merge settings afterwards." + msg="${msg} Further updates will be CONFIG_PROTECTed." + die "${msg}" + fi + fi +} + +pkg_postinst() { + readme.gentoo_print_elog +} |