mirror of
https://github.com/pygos/build.git
synced 2024-11-14 07:27:10 +01:00
David Oberhollenzer
c8d01f966a
Been working on this for too long, don't remember the specifics, will add documentation. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
21 lines
410 B
Text
Executable file
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"
|
|
}
|