1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00
build/pkg/boot-rpi3/build
David Oberhollenzer c8d01f966a Use pkgtool to resolve and manage dependencies, add sub package support
Been working on this for too long, don't remember the specifics, will add
documentation.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00

21 lines
410 B
Text
Executable file

# inherit package details from kernel package
source "$SCRIPTDIR/pkg/firmware-rpi3/build"
DEPENDS="toolchain"
build() {
return
}
deploy() {
local SOURCE="$1"
local DEPLOY="$2"
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"
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
}