1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 19:19:46 +01:00
build/pkg/boot-rpi3/build
David Oberhollenzer 204603dce1 Versioning support for Raspberry Pi
- Use shipped device tree binaries instead of our own
 - Install kernel + rootfs to $OS_RELEASE subdirectory

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00

21 lines
366 B
Text
Executable file

# inherit package details from kernel package
source "$SCRIPTDIR/pkg/firmware-rpi3/build"
DEPENDS=""
build() {
return
}
deploy() {
local SOURCE="$1"
local BUILD="$2"
local DEPLOY="$3"
cp -r ${SOURCE}/boot/* "$DEPLOY/"
rm $DEPLOY/kernel7.img
rm $DEPLOY/kernel.img
rm $DEPLOY/COPYING.linux
cp "$SCRIPTDIR/pkg/boot-rpi3/config.txt" "$DEPLOY/config.txt"
}