package/rockchip-mali: fix hash of generated archive
The "official" repository we used to reference disapeared quite some time ago, so in commit8c25838b53
(package/rockchip-mali: fix build failure due to missing URL) we switched to using a mirror. The tarballs generated on the Github side have a top-level directory that is named "repo-name-HASH", so when we switched to a repository named "libmali" to one named "mirrors", the content of the generated tarball changed, even though the content of the files did not. We can't just change the hash to the new value, or that would conflict with the copy on s.b.o and older versions of Buildroot. So, we drop one char from the commit hash, which eans the tarball name changes, and thus we can calculate a new hash for that tarball, and there will be no conflict with any existing tarball on s.b.o. Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commitf7f2de3da7
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
46ec2b32f7
commit
13967f0963
@ -1,2 +1,2 @@
|
||||
sha256 ee440d859e9d7dfdf29b9a00c7a633337913c407be567d3651c29c12eb75fd9c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e60427.tar.gz
|
||||
sha256 1a291bbd75f317ee9205eb356aed617ac269db166ad6528a1734361cc08f8f7c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e6042.tar.gz
|
||||
sha256 a78acc73de9909efb879800d4daa4640c4aaa55cd751238a133954aba15e4285 END_USER_LICENCE_AGREEMENT.txt
|
||||
|
@ -4,7 +4,15 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427
|
||||
# Full sha1 is 721653b5b3b525a4f80d15aa7e2f9df7b7e60427, but we use the
|
||||
# "mirrors" repository, which names the top-level directory "mirrors-VERSION"
|
||||
# while the original was the "libmali" repository which named the top-level
|
||||
# directory "libmali-VERSION". Hence the content changes, and thus the hash
|
||||
# changes.
|
||||
# To avoid conflict with the old tarball on s.b.o. used by older versions of
|
||||
# Buildroot, we can't use the same filename for the generated archive, so we
|
||||
# drop the last char in the commit hash.
|
||||
ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e6042
|
||||
ROCKCHIP_MALI_SITE = $(call github,JeffyCN,mirrors,$(ROCKCHIP_MALI_VERSION))
|
||||
ROCKCHIP_MALI_LICENSE = Proprietary
|
||||
ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt
|
||||
|
Loading…
Reference in New Issue
Block a user