diff options
author | Steve Arnold <stephen.arnold42@gmail.com> | 2016-11-27 16:52:11 -0800 |
---|---|---|
committer | Steve Arnold <stephen.arnold42@gmail.com> | 2016-11-27 16:52:11 -0800 |
commit | 593412ac5caa02eb987e1820c6bcfd351554cf05 (patch) | |
tree | bba9d866b86efa4d9e6a220ed2e0c2d6c1f161cd | |
parent | sunxi-tools-9999.ebuild: add latest with option for C.H.I.P. branch (diff) | |
download | arm-593412ac5caa02eb987e1820c6bcfd351554cf05.tar.gz arm-593412ac5caa02eb987e1820c6bcfd351554cf05.tar.bz2 arm-593412ac5caa02eb987e1820c6bcfd351554cf05.zip |
bone-sources-4.8.10-r2: update to latest full release with bb patches
Signed-off-by: Steve Arnold <stephen.arnold42@gmail.com>
-rw-r--r-- | sys-kernel/bone-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/bone-sources/bone-sources-4.8.10-r2.ebuild | 77 |
2 files changed, 81 insertions, 0 deletions
diff --git a/sys-kernel/bone-sources/Manifest b/sys-kernel/bone-sources/Manifest index d3f2645..0774c51 100644 --- a/sys-kernel/bone-sources/Manifest +++ b/sys-kernel/bone-sources/Manifest @@ -5,8 +5,12 @@ DIST deblob-4.1 130695 SHA256 2888a5a3b5e8e9ec242e4d702582fa1d739a1274fcd94643a9 DIST deblob-check-4.1 674781 SHA256 54aa33e23a31ead6f982b830be86003c306b88f0d0a9f96c7dc66fe7cd274acb SHA512 51fe9d70d723992aaf70f8bfcfcc12ecfedd7a039402ddae07858fb087693b00cd80d1e0e1a5053e049f2a2b8c58ed23e4598e2dae902c4999999c08bc2eeb33 WHIRLPOOL d2c22280e12863793f8e866b126be53ee10d564373addfe9399b2afe22dd7584513c050f334ea08e6d63dd27a1574f2754456bad9d0a42e8c8d9995eec27aed0 DIST genpatches-4.1-8.base.tar.xz 136372 SHA256 9be08b05eb8a10387d791d496ec5a4e7eb22c07dabb93bbba21f2aa11fb5be61 SHA512 67110c4191d8a40a435bd767a8024edac7bb00de507703a3faf5798d484f2d373aa1257bb23209f0151c394b08fb2577af5b8bd621a6654bfdbc247e4a083c58 WHIRLPOOL 26e727302e2c790805748e85610c5673e7b0c2869be9bf2938df07c18ed15c44ed278c285d073d71c69d83614bdee2c3058b82cb3720188ad91994fdde442820 DIST genpatches-4.1-8.extras.tar.xz 16172 SHA256 8968ac71a0bf7c9d17600c5ac09d78216e14c54cfa9873aabce9c972747b3aa8 SHA512 654154fb0c7701083bcc530448cf1eb1a93bb0bfdc1f7816f40a5f8777b3e2209ed49f23954b095d99cd38cb83a676f0597cde13499b8ed7cce94eac464a7329 WHIRLPOOL c4d629ffb6211a71771ffa5165409bf29091e0c34e4350d6142617dc63f48c1d9d5bbc14b0b39d068d21ea1353f2b7496ae2b2d399734fd69d338f867876e695 +DIST genpatches-4.8-8.base.tar.xz 157508 SHA256 36acdc91d6bbb364eb9c5ec2227766e82f0e203e434c25255965818b933a4986 SHA512 5a43e3a2dd556d7bff251eb22eb98ef7a4a673d6ed0a9f9b3bb4b63e0ebfc5d2ac16abd9d3095116202735d3a5aec7213388a48a0f28e0f721268cb360f5dd23 WHIRLPOOL 79d10ddfaad5341f70b98c5c6c0104a1a1243a6adc77a639d51d1cf911c349caf759b9744146ce3dbeab2d8bed04d59de0456ce977e41dae98a8dfcbc06e2978 +DIST genpatches-4.8-8.extras.tar.xz 17232 SHA256 0ebb5b68c85a9c969b5cf6923ad4f717a7c2feec75a63488050036c1fc00eee9 SHA512 bcdcba2698f386cd626fa89f6534720e9aff578daf72324c4f7d40f27464fe0d9744a8f5a40e3edfa77de2336a5f37ece51588a5a5e91c66409543787d8154d2 WHIRLPOOL 66489a38a7e906721d659159da59aef85f11bf8616e6a8a10d73a3bcedce06981fcd29f44e9a50fceb2ee6656528e539e6993ba04d6c6b41631cdf54608b4120 DIST linux-3.8.tar.xz 70989468 SHA256 e070d1bdfbded5676a4f374721c63565f1c969466c5a3e214004a136b583184b SHA512 10a7983391af907d8aec72bdb096d1cabd4911985715e9ea13d35ff09095c035db15d4ab08b92eda7c10026cc27348cb9728c212335f7fcdcda7c610856ec30f WHIRLPOOL 0c633854ad9c06df1b1d832aea9bbef76144ba88c8fccf6a3f8729101dc36838bcda6ccd444451cab19177608e7f7866f4f79cff1a8ef2bd0c893933d7f1f44c DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 +DIST linux-4.8.tar.xz 91966856 SHA256 3e9150065f193d3d94bcf46a1fe9f033c7ef7122ab71d75a7fb5a2f0c9a7e11a SHA512 a48a065f21e1c7c4de4cf8ca47b8b8d9a70f86b64e7cfa6e01be490f78895745b9c8790734b1d22182cf1f930fb87eaaa84e62ec8cc1f64ac4be9b949e7c0358 WHIRLPOOL 3888c8c07db0c069f827245d4d7306087f78f7d03e8240eb1fcd13622cd5dbe1c17cd8ed7dc11513f77f3efd5dbd84e2b48e82bdb9b9bfd2242fd62ae32812d5 DIST patch-3.8.13.xz 285296 SHA256 abc523f59e4c7a4c8ccadd7fd3cd03b7ae8788b399040a1c949c4232601cfd5b SHA512 baa9ff60b1b43f5d496afbd75bcab5d58590c574eea2ddb96c35c6451aed4893685db24ccda2b69e8bb247d053db1d5926944125a9614fa4c62e83b2be91ff8d WHIRLPOOL 7b67a06f49301c37b3cfd460d4e449d7d55ac9620d9b6ddc52f6a9eddfe98710a9bd81e1b0c4f52dff9d64a7141d694672110cf10970858a63931207f70170f9 DIST patch-4.1-bone9.diff.gz 172763 SHA256 b501b9f5ea724771913db0146a6672f0d8084e99b496f3156a06fc884f5e8034 SHA512 0b17cb615b942ed1c67b2ea6554b1c225528478e068a057371135dba6e969a7225fcc612815ac0597de58ef041bc0f75aa7c23f2f7fff5093f76bc5cd9d4d8e9 WHIRLPOOL 9dfef4190587c08b9686f90a0036a847b78a8398fa2a0deea41bd77bceb4475ebd917e54babbdcfbdec962cab8cd5cc1a042e2c7146f8a0a8b3cd1082cdf4311 DIST patch-4.1.4-bone15.diff.gz 325779 SHA256 93b1ce2eee37e1ee7db9926b226fb75cecc7dfa5a5812f6ac963d23c4a7520d9 SHA512 8f0b37c006553389cf0941b71d307d4ee2c6e242977b8b8de516577877ed5dac00ec47c47b017d38ca1629d42620742a78177d899f55cfbd25704dc338b4bbc0 WHIRLPOOL 3835c9274c69a10200217747403d21d78a81d20d625e3a68eb604df9c8df878e4deaedcf4f1076c60d1546e3520785b5f4fef4444aede34881d141a366bb976b +DIST patch-4.8.10-bone2.diff.gz 751197 SHA256 46bd955b8ee35d5ea3c5035a59ed6d77e084327ee5785cd03ee97c24ae7677cb SHA512 38ed89ca0a9144c2b826c8bb96a65a089362cbcb0c79914c2a21124f47636de128e3b30203b804561cd883bc03296572c393e01fc39e7932b0668048c7785d42 WHIRLPOOL cfa65cb8ebded33c1f10f8e3cfc6de4bd00340f456b3ee511a4e19e12f9bb1d8147af39704c17d045ecc2005c6e399fa03815175d0eefab17132407c7c556a60 diff --git a/sys-kernel/bone-sources/bone-sources-4.8.10-r2.ebuild b/sys-kernel/bone-sources/bone-sources-4.8.10-r2.ebuild new file mode 100644 index 0000000..f13f652 --- /dev/null +++ b/sys-kernel/bone-sources/bone-sources-4.8.10-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +ETYPE="sources" +K_DEFCONFIG="bb-kernel_defconfig" +UNIPATCH_STRICTORDER="1" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="8" +K_DEBLOB_AVAILABLE="0" +K_KDBUS_AVAILABLE="1" + +inherit kernel-2 eutils +detect_version +detect_arch + +inherit versionator +MY_PR="bone${PR/r/}" +EXTRAVERSION="-${MY_PR}" +MY_P="${OKV}-${MY_PR}" + +BONE_PATCH="patch-${MY_P}.diff" +BONE_CONFIG="defconfig" +BONE_URI="https://rcn-ee.com/deb/xenial-armhf/v${OKV}-${MY_PR}" +B_PATCH_URI="${BONE_URI}/${BONE_PATCH}.gz" +B_CONFIG_URI="${BONE_URI}/${BONE_CONFIG}" + +KEYWORDS="~arm" +HOMEPAGE="https://eewiki.net/display/linuxonarm/BeagleBone+Black" + +DESCRIPTION="Full sources ${KV_MAJOR}.${KV_MINOR} kernel plus BeagleBone patches" +SRC_URI=" + ${KERNEL_URI} + ${ARCH_URI} + ${GENPATCHES_URI} + ${B_PATCH_URI} + ${B_CONFIG_URI} -> ${K_DEFCONFIG}" + +IUSE="" + +K_EXTRAELOG="This is the bleeding-edge patch set on full gentoo-sources +kernel from LinuxOnArm maintainer Robert C Nelson. Intended mainly +for beagleboneblack. A copy of the latest config has been installed as +${K_DEFCONFIG}. If you are reading this, you know what to do..." + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/patch-2.7.4" + +src_prepare() { + # We can't use unipatch or epatch here due to the git binary + # diffs that always cause dry-run errors (even with --force). + # That is okay since this is not intended for beaglebone. + + ebegin "Applying ${BONE_PATCH}" + patch -p1 "${WORKDIR}"/${BONE_PATCH} + eend $? || return + + update_config +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} + +update_config() { + cp -f "${DISTDIR}"/${K_DEFCONFIG} "${S}"/arch/arm/configs/ \ + || die "failed to install ${K_DEFCONFIG}!" +} |