#!/bin/bash # grab the restool sources that are compatible with # the existing uefi firmware for the honeycomb. # by Brent Earl # tagg="lf-5.10.52-2.1.0" git clone https://github.com/nxp-qoriq/restool.git -b $tagg restool-$tagg (cd restool-$tagg gitrev=$(git log -n 1 --format=format:%h .) git archive --format=tar --prefix=restool-$gitrev/ HEAD | xz -vvze9 > ../restool-$gitrev.tar.gz ) rm -rf restool-$tagg