Commit 30d10d22 authored by Dermot Bradley's avatar Dermot Bradley
Browse files

main/u-boot: for raspberrypi subpackage add missing dependancy

The u-boot binary is chainloaded by the usual Raspberry Pi bootcode.bin
file - the u-boot.bin file is specified as "kernel" value in the
config.txt file read by bootcode.bin. Therefore the u-boot-raspberrypi
package should depends on the raspberrypi-bootloader package.
parent 70546ef0
Pipeline #64070 passed with stages
in 7 minutes and 43 seconds
......@@ -3,7 +3,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=u-boot
pkgver=2020.10
pkgrel=1
pkgrel=2
pkgdesc="u-boot bootloader common files"
url="https://www.denx.de/wiki/U-Boot/"
arch="armhf armv7 aarch64"
......@@ -90,6 +90,9 @@ _split_boards() {
cd "$builddir"/build
pkgdesc="u-boot for $1"
depends="u-boot"
if [ "$1" == 'raspberrypi' ]; then
depends="$depends raspberrypi-bootloader"
fi
shift
local board
for board; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment