2018-05-25 14:02:59 +02:00
|
|
|
VERSION="1.20180328"
|
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-05-25 14:02:59 +02:00
|
|
|
SHA256SUM="44731225495bb211353dd86fbead980f8bb62930a3ec6711ed7094aff2397758"
|
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"
|
|
|
|
}
|