kernel-module-redpine: force short SHA1 revision length
So it matches what the bitbake recipe expects. https://jira.digi.com/browse/DEL-870 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
6861e5dfcc
commit
6545748379
|
|
@ -60,7 +60,8 @@ tarball:
|
|||
install -m 0644 $${i} $(TAR_DIR)/$$(dirname $${i})/; \
|
||||
done
|
||||
cp -r RS.GENR.LNX.SD_GPL/include $(TAR_DIR)/RS.GENR.LNX.SD_GPL/
|
||||
REV="$$(git rev-parse --short --verify HEAD)"; \
|
||||
# The SHA1 length must match SRCREV_SHORT in bitbake recipe
|
||||
REV="$$(git rev-parse --short=7 --verify HEAD)"; \
|
||||
rm -f redpine-$(DEL_PLATFORM)-$${REV}.tar.gz && \
|
||||
tar cz --transform 's,\(^[^/]\+/\),\1$(DEL_PLATFORM)/,' \
|
||||
--numeric-owner --owner 0 --group 0 -f redpine-$(DEL_PLATFORM)-$${REV}.tar.gz -C $(TAR_DIR) .
|
||||
|
|
|
|||
Loading…
Reference in New Issue