Commit 8ac5433e authored by Dermot Bradley's avatar Dermot Bradley
Browse files

main/raspberrypi-bootloader: create new -common subpackage, add missing deps

Create a new raspberrypi-bootloader-common package and move bootcode.bin
to it.

Other subpackages previously had missing dependancies for the package
containing bootcode.bin file. Add dependancies to these subpackages, and
to raspberrypi-bootloader, on raspberrypi-bootloader-common to satisfy
this file requirement.
parent 058b56d4
Pipeline #63933 passed with stages
in 2 minutes and 6 seconds
......@@ -2,19 +2,20 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=raspberrypi-bootloader
pkgver=1.20200902
pkgrel=0
pkgrel=1
pkgdesc="Bootloader files for the Raspberry Pi"
url=https://github.com/raspberrypi/firmware
arch="armhf armv7 aarch64"
license="custom"
options="!check !strip !tracedeps !spdx"
depends="$pkgname-common"
source="$pkgname-$pkgver.tar.gz::https://github.com/raspberrypi/firmware/archive/$pkgver.tar.gz"
subpackages="$pkgname-experimental $pkgname-debug $pkgname-cutdown $pkgname-doc"
subpackages="$pkgname-experimental $pkgname-debug $pkgname-common $pkgname-cutdown $pkgname-doc"
builddir="$srcdir/firmware-$pkgver"
package() {
local fw; for fw in bootcode.bin fixup.dat fixup4.dat start.elf start4.elf; do
local fw; for fw in fixup.dat fixup4.dat start.elf start4.elf; do
install -D "$builddir"/boot/$fw \
"$pkgdir"/boot/$fw
done
......@@ -46,4 +47,12 @@ cutdown() {
done
}
common() {
pkgdesc="Common files used by Raspberry Pi bootloaders"
local fw; for fw in bootcode.bin; do
install -D "$builddir"/boot/$fw \
"$subpkgdir"/boot/$fw
done
}
sha512sums="91d084d2dba99219b72cc03d49d9546e070477d35fa151b42e204ec6b77ee76a8774235cc32cec8c3aa4360b7c1922dd1c65da8489300476290af87e167f0c79 raspberrypi-bootloader-1.20200902.tar.gz"
Markdown is supported
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