1 |
commit: e7831e237ea340c35aaad802acc08ccba4055aa1 |
2 |
Author: Michael Weber <michael <AT> xmw <DOT> de> |
3 |
AuthorDate: Fri Feb 19 22:00:56 2016 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 19 22:00:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=e7831e23 |
7 |
|
8 |
sys-boot/raspberrypi-firmware: drop old versions. |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Manifest-Sign-Key: 0x71D573A82F434065 |
12 |
|
13 |
sys-boot/raspberrypi-firmware/Manifest | 40 ++++------- |
14 |
.../raspberrypi-firmware-0_p20130711-cmdline.txt | 1 - |
15 |
.../raspberrypi-firmware-0_p20130711-config.txt | 81 ---------------------- |
16 |
.../raspberrypi-firmware-1_pre20150327.ebuild | 62 ----------------- |
17 |
.../raspberrypi-firmware-1_pre20150421.ebuild | 62 ----------------- |
18 |
5 files changed, 13 insertions(+), 233 deletions(-) |
19 |
|
20 |
diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest |
21 |
index 4cdcd0f..8b68a3b 100644 |
22 |
--- a/sys-boot/raspberrypi-firmware/Manifest |
23 |
+++ b/sys-boot/raspberrypi-firmware/Manifest |
24 |
@@ -2,34 +2,20 @@ |
25 |
Hash: SHA256 |
26 |
|
27 |
DIST raspberrypi-firmware-1.20160209.tar.gz 114792438 SHA256 ca6a88db72e90ef821b8ca7755bbee9c1d5bdb9a621a45eb029af195d2d29751 SHA512 281092c11d422d821e5e2b0479c3b8f891f8df66cfbf931992902d759c99ed40cbb2d9fada1f944372e5bcd8af69784739e79e9912db3482892b10bf668611f2 WHIRLPOOL 81974a53562ee91544d7a01dc9f4f4173a6e882891f8cf744b700162ddd8f8607b1cfcbbde04cafe2bcea47489f9ea4fd8840adf776e806bef0dba574448e76e |
28 |
-DIST raspberrypi-firmware-6cc27e02d-bootcode.bin 17900 SHA256 6149c038b67e22c826bcdc28a7b59b91bded089eddf506c25df96af88e7846f4 SHA512 d27a9fc1e8878fe1d0d6324dfb2a3284e1c122722fffb39fb45723fb0d53cde7bd083044c4bac8cd8d7070f9f6482372604ed47166dc57b8c42c3148ebced8e4 WHIRLPOOL 814117482050b646d89a2fde78bb2568f7d933b0eb11e34189691b6e6d4e3ea2b9cad41ae58e65cde6ed04bc33d64e02b66989bfb042305d3c003fe07f6e9fa5 |
29 |
-DIST raspberrypi-firmware-6cc27e02d-fixup.dat 6161 SHA256 32e8e902eb7dbef6f1257a020fbd50f0dc811bda6bc62108609ecc903cdf28c8 SHA512 c350ffc24ee3b294a6e18b13f6c79c5f168a782afb99a00e6a13337e66d2d73d511b202918411909015bf7483e8652626191e985cd5446b692e47a9499c73028 WHIRLPOOL 4979a7eb8178d7c237a2651e94151b597fbaeebe4cf468989473867d20ac88ee380b17fd976274332a9d0b0db40afb8f64f6b93216ed6e06cc34de9048760767 |
30 |
-DIST raspberrypi-firmware-6cc27e02d-fixup_cd.dat 2366 SHA256 ce1c52f658a1bfc34c859f33d2775c749228d55008c386f331fa441fe17603fb SHA512 ec533cd41207de52e82fcd4a9298c50b15794eab97223b4f75c028c5bfa359f32f946df136cacc01a15d0d09df2ae013ccaf07094ef62473a18c2d7889e4aaf0 WHIRLPOOL 76d6a287ea70f3d07526a69ee3ca3a559354cdb9215df65a4a97f45eafffa45954b115f8924fdd229f4c76af617053c83dc21f6af077a7724ae3c24b71310b68 |
31 |
-DIST raspberrypi-firmware-6cc27e02d-fixup_x.dat 9214 SHA256 7c81b6dc6e22333c8bf8da2b1c5ccc5bf487a917661b222a02c6da9579447d23 SHA512 5cb0326e9d46bd95a50f7ff8cdd5899a142bf4d3097e8e5c13ca2951c3fb2579c8eb46aee2bebd4838f1eee1941aa005f799a08fc04fac716567a72e5b90586a WHIRLPOOL c7a197e914c316799c24e1e8bc5e4193ae7abc1acafc2022c5c7dd6a485c8b7fe0a4676eb622640cde1726358c32691d13026f39f736e34632bb1fb8ab51b45b |
32 |
-DIST raspberrypi-firmware-6cc27e02d-start.elf 2664088 SHA256 130017bb746827187ed642e0cadf2b86cbce75a686c2877b17021bc7a791e60d SHA512 ba59e35bc015f1de733f0bfe41af928ffd59e5bb6710714997e0dab3a52ab8c7a69a7192cb782d0f0e0aa09d2aeac062b9581859553c329cea43b63e7d12d3a3 WHIRLPOOL b16e32d8ecd7f7be2066d9e0312f98183cd106ed2082e723e3d66399a6a0abccb08a8ef4eff68328882fb64841251d1631be4331110ee338173f204bda8d0843 |
33 |
-DIST raspberrypi-firmware-6cc27e02d-start_cd.elf 567672 SHA256 05a52cd9bc6896c235cfaeed7a4608a8e29edc5c6a26c577e396cf1f8c9ac14e SHA512 3478fd1dc4f51c215c32d14efc3f9e8a088c146d6d8604f2a00e8ee8d13e591c8ce0cebbf26e6927941919d2445b79e8cdca8a28fd7f46a168a5aa67fe770ffd WHIRLPOOL e67a260de38f7cd5669779a64ed8032bbdb655cc11feb5c16b190ae02a665f6ba9b08d72590e7d23804caa9dcd1ab2e130bc901f22700de56b18f76cb71ddb74 |
34 |
-DIST raspberrypi-firmware-6cc27e02d-start_x.elf 3621768 SHA256 623baf0b7d5fe29f650f8b408bb2f20ec77b58d063edcff7883bf48caf1e9753 SHA512 b8903a2f40ead50c88005708cd53a1391d47cfca2232ed5a08770f80e066aa85d784c7aca3bf5edefe07bbfd07da93622ca072547d30defc59cae58efd0985df WHIRLPOOL 13345653f3351dcc3b8b92894db2b62ff93e77d94a251b3ec30dce181be62c8f37abc4a6c38124a5cf946a40cf2ffb5673deb0f198bafaf617b0df354451acb0 |
35 |
-DIST raspberrypi-firmware-ffda51ebff-bootcode.bin 17864 SHA256 18e58724814b0b8abb75b245b35aac14867f717d221a8fb5582d176586722a30 SHA512 e45f8b4588f54bb6ac99eb395e73681f88b5c8869d5d22bc14b09db8ca1ffe93a8d4c5da87700ce05fdc35d8e77ace48580dcce23f9b53d5973315796f42ba8a WHIRLPOOL 0e16e1d3d4fcde60087b81ff44b119109d553a61708f5c7bce1239613cd86cabf05fc3df7b474d992c8d4a4c5098293eea59c85070b2449ff4f12ea2c10b2d84 |
36 |
-DIST raspberrypi-firmware-ffda51ebff-fixup.dat 6154 SHA256 a7643347be21cf5fe51df3e9ab9f5ffcd026afa79f4dcbd76b376f239e33a3f5 SHA512 1664e0bdb445ac2e0848cfa2116389bf1116a510878a85e8cd206ae1eab0e45d2617802a934aff6cf9666dab9cd7fb2879a4f0e4e6ef62d7bdcde1db6317971b WHIRLPOOL 34555585c12a369478288d107cef32f262ff56b02f7f4d2f72e3d75780db4f0da9c95e5517171080fc2680437e098caeeb853887080bf08e38c7f011de4cf769 |
37 |
-DIST raspberrypi-firmware-ffda51ebff-fixup_cd.dat 2365 SHA256 ee58e3ab010e2f3102476b0d70ba40790ce51fec168c7fda696720f50a88a7b2 SHA512 0c329ca7b5bc1dd52d1f7e3aaba1a0e7fd8f669a1f9ef42ec7fe1429e2210a2d7a4b419231e2343bbf58cbe9b6c5f429c16ca0fd3aeec055163f83b028052675 WHIRLPOOL c11c622e9a8908e2092a2b5ca60b63b99e3de96040998005465be424f7ddf6838b9ce7297b3da461c9c40cba0f6536603bf168575625a7c4a146cbe0c4f52165 |
38 |
-DIST raspberrypi-firmware-ffda51ebff-fixup_x.dat 9210 SHA256 3c3ff7d6c901e23b7cddae880e2486d3bbfa19bc3bf2fc105d3cfec36d7f3095 SHA512 0f2c41818317f3581e589e8f610d17d5bc99a384e10afd6735c40cf7eaf1de975d4a7dee73bc1e6e84be9fa80e06487ced5417bdc26de4d41334821772085757 WHIRLPOOL c3f86d4913237d619963b90b367385ad99f706813b4d8a50ad1492adf11b240d9fb966b9d06f7a5a89e9152d3657f2306f49d85ff74af7d41433049b4fe2708e |
39 |
-DIST raspberrypi-firmware-ffda51ebff-start.elf 3540280 SHA256 c11878e3a7ee9d5f4f56c655e4f5104378b1958275a8c7bc0944a9752c806373 SHA512 2b707f0c376eb5be762f31f492038f16f802daea5281de980f55c3ac5bb0c08927de5fa5bad2216e1535b6bea36d864abd074f420d335be35f7beb0e28e4ad87 WHIRLPOOL 84266f79f69ae7b656e00c08f6a0ecfeb87f2b394b9df4ca13f77ea1a807f2423478efa882555899329b600e2f07f4afb687d0fe13079baa6b699232271d6c22 |
40 |
-DIST raspberrypi-firmware-ffda51ebff-start_cd.elf 586616 SHA256 97a66d7f707b7c9244483faab746b525ecdb420ad8818f2869bbb83e44a768bb SHA512 81fd6d5579b58ab95c0bb6a41923814f76410436bac177a08856739d785978070d79829f22117a0ff73beba41bc707110f9a95fbbd85c7be51bc8697d1a43177 WHIRLPOOL 31eef08ccc141a117e809ff67a79380dd820e09d477dc4ce0a99eb21976db822e945161c0bcb44ef52586675b879d8b7956e77427b96692f98e092e6b8de6a1c |
41 |
-DIST raspberrypi-firmware-ffda51ebff-start_x.elf 4635752 SHA256 5435ef94dac8eb3f726996802d1df32093d385e87e7225a9ce3dd02ffd9cd6f5 SHA512 3a0a768986590f67bb4ac3a8ed6fe8b2e49412a200fbc67b03196c786dade222b068535feb171cc2faf419bbcaa89f1b562e8bd38957fbd1658dec26c0a73cee WHIRLPOOL d04c8027fd95c30c62dbc48debdb6a84101318dd9773929fafcfb231e5f29c1814446f8ecbea11353fb40e0ef0568ef8417fbab86120fc200ab5022f81f3aab7 |
42 |
-----BEGIN PGP SIGNATURE----- |
43 |
Version: GnuPG v2 |
44 |
|
45 |
-iQIcBAEBCAAGBQJWx2VfAAoJEHHVc6gvQ0BlRqcP/jlJTEgds93COVw6727+wQ78 |
46 |
-R+k4xo3mVYSpxNDRSyncxZMcmqe5gAFdK9i8kTDC1JAZgX6WSVy93ttslk0QyuYY |
47 |
-dUz5gOQd+TDJi8N932vGMkQNg8RQirXJAU2vZhl+YDtISuoMWDsscigVnZPiGnzh |
48 |
-B7T6jnIGdS2XjHpYiArKSlFykBGxAkk0dSzPIZcisllHF1eYmoTlLbxpqlE89qWR |
49 |
-GCX/ko2bbA2pArATerciC9pqn3enfXBFz/EpA77F4jMhBMtoZ0pt4O2Y2NBLnoaf |
50 |
-vyCJpg0bGcaMr2NJj1s9Qk9UAdjNo4n18pa02BU4XSIdn/2xvNNBrQKUMb9payN+ |
51 |
-gk8naD0vFBt/BjB/Nr+zVX8yS3Ufyz7cKuT4e03dOh2bXaK4QcM8PsXoz9ouCVCT |
52 |
-FbHV4fKMZm0N88TFE8NFdSO7BIWskZonCKKY/VaoxfdkBI3Cq++o+EqGXPtuG5aL |
53 |
-S5Clir+w44QtIwS/Ub9j5+GUzZmt1IAoXG2eSuX+p1TuOROXGCk6cfeqUMtS/+mw |
54 |
-PutZiNT9tXxTXpnvyoPVsdZWWk1DCRRrBaizve1AcwCgrpNBUJeM7B1K7/jvTYVz |
55 |
-OTIu6bfg2uqTBv4kuMH0hm5a1Zaext7G2ESAyZK6AhqqwlzMOsLx8Qo0jz0pS6Nf |
56 |
-gWcwesLyRxqAB0FKrPz2 |
57 |
-=q94K |
58 |
+iQIcBAEBCAAGBQJWx5CXAAoJEHHVc6gvQ0Bl/1oP/RWCt99kaQyh1pG5XV5WyPRJ |
59 |
+sc3pylRqRssAh9ABRkjWHstTWsn5HtTV9KFfFgKOl+vSkhOT+j7imjNwty+HobZP |
60 |
+r2V0uPCaSy67XRAOsSYSkXq77x3XjXwixMF6Zpg2d9PVsXft9LDyNhlL6cVAOqYQ |
61 |
+K4Jw5iGJcI2sZqoogx7H3eb3KkP5r7bd+2DcwSOM/8GXz5xfr9M1uyvlvkd4P2Ig |
62 |
+beJfnSPdyYv1v013v7W8uLvfS0PkjYCeqo1fst3wUGmcz9+j+9c1G/fYKWL08858 |
63 |
+OkULtriEjpTwksGtGkmWoQWwYW3UE4IL/JhiRQ6z9FZ9j00DfX5vG6g9OkFP9kp9 |
64 |
+GRFWPTLE6IUVRYsOT6PxMxKgRgqie9UjB77zoKxiCmD5t2uUWweB7ADfBQNl+ykz |
65 |
+LLoyb2yBa4j87woM8fiobFYREemvIU04Nz8gS35BaV7f2kYcWXN8xn8BZh1/h3A/ |
66 |
+C8XD5Z1TqGGsL5mBclcGHUZ+Wa4A5diyviZNNnAvUqJ9ZGjsiVz0XpZLWQYZV1aB |
67 |
+t1bKHBt8fZ68RLeO2thRjpSExeXETYk8koJTN9KY9R+EBzcwWxI7L3Tc8JbCNTIX |
68 |
+Tm+lnBpeI4Y2HY2+pHJsY1DOCgnOq8dnL0pOqpCNp2H/Ae89dHctkCzweUPfHpx4 |
69 |
+YSEaG/SHXTdYbdzwP7Gl |
70 |
+=TMIH |
71 |
-----END PGP SIGNATURE----- |
72 |
|
73 |
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 |
74 |
deleted file mode 100644 |
75 |
index 39112a2..0000000 |
76 |
--- a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-cmdline.txt |
77 |
+++ /dev/null |
78 |
@@ -1 +0,0 @@ |
79 |
-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 |
80 |
|
81 |
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 |
82 |
deleted file mode 100644 |
83 |
index 9401530..0000000 |
84 |
--- a/sys-boot/raspberrypi-firmware/files/raspberrypi-firmware-0_p20130711-config.txt |
85 |
+++ /dev/null |
86 |
@@ -1,81 +0,0 @@ |
87 |
-#from archlinux arm sdcard image |
88 |
-# uncomment if you get no picture on HDMI for a default "safe" mode |
89 |
-#hdmi_safe=1 |
90 |
- |
91 |
-# uncomment this if your display has a black border of unused pixels visible |
92 |
-# and your display can output without overscan |
93 |
-#disable_overscan=1 |
94 |
- |
95 |
-# uncomment the following to adjust overscan. Use positive numbers if console |
96 |
-# goes off screen, and negative if there is too much border |
97 |
-#overscan_left=16 |
98 |
-#overscan_right=16 |
99 |
-#overscan_top=16 |
100 |
-#overscan_bottom=16 |
101 |
- |
102 |
-# uncomment to force a console size. By default it will be display's size minus |
103 |
-# overscan. |
104 |
-#framebuffer_width=1280 |
105 |
-#framebuffer_height=720 |
106 |
- |
107 |
-# uncomment if hdmi display is not detected and composite is being output |
108 |
-#hdmi_force_hotplug=1 |
109 |
- |
110 |
-# uncomment to force a specific HDMI mode (this will force VGA) |
111 |
-#hdmi_group=1 |
112 |
-#hdmi_mode=1 |
113 |
- |
114 |
-# uncomment to force a HDMI mode rather than DVI. This can make audio work in |
115 |
-# DMT (computer monitor) modes |
116 |
-#hdmi_drive=2 |
117 |
- |
118 |
-# uncomment to increase signal to HDMI, if you have interference, blanking, or |
119 |
-# no display |
120 |
-#config_hdmi_boost=4 |
121 |
- |
122 |
-# uncomment for composite PAL |
123 |
-#sdtv_mode=2 |
124 |
- |
125 |
-#uncomment to overclock the arm. 700 MHz is the default. |
126 |
-#arm_freq=800 |
127 |
- |
128 |
-# for more options see http://elinux.org/RPi_config.txt |
129 |
- |
130 |
-## Some over clocking settings, govenor already set to ondemand |
131 |
- |
132 |
-##None |
133 |
-#arm_freq=700 |
134 |
-#core_freq=250 |
135 |
-#sdram_freq=400 |
136 |
-#over_voltage=0 |
137 |
- |
138 |
-##Modest |
139 |
-#arm_freq=800 |
140 |
-#core_freq=300 |
141 |
-#sdram_freq=400 |
142 |
-#over_voltage=0 |
143 |
- |
144 |
-##Medium |
145 |
-#arm_freq=900 |
146 |
-#core_freq=333 |
147 |
-#sdram_freq=450 |
148 |
-#over_voltage=2 |
149 |
- |
150 |
-##High |
151 |
-#arm_freq=950 |
152 |
-#core_freq=450 |
153 |
-#sdram_freq=450 |
154 |
-#over_voltage=6 |
155 |
- |
156 |
-##Turbo |
157 |
-#arm_freq=1000 |
158 |
-#core_freq=500 |
159 |
-#sdram_freq=500 |
160 |
-#over_voltage=6 |
161 |
- |
162 |
-gpu_mem_512=316 |
163 |
-gpu_mem_256=128 |
164 |
-cma_lwm=16 |
165 |
-cma_hwm=32 |
166 |
-cma_offline_start=16 |
167 |
- |
168 |
|
169 |
diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild |
170 |
deleted file mode 100644 |
171 |
index d770bc4..0000000 |
172 |
--- a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150327.ebuild |
173 |
+++ /dev/null |
174 |
@@ -1,62 +0,0 @@ |
175 |
-# Copyright 1999-2015 Gentoo Foundation |
176 |
-# Distributed under the terms of the GNU General Public License v2 |
177 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild,v 1.1 2013/08/15 18:21:47 xmw Exp $ |
178 |
- |
179 |
-EAPI=5 |
180 |
- |
181 |
-inherit readme.gentoo |
182 |
- |
183 |
-DESCRIPTION="Raspberry PI boot loader and firmware" |
184 |
-HOMEPAGE="https://github.com/raspberrypi/firmware" |
185 |
-MY_COMMIT="ffda51ebff" |
186 |
-SRC_URI="" |
187 |
-for my_src_uri in bootcode.bin fixup{,_cd,_x}.dat start{,_cd,_x}.elf ; do |
188 |
- SRC_URI="${SRC_URI} https://github.com/raspberrypi/firmware/raw/${MY_COMMIT}/boot/${my_src_uri} -> ${PN}-${MY_COMMIT}-${my_src_uri}" |
189 |
-done |
190 |
- |
191 |
-LICENSE="GPL-2 raspberrypi-videocore-bin" |
192 |
-SLOT="0" |
193 |
-KEYWORDS="~arm -*" |
194 |
-IUSE="" |
195 |
- |
196 |
-DEPEND="" |
197 |
-RDEPEND="!sys-boot/raspberrypi-loader" |
198 |
- |
199 |
-S=${WORKDIR} |
200 |
- |
201 |
-RESTRICT="binchecks strip" |
202 |
- |
203 |
-src_unpack() { :; } |
204 |
- |
205 |
-pkg_preinst() { |
206 |
- if [ -z "${REPLACING_VERSIONS}" ] ; then |
207 |
- local msg="" |
208 |
- if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then |
209 |
- msg+="/boot/cmdline.txt " |
210 |
- fi |
211 |
- if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then |
212 |
- msg+="/boot/config.txt " |
213 |
- fi |
214 |
- if [ -n "${msg}" ] ; then |
215 |
- msg="This package installs following files: ${msg}." |
216 |
- msg="${msg} Please remove(backup) your copies during install" |
217 |
- msg="${msg} and merge settings afterwards." |
218 |
- msg="${msg} Further updates will be CONFIG_PROTECTed." |
219 |
- die "${msg}" |
220 |
- fi |
221 |
- fi |
222 |
-} |
223 |
- |
224 |
-src_install() { |
225 |
- insinto /boot |
226 |
- local a |
227 |
- for a in ${A} ; do |
228 |
- newins "${DISTDIR}"/${a} ${a#${PN}-${MY_COMMIT}-} |
229 |
- done |
230 |
- newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt |
231 |
- newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt |
232 |
- newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} |
233 |
- readme.gentoo_create_doc |
234 |
-} |
235 |
- |
236 |
-DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" |
237 |
|
238 |
diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150421.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150421.ebuild |
239 |
deleted file mode 100644 |
240 |
index de27b0f..0000000 |
241 |
--- a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20150421.ebuild |
242 |
+++ /dev/null |
243 |
@@ -1,62 +0,0 @@ |
244 |
-# Copyright 1999-2015 Gentoo Foundation |
245 |
-# Distributed under the terms of the GNU General Public License v2 |
246 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1_pre20130807.ebuild,v 1.1 2013/08/15 18:21:47 xmw Exp $ |
247 |
- |
248 |
-EAPI=5 |
249 |
- |
250 |
-inherit readme.gentoo |
251 |
- |
252 |
-DESCRIPTION="Raspberry PI boot loader and firmware" |
253 |
-HOMEPAGE="https://github.com/raspberrypi/firmware" |
254 |
-MY_COMMIT="6cc27e02d" |
255 |
-SRC_URI="" |
256 |
-for my_src_uri in bootcode.bin fixup{,_cd,_x}.dat start{,_cd,_x}.elf ; do |
257 |
- SRC_URI="${SRC_URI} https://github.com/raspberrypi/firmware/raw/${MY_COMMIT}/boot/${my_src_uri} -> ${PN}-${MY_COMMIT}-${my_src_uri}" |
258 |
-done |
259 |
- |
260 |
-LICENSE="GPL-2 raspberrypi-videocore-bin" |
261 |
-SLOT="0" |
262 |
-KEYWORDS="~arm -*" |
263 |
-IUSE="" |
264 |
- |
265 |
-DEPEND="" |
266 |
-RDEPEND="!sys-boot/raspberrypi-loader" |
267 |
- |
268 |
-S=${WORKDIR} |
269 |
- |
270 |
-RESTRICT="binchecks strip" |
271 |
- |
272 |
-src_unpack() { :; } |
273 |
- |
274 |
-pkg_preinst() { |
275 |
- if [ -z "${REPLACING_VERSIONS}" ] ; then |
276 |
- local msg="" |
277 |
- if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then |
278 |
- msg+="/boot/cmdline.txt " |
279 |
- fi |
280 |
- if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then |
281 |
- msg+="/boot/config.txt " |
282 |
- fi |
283 |
- if [ -n "${msg}" ] ; then |
284 |
- msg="This package installs following files: ${msg}." |
285 |
- msg="${msg} Please remove(backup) your copies during install" |
286 |
- msg="${msg} and merge settings afterwards." |
287 |
- msg="${msg} Further updates will be CONFIG_PROTECTed." |
288 |
- die "${msg}" |
289 |
- fi |
290 |
- fi |
291 |
-} |
292 |
- |
293 |
-src_install() { |
294 |
- insinto /boot |
295 |
- local a |
296 |
- for a in ${A} ; do |
297 |
- newins "${DISTDIR}"/${a} ${a#${PN}-${MY_COMMIT}-} |
298 |
- done |
299 |
- newins "${FILESDIR}"/${PN}-0_p20130711-config.txt config.txt |
300 |
- newins "${FILESDIR}"/${PN}-0_p20130711-cmdline.txt cmdline.txt |
301 |
- newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN} |
302 |
- readme.gentoo_create_doc |
303 |
-} |
304 |
- |
305 |
-DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt" |