diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-19 21:06:07 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-19 21:06:07 +0100 |
commit | a1a2a8083ddf1a51cff8b948e749f84bcaf28001 (patch) | |
tree | 757e48198ba180396c6d80c6a80afca7da3a6981 /sys-boot | |
parent | fee771ab494c0b6886ad37467c029e14c281ddc0 (diff) | |
download | gentoo-personal-overlay-a1a2a8083ddf1a51cff8b948e749f84bcaf28001.tar.gz gentoo-personal-overlay-a1a2a8083ddf1a51cff8b948e749f84bcaf28001.tar.bz2 gentoo-personal-overlay-a1a2a8083ddf1a51cff8b948e749f84bcaf28001.zip |
Drop uboot-bbb as I am not running gentoo on bb
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/uboot-bbb/files/uEnv.txt | 1 | ||||
-rw-r--r-- | sys-boot/uboot-bbb/uboot-bbb-2016.11.ebuild | 44 |
2 files changed, 0 insertions, 45 deletions
diff --git a/sys-boot/uboot-bbb/files/uEnv.txt b/sys-boot/uboot-bbb/files/uEnv.txt deleted file mode 100644 index f432efc..0000000 --- a/sys-boot/uboot-bbb/files/uEnv.txt +++ /dev/null @@ -1 +0,0 @@ -optargs=coherent_pool=1M diff --git a/sys-boot/uboot-bbb/uboot-bbb-2016.11.ebuild b/sys-boot/uboot-bbb/uboot-bbb-2016.11.ebuild deleted file mode 100644 index 06ec917..0000000 --- a/sys-boot/uboot-bbb/uboot-bbb-2016.11.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils git-r3 - -DESCRIPTION="Simple serial terminal" -HOMEPAGE="http://www.denx.de/wiki/U-Boot" - -EGIT_REPO_URI="git://git.denx.de/u-boot.git" -EGIT_COMMIT="v${PV}" - -LICENSE="GPL-3.0+" -SLOT="0" -KEYWORDS="-* arm" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_configure() { - emake am335x_boneblack_config -} - -src_install() { - dodir /boot - insinto /boot - doins MLO - doins u-boot.img - doins "${FILESDIR}"/uEnv.txt -} - -pkg_postinst() { - ROOT="$(mount | awk '/ on \/ / { print $1; }')" - if [[ $ROOT =~ ^/dev/mmcblk.*$ ]]; then - ROOT=${ROOT:0:12} - elog "Flashing the new U-Boot to boot device." - dd if=/boot/MLO of=$ROOT count=1 seek=1 conv=notrunc bs=128k - dd if=/boot/u-boot.img of=$ROOT count=2 seek=1 conv=notrunc bs=384k - else - ewarn "Root not detected. Please flash new U-Boot version by hand." - fi -} |