diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-boot/raspberrypi-firmware |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-boot/raspberrypi-firmware')
9 files changed, 322 insertions, 0 deletions
diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest new file mode 100644 index 000000000000..b3475418e160 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/Manifest @@ -0,0 +1,19 @@ +AUX raspberrypi-firmware-0_p20130711-cmdline.txt 203 SHA256 4a5b380215cf65e7849ec11071abde3fdb002335747886cda35fa45b6d93fdb3 SHA512 ea4ddd6005bf8979d4299867a8889d67192c91467833beff8785bc01ac8d33544e712b2956da51b58a7b4ab1a1acaf4f27428d294f0dfae87ec91da8a71e3c9f WHIRLPOOL 11245812d1a7363ab0ac2849d92e0fb927d6d1f7a4efdc95508c52db471822e2c62dd9781a3dcb6fa46c3c819392091bc3a271f8408c71ca15f32341729684c1 +AUX raspberrypi-firmware-0_p20130711-config.txt 1706 SHA256 e34a2735eb15dc3927ca0c8f782d7c3b6ba9aa7271aabfa794985eadb3ce5c5a SHA512 2a0a19a84ab871d73e330e870b086b85a7776a1b17dd6054451be735249208a982249ca62f6d2fe51aba74c78f36266143d65ffe0549cdf8afbf20bcf637c78f WHIRLPOOL ba3854d8bc2e352d1e15635d63fcb1508a2d74288e9e3dc6d19fdd79cff439c0ad4fb10f459f9ed88e1898d1f81c6aadb8a2a117c6dcd9d159ca0fd20ca0249d +AUX raspberrypi-firmware-0_p20130711-envd 53 SHA256 5daacb075f5501dc76c7cacce643ce43b42da5ad69932098eab6d184e36104a8 SHA512 032aa497cbde187ed8cfa5ba5adaf96b28f9dd2babb882d934d9009771ca50e9d8c6a8d5535551a8e8cf8e1932865dd0e4806ba56c9694952cbb3d93f9081ca7 WHIRLPOOL d003045db57217f55c29d8f144a59fa3be7196945512e1d9c9135eb38440ff1c1247edcf8268393e65776f750eeae5136802f46b20065e3bf3783ee1c6f11955 +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 +DIST raspberrypi-firmware-b2dbc04508-bootcode.bin 17816 SHA256 f89d19c5287e566320ecd7e1d70d649f308a1b9d05a29d88a0768c3ba7a2bd14 SHA512 5332b2554cbdd3abb32f52506b851f7b3dc2c76a6f9040ec8ad946f6d9faf479e502dda11070aba7706d83e1c3839ff92ca8fbf8e79b972f91814dedbe19ea48 WHIRLPOOL 24e179152e392fc303e92cdfb8b4ef64e323736854bc826ddd0132a5652c9aa441027791781ff7f16fa7fb761485629977bd0882561b008fb66d4503be171e05 +DIST raspberrypi-firmware-b2dbc04508-fixup.dat 5742 SHA256 98b57d8c03426e31d60a3cfb2e2f7c3388978ab1d5591e97f9b8c05c42d44634 SHA512 f701fce3db35bfcd204ca7130aa0db1a77a5c83815409ac0b85f1a57e495aea6cbdf81db985436b33b8862545a271743ea2edefd3b7c9ac0a5e5e30bafd206f3 WHIRLPOOL 7ec85f32fa966ba70fc4c2973588b94c4b48baf9bf0916f71b71171445c2defeebd19cd79f35369fc87c69c58e10fd927de553dc02c8fcf0baf8cc0a2fd9125c +DIST raspberrypi-firmware-b2dbc04508-fixup_cd.dat 2032 SHA256 98af02d14bc617af5d44be8c3e4d059e150b6de968dbff86a79cfa25eeaa2b57 SHA512 c6b8b6fb7bc99f77c3aee5d51e1e07a5f9c4119d2ec64ade335315c0c28a2f6d310463a48b0becb424198d3771dc079fda1c15bb03b18c125bfb1b32f5c9867f WHIRLPOOL 11b35f02cf50bc33b3a7d77066c7194ca0fa51b4d912e489ecc3097f300ab2604f404e7e18f29045236cb5df8d0e81fe466f991116c6df5bd58a77610a964cf5 +DIST raspberrypi-firmware-b2dbc04508-fixup_x.dat 8693 SHA256 ace173aa32d389e49ff3f7b8bb94712ed175b390b6bc2b083adff2fabc119457 SHA512 ea407fd4b6422a7c932e118260cebd4c578a15bbbbea07e76bf1175b9bf9776e006172997d085e50a2a2a28965afd036a66450b1f0b17fcda741f9f02673c20f WHIRLPOOL 6fc13c0b98455d3601463dcfd8635ce63b5845e86847d8c42d19a9453ff34fcae1e0b5a1144d6152687b01910989c7f1528099924eceef6cfa2a55e48e7a2b34 +DIST raspberrypi-firmware-b2dbc04508-start.elf 2494932 SHA256 a83ac7c267fa9dc057bed1c04f7da973ee37c1471b669fd37e5a2edc4bafa9a3 SHA512 bc1f5590de691b10bd375bc20acfe18a8658e4109736af4280ef7a3331024b61162330d8d687aca7da78bdb160beefd8bc38c90791e3e320282b8e98e091f670 WHIRLPOOL 0e825e21491cfdb2099c2c9ba6e4858083a9d749a49b3a91fe0a31cf6ec9877958899f8c41f74f2d745b7264ffd2506f13ea894d45515d968b6bc0f3e118a339 +DIST raspberrypi-firmware-b2dbc04508-start_cd.elf 469560 SHA256 1f05ae4ab2446cee6aae264b55a37e9e9ca0ed116fbb88214680397d1d50885e SHA512 bbd4b519ef6f830db7efdbb62f7f308a6092b9e99279fea96307771da08bf12898c664165d6dbd556799162728a479c1d0e1f8fd67ef2c2a7c731354dbea9d99 WHIRLPOOL 9bf67424f34db9bf35c08a7a550ce0a554180210cdfdda53d30260a27b342f828a1e67a00b501af8a86cfedf5533b263122fbe0277d0bcbab22f9ce7389038e0 +DIST raspberrypi-firmware-b2dbc04508-start_x.elf 3462244 SHA256 f4d1636e6ccd4274256b496ad30e95681e0ad7ee790cd83fd90ac3dcfb569b23 SHA512 4efb07958838d339b5635465e890cc433d734a47a5ec2d3e8b512755decc4fbffdd6b68f14c09b63284215f6b9d7716c222d77f18de0c783daa895e208796d2d WHIRLPOOL 5e4db8cdd288ed56a0d9eb4afc1c311f745f1db9d9b71cbd3b85da803953f5847d041e6287a9c2c34cfd45efc7a765182beb1234040132b1add29037355a8bde +EBUILD raspberrypi-firmware-1.20160209.ebuild 1156 SHA256 3d480075f4befbe22e897104c2e10ad874dabc77014ba8bdb2698da98a6a09a2 SHA512 b28b1633169d77f939ac0853898c828b34c0ba73589e20858ad07e836bdd604bd9392fe84d24e729b1eca360190a853461e04e87a08889a8e3e97df5a1fc83f5 WHIRLPOOL 9b06c3dbf0b9cc7c6ee15ae1415a226e7e49fe7f7862df57a7e68c1479b8b9c2d610428fd064118ca58fdfc031f46d611c3bda20376607b7c698574c92900b0e +EBUILD raspberrypi-firmware-1.20160309.ebuild 1156 SHA256 3d480075f4befbe22e897104c2e10ad874dabc77014ba8bdb2698da98a6a09a2 SHA512 b28b1633169d77f939ac0853898c828b34c0ba73589e20858ad07e836bdd604bd9392fe84d24e729b1eca360190a853461e04e87a08889a8e3e97df5a1fc83f5 WHIRLPOOL 9b06c3dbf0b9cc7c6ee15ae1415a226e7e49fe7f7862df57a7e68c1479b8b9c2d610428fd064118ca58fdfc031f46d611c3bda20376607b7c698574c92900b0e +EBUILD raspberrypi-firmware-1_pre20130807.ebuild 1639 SHA256 59f345d8cbe52a01c12bc1f1c5a746999c04d571cd753e3f142a08f6523fe22a SHA512 ac655e12570990ad9bf7381b4205bddd4bb8a6248001f9b9def2988bcc3ec30ee828332423b993fed86dffeeaf94f48d0d21dab9c91da88a26329841c40a59fe WHIRLPOOL 967486bc837019a23853cc107ac98dfae738a8ce5df38cabd5bac0ef10f610da896c3a081eda0900b44bb207b0550aeaf2ccd402e40e21a7169b4a4edd9c615a +EBUILD raspberrypi-firmware-9999.ebuild 1419 SHA256 5a47add205301140cbb1889ca10b2561a2c0008bb4f329b8e0a208af7942aceb SHA512 384b8be784a224702cf843bc9ed8ed6777d55f836717fc08a355787564e58c5e463a20d8b2a42342f2bc0b1bd772a0d54dbec82bef05b951b90a42884fdaaddf WHIRLPOOL 7fa7a5f5d409035de1a6c982f908a377deef455a8607e0c0ad6e177f5e511f6d4d51383f32dd856ff9600a572fdb981458f2f452bf338da756daf4d48c9fa942 +MISC ChangeLog 3519 SHA256 3db8daae9427836d65adb59d79f57679cb527cd725864882c63bc57ea2525190 SHA512 f05561ff8b8beba6fc233adeb084c97ec4a757eaf39312dce3d42bda9188f9c98f5a4b0a4a8c69b4a0ff32c177838f6a952a2be44cd96288384d12e35a3201b6 WHIRLPOOL 30540afbbae5d41199f0f2a516c45be159042f0c6216e1f417144e3777b5f9ae4ea3c5fd4465dd52672f6f3b7e0cd8c29240aa5eeacac7c04389b454ba8e1627 +MISC ChangeLog-2015 2689 SHA256 a0f06173b825e0a90a8903b68fe073311c5324b09493463751cfa7c9505cb5f9 SHA512 56cb570e80679910e73822e33b32f44c30f0382b4dd646d39d8fbc548d9f05b694aa31c11780c4d269ae3c6d82ac1e63a3a5fcfb6d3f300676d587f17dde8173 WHIRLPOOL f90032c9729a1fbc46115ca29d1eee4030ae894504c14e4efb6f29db490e5413b0743088ad24e6eafbf55eed115d51653d8c3c73cc8e81af8d69978d53a9f945 +MISC metadata.xml 328 SHA256 adde4d5f834d63864f747c98c70e137549ff61561f515e6c87e3ecf053f4dc29 SHA512 4cde6e59e1ac26fa36447734906b1f68432121175d6691cb6b5f8fc1e50e1afea3121e108a1c75fa58704a4882491143c97111ef5e3dcc49665b89c0a7bd6494 WHIRLPOOL 1f0b32e8a40dc92ca29863f2eadd21f56efa3a3843e4274fd6b7bcbccf5c85d0d348c97bd4f5a295057be5e83d4eecf3a970f955bff378b3e8c73e5dbac9e44c diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt new file mode 100644 index 000000000000..39112a2dba61 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt @@ -0,0 +1 @@ +ipv6.disable=0 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop rootwait diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt new file mode 100644 index 000000000000..9401530925de --- /dev/null +++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt @@ -0,0 +1,81 @@ +#from archlinux arm sdcard image +# uncomment if you get no picture on HDMI for a default "safe" mode +#hdmi_safe=1 + +# uncomment this if your display has a black border of unused pixels visible +# and your display can output without overscan +#disable_overscan=1 + +# uncomment the following to adjust overscan. Use positive numbers if console +# goes off screen, and negative if there is too much border +#overscan_left=16 +#overscan_right=16 +#overscan_top=16 +#overscan_bottom=16 + +# uncomment to force a console size. By default it will be display's size minus +# overscan. +#framebuffer_width=1280 +#framebuffer_height=720 + +# uncomment if hdmi display is not detected and composite is being output +#hdmi_force_hotplug=1 + +# uncomment to force a specific HDMI mode (this will force VGA) +#hdmi_group=1 +#hdmi_mode=1 + +# uncomment to force a HDMI mode rather than DVI. This can make audio work in +# DMT (computer monitor) modes +#hdmi_drive=2 + +# uncomment to increase signal to HDMI, if you have interference, blanking, or +# no display +#config_hdmi_boost=4 + +# uncomment for composite PAL +#sdtv_mode=2 + +#uncomment to overclock the arm. 700 MHz is the default. +#arm_freq=800 + +# for more options see http://elinux.org/RPi_config.txt + +## Some over clocking settings, govenor already set to ondemand + +##None +#arm_freq=700 +#core_freq=250 +#sdram_freq=400 +#over_voltage=0 + +##Modest +#arm_freq=800 +#core_freq=300 +#sdram_freq=400 +#over_voltage=0 + +##Medium +#arm_freq=900 +#core_freq=333 +#sdram_freq=450 +#over_voltage=2 + +##High +#arm_freq=950 +#core_freq=450 +#sdram_freq=450 +#over_voltage=6 + +##Turbo +#arm_freq=1000 +#core_freq=500 +#sdram_freq=500 +#over_voltage=6 + +gpu_mem_512=316 +gpu_mem_256=128 +cma_lwm=16 +cma_hwm=32 +cma_offline_start=16 + diff --git a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd new file mode 100644 index 000000000000..22ed09320464 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-envd @@ -0,0 +1,2 @@ +CONFIG_PROTECT="/boot/config.txt /boot/cmdline.txt" + diff --git a/sys-boot/raspberrypi-firmware/metadata.xml b/sys-boot/raspberrypi-firmware/metadata.xml new file mode 100644 index 000000000000..97bc25425603 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <upstream> + <remote-id type="github">raspberrypi/firmware</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160209.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160209.ebuild new file mode 100644 index 000000000000..7dc51e4b7b0b --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160209.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit readme.gentoo + +DESCRIPTION="Raspberry PI boot loader and firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" +KEYWORDS="~arm -*" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${P/raspberrypi-} + +RESTRICT="binchecks strip" + +pkg_preinst() { + 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() { + rm boot/{kernel{,7}.img,COPYING.linux,LICENCE.broadcom} || die + insinto /boot + doins -r boot/* + + newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} + readme.gentoo_create_doc +} + +DOC_CONTENTS=" config.txt and cmdline.txt need to be generated by you +More information here: +https://www.raspberrypi.org/documentation/configuration/config-txt.md +Another good source http://elinux.org/RPi_config.txt +http://elinux.org/RPi_cmdline.txt" diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160309.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160309.ebuild new file mode 100644 index 000000000000..7dc51e4b7b0b --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20160309.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit readme.gentoo + +DESCRIPTION="Raspberry PI boot loader and firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" +KEYWORDS="~arm -*" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${P/raspberrypi-} + +RESTRICT="binchecks strip" + +pkg_preinst() { + 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() { + rm boot/{kernel{,7}.img,COPYING.linux,LICENCE.broadcom} || die + insinto /boot + doins -r boot/* + + newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} + readme.gentoo_create_doc +} + +DOC_CONTENTS=" config.txt and cmdline.txt need to be generated by you +More information here: +https://www.raspberrypi.org/documentation/configuration/config-txt.md +Another good source http://elinux.org/RPi_config.txt +http://elinux.org/RPi_cmdline.txt" diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild new file mode 100644 index 000000000000..b4a3474a5182 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit readme.gentoo + +DESCRIPTION="Raspberry PI boot loader and firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +MY_COMMIT="b2dbc04508" +SRC_URI="" +for my_src_uri in bootcode.bin fixup{,_cd,_x}.dat start{,_cd,_x}.elf ; do + SRC_URI="${SRC_URI} https://github.com/raspberrypi/firmware/raw/${MY_COMMIT}/boot/${my_src_uri} -> ${PN}-${MY_COMMIT}-${my_src_uri}" +done + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" +KEYWORDS="~arm -*" +IUSE="" + +DEPEND="" +RDEPEND="!sys-boot/raspberrypi-loader" + +S=${WORKDIR} + +RESTRICT="binchecks strip" + +src_unpack() { :; } + +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 + local a + for a in ${A} ; do + newins "${DISTDIR}"/${a} ${a#${PN}-${MY_COMMIT}-} + done + 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 +} + +DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild new file mode 100644 index 000000000000..0ed95ddb5337 --- /dev/null +++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit git-r3 readme.gentoo + +DESCRIPTION="Raspberry PI boot loader and firmware" +HOMEPAGE="https://github.com/raspberrypi/firmware" +SRC_URI="" + +LICENSE="GPL-2 raspberrypi-videocore-bin" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="!sys-boot/raspberrypi-loader" + +EGIT_REPO_URI="https://github.com/raspberrypi/firmware" + +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 + doins bootcode.bin COPYING.linux fixup*.dat LICENCE.broadcom 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 +} + +DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" |