summaryrefslogtreecommitdiff
path: root/libre/uboot-grub/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-29 17:58:45 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-29 17:59:18 -0300
commit5e7732891ca22cf1f4aa2c550b229162f5195e59 (patch)
tree2cf45eae51751ac6e2ded79ef30496f4d53e6e75 /libre/uboot-grub/PKGBUILD
parentccd00bbb37083185558a62460b6465c0585e7e2c (diff)
uboot-grub: Fix removing board selection choices optional with a patch
Diffstat (limited to 'libre/uboot-grub/PKGBUILD')
-rw-r--r--libre/uboot-grub/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/libre/uboot-grub/PKGBUILD b/libre/uboot-grub/PKGBUILD
index 8eb8dffbe..e676577d0 100644
--- a/libre/uboot-grub/PKGBUILD
+++ b/libre/uboot-grub/PKGBUILD
@@ -9,11 +9,13 @@ url='http://www.denx.de/wiki/U-Boot/'
license=('GPL2')
makedepends=('bc')
source=("ftp://ftp.denx.de/pub/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2"
- 'uboot-am335x_evm_boot-on-grub.patch'
+ '0001-Revert-arch-Make-board-selection-choices-optional.patch'
+ 'uboot-am335x_evm_boot-on-grub.patch'
'config.am335x_evm'
- 'uEnv-am335x_evm.txt'
- "${pkgbase}-install-am335x_evm.sh")
+ 'uEnv-am335x_evm.txt'
+ "${pkgbase}-install-am335x_evm.sh")
sha512sums=('40878f28c19f077bc83b82687c9f656c64ef2bdbbc3b4caf3f7ec657a7200ce212713cd5adbc0cb23379950fe804767d1efb9108cc8c33b66faa7c7d3a831ffe'
+ '8da39a3c8aa05a1897c4b0b2279c6e819523a46f6bce4b4a9027e58cc9d5c6ccf7787dfcf03453ece6f114e5638d06dcad055d276d4dfbcca3d65366afe46fe7'
'c292fa1c90c33d4291e5d24d3ff4834949fc14f9835fe71b6a3de29005438910b3ed6ade081e8c78617302b3912edcaf9b7806596506fa1fdc3154d929d9a055'
'ade631646eb5de3a7f0cbd4577cfbf50979d242bce6f1a00e31ab49c15fd44295c61bd4f12a66e521a0c04b394e7a9172a70241281f119cfd3d56394d514e531'
'd8287e898bdcb1a542693c2bf94eead62a640d845145527005ce37e1bbba1e73552ef2728271b7486c7fb059239de7f18fe254af30b03b4293a5993ce1e8b351'
@@ -24,7 +26,7 @@ _prepare_uboot-grub-am335x_evm() {
cp -r "${srcdir}/${_pkgbase}-${pkgver}/" "${srcdir}/${pkgbase}-am335x_evm-${pkgver}/"
cd "${srcdir}/${pkgbase}-am335x_evm-${pkgver}/"
- # patch to boot on grub
+ msg 'Patch to boot on GRUB'
patch -p1 -i "${srcdir}/uboot-am335x_evm_boot-on-grub.patch"
cat "${srcdir}/config.am335x_evm" > '.config'
@@ -39,6 +41,11 @@ _prepare_uboot-grub-am335x_evm() {
}
prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}/"
+
+ msg "[Das U-Boot ver.2015.07]: Fix removing board selection choices optional"
+ patch -p1 -i "${srcdir}/0001-Revert-arch-Make-board-selection-choices-optional.patch
+
if [[ "${CARCH}" == "armv7h" ]]; then
msg "Prepare U-Boot for am335x_evm to run GRUB"
_prepare_uboot-grub-am335x_evm