2018-07-15 20:42:31 +02:00
|
|
|
VERSION="1.20180619"
|
2017-12-09 21:51:48 +01:00
|
|
|
SRCDIR="firmware-${VERSION}"
|
2018-02-15 11:33:05 +01:00
|
|
|
TARBALL="${VERSION}.tar.gz"
|
|
|
|
URL="https://github.com/raspberrypi/firmware/archive"
|
2018-07-15 20:42:31 +02:00
|
|
|
SHA256SUM="e657478923220947321503ef980f3a6772d6f1e11b48c5c359bdb5e3d49355d9"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS=""
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
2018-06-17 13:28:18 +02:00
|
|
|
cp -r "$SOURCE/hardfp/opt" "$DEPLOY"
|
2018-06-16 17:46:17 +02:00
|
|
|
cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY"
|
2018-02-19 12:43:22 +01:00
|
|
|
|
|
|
|
strip_files ${DEPLOY}/opt/vc/{bin,sbin}/*
|
|
|
|
strip_files ${DEPLOY}/opt/vc/lib/*.so
|
|
|
|
strip_files ${DEPLOY}/opt/vc/lib/plugins/*.so
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|