mirror of
https://github.com/pygos/build.git
synced 2024-11-05 11:37:10 +01:00
ad3b6d19a2
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
32 lines
No EOL
726 B
Text
Executable file
32 lines
No EOL
726 B
Text
Executable file
VERSION="1.20180919"
|
|
SRCDIR="firmware-${VERSION}"
|
|
TARBALL="${VERSION}.tar.gz"
|
|
URL="https://github.com/raspberrypi/firmware/archive"
|
|
SHA256SUM="da0789f8ed5cd316ba653151f5e944422fb9055a89b79a56dda4bff3401d409f"
|
|
DEPENDS=""
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
return
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
|
|
cp -r "$SOURCE/hardfp/opt" "$DEPLOY"
|
|
cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY"
|
|
|
|
strip_files ${DEPLOY}/opt/vc/{bin,sbin}/*
|
|
strip_files ${DEPLOY}/opt/vc/lib/*.so
|
|
strip_files ${DEPLOY}/opt/vc/lib/plugins/*.so
|
|
}
|
|
|
|
check_update() {
|
|
curl --silent -L https://github.com/raspberrypi/firmware/releases | \
|
|
grep -o "[0-9.]\+tar.gz" | sed 's/.tar.gz//g' | \
|
|
verson_find_greatest "$VERSION"
|
|
} |